Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APIRPCSet = wire.NewSet(wire.Struct(new(HandlerRPC), "*"), wire.Bind(new(APIRPC), new(*HandlerRPC)))
Functions ¶
This section is empty.
Types ¶
type HandlerRPC ¶
type HandlerRPC struct { PrometheusRegistry *prometheus.Registry MiddlewareRPC *middleware_rpc.MiddlewareRPC BusinessRPC *business.BusinessStatsArticle }
func (*HandlerRPC) MetricsHandler ¶
func (h *HandlerRPC) MetricsHandler(w http.ResponseWriter, r *http.Request)
func (*HandlerRPC) Register ¶
func (h *HandlerRPC) Register() *grpc.Server
Click to show internal directories.
Click to hide internal directories.