Versions in this module Expand all Collapse all v1 v1.9.0 Jan 5, 2015 Changes in this version + const BitString + const Boolean + const Counter32 + const Counter64 + const EndOfContents + const EndOfMibView + const Gauge32 + const IPAddress + const Integer + const NoSuchInstance + const NoSuchObject + const NsapAddress + const Null + const ObjectDescription + const ObjectIdentifier + const OctetString + const Opaque + const TimeTicks + const Uinteger32 + const UnknownType + var Default = &GoSNMP + var LoggingDisabled bool + func Partition(currentPosition, partitionSize, sliceLength int) bool + func ToBigInt(value interface{}) *big.Int + type Asn1BER byte + type BitStringValue struct + BitLength int + Bytes []byte + func (b BitStringValue) At(i int) int + func (b BitStringValue) RightAlign() []byte + type GoSNMP struct + Community string + Conn net.Conn + Logger Logger + MaxRepetitions int + NonRepeaters int + Port uint16 + Retries int + Target string + Timeout time.Duration + Version SnmpVersion + func (x *GoSNMP) BulkWalk(rootOid string, walkFn WalkFunc) error + func (x *GoSNMP) BulkWalkAll(rootOid string) (results []SnmpPDU, err error) + func (x *GoSNMP) Connect() error + func (x *GoSNMP) Get(oids []string) (result *SnmpPacket, err error) + func (x *GoSNMP) GetBulk(oids []string, nonRepeaters uint8, maxRepetitions uint8) (result *SnmpPacket, err error) + func (x *GoSNMP) GetNext(oids []string) (result *SnmpPacket, err error) + func (x *GoSNMP) Set(pdus []SnmpPDU) (result *SnmpPacket, err error) + func (x *GoSNMP) Walk(rootOid string, walkFn WalkFunc) error + func (x *GoSNMP) WalkAll(rootOid string) (results []SnmpPDU, err error) + type Logger interface + Print func(v ...interface{}) + Printf func(format string, v ...interface{}) + type PDUType byte + const GetBulkRequest + const GetNextRequest + const GetRequest + const GetResponse + const Sequence + const SetRequest + const Trap + type SnmpPDU struct + Name string + Type Asn1BER + Value interface{} + type SnmpPacket struct + Community string + Error uint8 + ErrorIndex uint8 + MaxRepetitions uint8 + NonRepeaters uint8 + PDUType PDUType + RequestID uint32 + Variables []SnmpPDU + Version SnmpVersion + type SnmpVersion uint8 + const Version1 + const Version2c + func (s SnmpVersion) String() string + type VarBind struct + Name asn1.ObjectIdentifier + Value asn1.RawValue + type WalkFunc func(dataUnit SnmpPDU) error