Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayRouter ¶
func NewGatewayRouter(h *GatewayHttpHandler) *napnap.Router
func NewPrometheusRouter ¶
Types ¶
type GatewayHttpHandler ¶
type GatewayHttpHandler struct {
// contains filtered or unexported fields
}
func NewGatewayHttpHandler ¶
func NewGatewayHttpHandler(manager *gateway.Manager, dispatcherClient proto.DispatcherServiceClient, routerClient routerProto.RouterServiceClient) *GatewayHttpHandler
type GatewayStatus ¶
type PrometheusMiddleware ¶
type PrometheusMiddleware struct {
// contains filtered or unexported fields
}
func NewPrometheusMiddleware ¶
func NewPrometheusMiddleware(manager *gateway.Manager) *PrometheusMiddleware
func (*PrometheusMiddleware) Invoke ¶
func (m *PrometheusMiddleware) Invoke(c *napnap.Context, next napnap.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.