Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerCommand ¶
NewServerCommand initialize server execution context
Types ¶
type ApiOption ¶
type ApiOption struct { // Profiling enable pprof debug Profiling bool InsecureAddress string InsecurePort string // contains filtered or unexported fields }
ApiOption describe API related data
func (*ApiOption) Init ¶
func (a *ApiOption) Init(ctx *context.CaelusContext) error
Init function init metrics collecting manager
func (*ApiOption) RegisterServer ¶
RegisterServer register API route
Click to show internal directories.
Click to hide internal directories.