Documentation ¶
Index ¶
Constants ¶
View Source
const ( Waiting = iota Running )
Variables ¶
View Source
var WrongStateError = errors.New("can not take the operation in the current state")
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func (*Agent) EventProcessGroutine ¶
func (agt *Agent) EventProcessGroutine()
func (*Agent) RegisterCollector ¶
type CollectorsError ¶
type CollectorsError struct {
CollectorErrors []error
}
func (CollectorsError) Error ¶
func (ce CollectorsError) Error() string
type EventReceiver ¶
type EventReceiver interface {
OnEvent(evt Event)
}
Click to show internal directories.
Click to hide internal directories.