Documentation ¶
Index ¶
- Constants
- type Sources
- type Stat
- type Stats
- func (s *Stats) Finish(source int, err error)
- func (s *Stats) HttpGet(_ *http.Request) (interface{}, error)
- func (s *Stats) Launch(source int)
- func (s *Stats) LaunchAnticipated(source, count int)
- func (s *Stats) MarshalBinary() ([]byte, error)
- func (s *Stats) Snapshot() Sources
- func (s *Stats) Start(ctx app.Context)
- func (s *Stats) UnmarshalBinary(data []byte) error
- func (s *Stats) Update(source int, state increment)
Constants ¶
View Source
const ( Idle state = "idle" Running state = "running" Failed state = "failed" )
View Source
const ( Launched increment = iota Scheduled Ignored Probing New Timeout Blacklisted Found Finished )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sources ¶
func (Sources) LastUpdated ¶
type Stat ¶
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func (*Stats) LaunchAnticipated ¶
func (*Stats) MarshalBinary ¶
func (*Stats) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.