Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStatsLogger ¶
func NewStatsLogger(config *config.BalancerConfig) *logrus.Logger
Types ¶
type Command ¶
type Command struct { Op CommandOp Service *types.Service Destination *types.Destination Response chan interface{} `json:"-"` }
Command represents a command in raft log
type Engine ¶
type Engine struct { sync.Mutex Ipvs *ipvs.Ipvs State ipvs.State Provider provider.Provider StateCh chan chan error StatsLogger *logrus.Logger }
Engine ...
func (*Engine) CollectStats ¶
Click to show internal directories.
Click to hide internal directories.