Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface { graceful.ShutdownServer RegisterCollectors(collectors ...prometheus.Collector) error MustRegisterCollectors(collectors ...prometheus.Collector) GrpcMetricsUnaryServerInterceptor() func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) GrpcMetricsStramServerInterceptor() func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error WebMetricsMiddleware() gin.HandlerFunc }
Server -
func MustNewServer ¶
func MustNewServer(config *nconf.Config, opt ...ServerOption) Server
MustNewServer -
Click to show internal directories.
Click to hide internal directories.