snmptest

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTrapServer

func NewTrapServer(address string, listener snmpgo.TrapListener) *snmpgo.TrapServer

NewTrapServer creates a new Trap Server & Serve

Types

type TrapSender

type TrapSender struct {
	Address string
	// contains filtered or unexported fields
}

func NewTrapSender

func NewTrapSender(t *testing.T, address string) *TrapSender

func (*TrapSender) SendV2TrapWithBindings

func (t *TrapSender) SendV2TrapWithBindings(trap bool, community string, v snmpgo.VarBinds)

func (*TrapSender) SendV3TrapWithBindings

func (t *TrapSender) SendV3TrapWithBindings(v snmpgo.VarBinds, l snmpgo.SecurityLevel, eid string, eBoots, eTime int)

Jump to

Keyboard shortcuts

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