snmp

package
v0.0.0-...-099f623 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SNMP

type SNMP struct {
	GoSNMP *g.GoSNMP
}

func (*SNMP) Get

func (snmp *SNMP) Get(oid string) (res g.SnmpPDU, err error)

func (*SNMP) GetFloat64

func (snmp *SNMP) GetFloat64(oid string) (res float64, err error)

func (*SNMP) GetInt64

func (snmp *SNMP) GetInt64(oid string) (res int64, err error)

func (*SNMP) GetString

func (snmp *SNMP) GetString(oid string) (res string, err error)

func (*SNMP) GetTimeDuration

func (snmp *SNMP) GetTimeDuration(oid string) (res time.Duration, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL