Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct { Server *web.Service Nodes []*node.Node //Global middleware Middleware []func(next http.Handler) http.Handler Wraps []func(next http.Handler) http.Handler Actions map[string]map[string]node.Handler // Port Defines the listening TCP Port for this when started Ports struct { API int Swagger int } }
func (*API) MountRoutes ¶
Click to show internal directories.
Click to hide internal directories.