Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServState = &ServerState{}
Functions ¶
func CompareLastNotifyTime ¶
func GetLastNotifyTimeByID ¶
func InitializeState ¶
func InitializeState() error
func ParseLineAndSendNotify ¶
func UpdateLastNotifyTime ¶
Types ¶
type ServerData ¶
type ServerState ¶
type ServerState struct { StateFile *os.File FileMutex sync.Mutex Srvs ServersState }
type ServersState ¶
type ServersState struct {
Servers []ServerData `yaml:"servers"`
}
Click to show internal directories.
Click to hide internal directories.