Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGRPCServer, NewHTTPServer)
ProviderSet is server providers.
Functions ¶
func NewGRPCServer ¶
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer(c *conf.Server, greeter *service.GreeterService, p2pService *service.P2pService, vmService *service.VmService, computePowerService *service.ComputePowerService, agentService *agent.AgentService, vmWebsocketHandler *service.VmWebsocketHandler, logger log.Logger) *http.Server
NewHTTPServer new an HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.