Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCServerModule ¶
type GRPCServerModule struct { module.Base Metrics *grpcprom.ServerMetrics // contains filtered or unexported fields }
func NewGRPCServerModule ¶
func NewGRPCServerModule(name string, options *Options) *GRPCServerModule
func (*GRPCServerModule) Cleanup ¶
func (p *GRPCServerModule) Cleanup(_ context.Context)
func (*GRPCServerModule) Configure ¶
func (p *GRPCServerModule) Configure() error
func (*GRPCServerModule) PeriodicTasks ¶
func (p *GRPCServerModule) PeriodicTasks() []*module.TaskConfig
type Options ¶
type Options struct {
ServiceRegistry []RegistryEntry
}
type RegistryEntry ¶
type RegistryEntry struct { ServiceDesc grpc.ServiceDesc Service interface{} }
Click to show internal directories.
Click to hide internal directories.