Versions in this module Expand all Collapse all v0 v0.4.0 Nov 21, 2020 Changes in this version + var DefaultOpts = ConnectionOpts + func NewConnection(opts *ConnectionOpts) (*grpc.ClientConn, error) + type ConnectionOpts struct + CertPath string + Endpoint string + KeyCertPath string + RootCertPath string + type Elasticsearch struct + Client httpClient + Host string + func (e *Elasticsearch) GetCurrentStatus() uint32 + func (e *Elasticsearch) GetStatuses() []string + type Ping struct + func (p *Ping) GetCurrentStatus() uint32 + func (p *Ping) GetStatuses() []string + type Service struct + Indentifier string + TimeoutSec uint32 + UpdatePeriodSec uint32 + func (a *Service) Run(servicer Servicer, conn *grpc.ClientConn) error + type Servicer interface + GetCurrentStatus func() uint32 + GetStatuses func() []string + type SystemdUnit struct + Connection listUnits + Name string + func (m *SystemdUnit) GetCurrentStatus() uint32 + func (m *SystemdUnit) GetStatuses() []string