Versions in this module Expand all Collapse all v1 v1.0.0 Feb 12, 2026 Changes in this version + const ADDSERVICE + const ADDSERVICEITEM + const ADDSYSTEMTYPE + const AuthTypeBearerToken + const AuthTypeUsernamePassword + const AuthTypeXAuthToken + const CONNFAILED + const CommandQueue + const DELETESERVICE + const DELETESERVICEITEM + const EC + const EventQueue + const GETALLSERVICES + const GETHECCONFIG + const GETLOGIN + const GETSERVICE + const GETSERVICEITEM + const GETSERVICEITEMS + const GETSYSTEMTYPES + const GETVALVESTATE + const IDRAC + const IRC + const LEAKED + const MONITORING + const MSM + const NVLINK + const POWERSTATEOFF + const POWERSTATEON + const RESEND + const RUNNING + const RUNNINGWOTEL + const ReadTimeout + const ReplyPrefix + const SERVICE + const SHUTDOWNFAILED + const SHUTDOWNRECEIVED + const SPLUNKADDHEC + const STARTING + const TELNOTFOUND + const TERMINATE + const UNKNOWN + const UPDATELOGIN + const UPDATESERVICE + const UPDATESERVICEITEM + const UPDATESERVICEX + const UPDATEVALVESTATE + type AuthClientInterface interface + AddService func(service Service) error + AddServiceItem func(si ServiceItem) error + AddSystemType func(sysType string) error + DeleteService func(service Service) error + DeleteServiceItem func(si ServiceItem) error + GetAllServices func() []Service + GetAllSystemTypes func() []SystemType + GetHECConfig func() + GetLogin func() Login + GetService func(ctx context.Context, services chan<- *Service) + GetServiceItemWithIP func(siip string) ServiceItem + GetServiceItems func(sip string) []ServiceItem + GetServiceWithIP func(ip string) Service + ResendAll func() + SplunkAddHEC func(SplunkHttp SplunkConfig) error + UpdateLogin func(l Login) error + UpdateService func(s Service) error + UpdateServiceItem func(si ServiceItem) error + UpdateServiceItemState func(state string, siip string) error + UpdateServiceState func(state string, sip string) error + UpdateServiceX func(s Service) error + UpdateServiceXState func(state string, ip string) error + UpdateValveState func(ip string, state1 string, state2 string) error + type AuthorizationClient struct + func NewAuthorizationClient(bus messagebus.Messagebus, clientName string) *AuthorizationClient + func (ac *AuthorizationClient) AddService(service Service) error + func (ac *AuthorizationClient) AddServiceItem(si ServiceItem) error + func (ac *AuthorizationClient) AddSystemType(sysType string) error + func (ac *AuthorizationClient) DeleteService(service Service) error + func (ac *AuthorizationClient) DeleteServiceItem(si ServiceItem) error + func (ac *AuthorizationClient) GetAllServices() []Service + func (ac *AuthorizationClient) GetAllSystemTypes() []SystemType + func (ac *AuthorizationClient) GetHECConfig() + func (ac *AuthorizationClient) GetLogin() Login + func (ac *AuthorizationClient) GetService(ctx context.Context, services chan<- *Service) + func (ac *AuthorizationClient) GetServiceItemWithIP(siip string) ServiceItem + func (ac *AuthorizationClient) GetServiceItems(sip string) []ServiceItem + func (ac *AuthorizationClient) GetServiceWithIP(ip string) Service + func (ac *AuthorizationClient) GetValveStatus() []ValveState + func (ac *AuthorizationClient) ResendAll() + func (ac *AuthorizationClient) SplunkAddHEC(splunkHttp SplunkConfig) error + func (ac *AuthorizationClient) UpdateLogin(l Login) error + func (ac *AuthorizationClient) UpdateService(s Service) error + func (ac *AuthorizationClient) UpdateServiceItem(si ServiceItem) error + func (ac *AuthorizationClient) UpdateServiceItemState(state string, siip string) error + func (ac *AuthorizationClient) UpdateServiceState(state string, sip string) error + func (ac *AuthorizationClient) UpdateServiceX(s Service) error + func (ac *AuthorizationClient) UpdateServiceXState(state string, ip string) error + func (ac *AuthorizationClient) UpdateValveState(ip string, state1 string, state2 string) error + type AuthorizationService struct + func NewAuthorizationService(bus messagebus.Messagebus) *AuthorizationService + func (as *AuthorizationService) BroadcastService(svc Service) error + type Command struct + Command string + Login Login + ReceiveQueue string + Service Service + ServiceItem ServiceItem + SplunkConfig SplunkConfig + SystemType SystemType + ValveState ValveState + type Login struct + JwtVersion int + Password string + Username string + type Service struct + Auth map[string]string + AuthType int + Ip string + ServiceType int + State string + func (s Service) String() string + type ServiceItem struct + IsForcefulshutdown bool + ServiceIP string + Systemtypedesc string + Timeout int + func (si ServiceItem) String() string + type SplunkConfig struct + Index string + Key string + Url string + type SystemType string + type ValveState struct + Ip string + VState1 string + VState2 string