Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Name string `json:"name"`
Lock bool `json:"lock"`
Token []string `json:"token,omitempty"`
Generator generator.Generator `json:"generator,omitempty"`
}
API represents an API access point
type Instance ¶
Instance is a structure that stores the router
func (*Instance) SetupRouter ¶
func (i *Instance) SetupRouter()
SetupRouter uses mux to setup up routing paths for endpoints /health for health endpoints (liveness probe intended) /ready for readiness probes /reload for dynamic configuration reloads
Click to show internal directories.
Click to hide internal directories.