Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CorsHeaders []string
CorsMethods []string
// Hosts is a list of addresses for the API.
Hosts []string
}
Config provides the API server configuration
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) SetupRouter ¶
func (r *Router) SetupRouter(scaleservice *scaleservice.ScaleService) http.Handler
SetupRouter initializes the main router the API server uses.
func (*Router) SetupSvcConn ¶
Click to show internal directories.
Click to hide internal directories.