Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRESTAuth ¶ added in v0.3.0
func ApplyRESTAuth(api *rest.Api, cfg *config.RestAPIConfig)
ApplyRESTAuth registers Basic auth when restapi.authentication.username is set.
Types ¶
type Admin ¶
type Admin struct {
// contains filtered or unexported fields
}
Admin serves the HTTP REST API (L1 shell).
func NewAdmin ¶
NewAdmin creates the REST admin server. cfg must be non-nil when EnableAPIs is true.
Click to show internal directories.
Click to hide internal directories.