Versions in this module Expand all Collapse all v1 v1.0.1 Feb 9, 2023 v1.0.0 Jan 20, 2023 Changes in this version + type Config struct + Services []Service + Storage Storage + Telegram Telegram + func GetConfig() Config + type HTTPGet struct + HTTPHeaders HTTPHeaders + Path string + Scheme string + func (h HTTPGet) ApplyDefaultsAndValidate() (HTTPGet, error) + func (s HTTPGet) IsEmpty() bool + type HTTPHeader struct + Name string + Value string + type HTTPHeaders []HTTPHeader + func (h HTTPHeaders) ToMap() map[string][]string + type Redis struct + DB int + Host string + Password string + Port int + type Service struct + FailureThreshold int + HTTPGet HTTPGet + Id string + InitialDelaySeconds int + Name string + PeriodSeconds int + SuccessThreshold int + TCPSocket TCPSocket + TimeoutSeconds int + func (s Service) ApplyDefaultsAndValidate() (svc Service, err error) + type Storage struct + Redis Redis + type TCPSocket struct + Host string + Port uint16 + func (s TCPSocket) IsEmpty() bool + type Telegram struct + ChatID int64 + Debug bool + Token string + WebhookURL string