sostatus

package
v0.0.0-...-e81be6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_OFFLINE_THRESHOLD_MS = 60000
View Source
const DEFAULT_REFRESH_INTERVAL_MS = 30000

Variables

This section is empty.

Functions

This section is empty.

Types

type SoStatus

type SoStatus struct {
	// contains filtered or unexported fields
}

func NewSoStatus

func NewSoStatus(srv *server.Server) *SoStatus

func (*SoStatus) Init

func (status *SoStatus) Init(cfg module.ModuleConfig) error

func (*SoStatus) IsRunning

func (status *SoStatus) IsRunning() bool

func (*SoStatus) PrerequisiteModules

func (status *SoStatus) PrerequisiteModules() []string

func (*SoStatus) Refresh

func (status *SoStatus) Refresh(ctx context.Context)

func (*SoStatus) Start

func (status *SoStatus) Start() error

func (*SoStatus) Stop

func (status *SoStatus) Stop() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL