Documentation
¶
Index ¶
- Constants
- Variables
- type Result
- type Service
- func (s *Service) Name() string
- func (s *Service) QueueManual(ip string) (Result, error)
- func (s *Service) Restart(ctx context.Context) error
- func (s *Service) Result(ip string) (Result, bool)
- func (s *Service) Start() error
- func (s *Service) Status() service.Status
- func (s *Service) Stop(ctx context.Context) error
- type Tester
Constants ¶
View Source
const ID = "speedtest"
Variables ¶
View Source
var ErrAlreadyRunning = errors.New("speed test is already running")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) QueueManual ¶
QueueManual adds one node requested by an authenticated API user. Refresh, health-check, and connection workflows must not enqueue speed tests.
Click to show internal directories.
Click to hide internal directories.