Versions in this module Expand all Collapse all v1 v1.0.0 Sep 12, 2019 Changes in this version + const GroupDefault + const MsgNotSupported + const UserDefault + func DockerGetContainerIPs(c context.Context, name string) ([]string, error) + type Cache struct + Data []byte + InstanceAlive bool + type CheckAliveFunc func(s *Settings, ctx interface{}) bool + type CheckConfFunc func(s *Settings, ctx interface{}) error + type DiscoveryFunc func(s *Settings, ctx interface{}) (interface{}, error) + type ExporterFunc func(ctx interface{}) ([]byte, error) + type MetricFunc func(s *Settings, ctx interface{}) (string, error) + type Settings struct + CacheRoot string + CacheTTL float64 + CheckAliveAction CheckAliveFunc + CheckConfAction CheckConfFunc + CheckGUIDDisable bool + DiscoveryAction DiscoveryFunc + Exporter ExporterFunc + Group string + MetricAction MetricFunc + User string + func (s *Settings) Action(action string, ctx interface{}) string + func (s *Settings) CacheGet(name string, ctx interface{}, forceUpdate bool) Cache + func (s *Settings) DebugGet() bool + func (s *Settings) DebugPrint(format string, a ...interface{}) + func (s *Settings) DebugSet(toggle bool) Other modules containing this package github.com/nixys/nxs-zbxscr/v2 github.com/nixys/nxs-zbxscr/v3