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 Handler ¶
type Handler struct { Middleware *middleware.Middleware HandlerUser *handler.HandlerUser PrometheusRegistry *prometheus.Registry }
func (*Handler) GetNoRoute ¶
func (*Handler) HealthHandler ¶
func (*Handler) MetricsHandler ¶
type HandlerRPC ¶
type HandlerRPC struct { PrometheusRegistry *prometheus.Registry MiddlewareRPC *middleware_rpc.MiddlewareRPC }
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.