Documentation ¶
Index ¶
- Variables
- func NewChecker(c1 *data.Data, etcd *adapter.Etcd, agent *service.AgentService) []health.Checker
- func NewGRPCServer(c *conf.Server, agent *service.AgentService, logger log.Logger) *grpc.Server
- func NewHTTPServer(c *conf.Server, agent *service.AgentService, logger log.Logger) *http.Server
- func NewRegistryConfig(bc *conf.Bootstrap) *protobuf.Registry
- func NewTracingConfig(bc *conf.Bootstrap) *protobuf.Tracing
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewGRPCServer, NewHTTPServer, NewRegistryConfig, NewChecker, registry.NewEtcd, registry.NewRegistrar, registry.NewDiscovery, health.NewServer, adapter.NewETCDChecker, cluster.NewClients, )
ProviderSet is server providers.
Functions ¶
func NewChecker ¶
func NewGRPCServer ¶
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
NewHTTPServer new an HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.