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)
Click to show internal directories.
Click to hide internal directories.