mirror of
https://github.com/minio/minio.git
synced 2025-12-01 22:02:33 -05:00
Implement a new Donut service on server side
This commit is contained in:
@@ -99,6 +99,7 @@ func getServerRPCHandler() http.Handler {
|
||||
s := jsonrpc.NewServer()
|
||||
s.RegisterCodec(json.NewCodec(), "application/json")
|
||||
s.RegisterService(new(serverRPCService), "Server")
|
||||
s.RegisterService(new(donutRPCService), "Donut")
|
||||
mux := router.NewRouter()
|
||||
mux.Handle("/rpc", s)
|
||||
return mux
|
||||
|
||||
Reference in New Issue
Block a user