Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerCommand ¶
NewServerCommand construct server execution context
Types ¶
type ApiOption ¶
type ApiOption struct {
Profiling bool
InsecureAddress string
InsecurePort string
EnableCadvisor bool
}
ApiOption describe API related data
func (*ApiOption) RegisterServerAndListen ¶
RegisterServer register API route and start listening
Click to show internal directories.
Click to hide internal directories.