http

package
v0.0.0-...-ba645fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGatewayRouter

func NewGatewayRouter(h *GatewayHttpHandler) *napnap.Router

func NewPrometheusRouter

func NewPrometheusRouter() *napnap.Router

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 GatewayStatus struct {
	RoomStatus map[string]int
}

type PrometheusMiddleware

type PrometheusMiddleware struct {
	// contains filtered or unexported fields
}

func NewPrometheusMiddleware

func NewPrometheusMiddleware(manager *gateway.Manager) *PrometheusMiddleware

func (*PrometheusMiddleware) Invoke

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL