Versions in this module Expand all Collapse all v0 v0.4.3 Feb 22, 2025 GO-2026-4576 +1 more GO-2026-4576: osctrl has Stored Cross-Site Scripting (XSS) in On-Demand Query List in github.com/jmpsec/osctrl GO-2026-4579: osctrl is Vulnerable to OS Command Injection via Environment Configuration in github.com/jmpsec/osctrl Changes in this version + type Configuration struct + Host string + Port int + Protocol string + func LoadConfiguration() (Configuration, error) + type Counter struct + Count int + Interval int64 + type Metrics struct + Counters map[string]Counter + Host string + Port int + Protocol string + Ready bool + Tag string + Timeout time.Duration + func CreateMetrics(protocol string, host string, port int, tag string) (*Metrics, error) + func (metrics *Metrics) Connect() error + func (metrics *Metrics) ConnectAndSend(name string, value int) + func (metrics *Metrics) Disconnect() error + func (metrics *Metrics) Inc(name string) + func (metrics *Metrics) Send(name string, value int) error