Temporarily add go-agentx (w/ fixes to lexico ordering)
This commit is contained in:
17
go-agentx/handler.go
Normal file
17
go-agentx/handler.go
Normal file
@ -0,0 +1,17 @@
|
||||
// Copyright 2018 The agentx authors
|
||||
// Licensed under the LGPLv3 with static-linking exception.
|
||||
// See LICENCE file for details.
|
||||
|
||||
package agentx
|
||||
|
||||
import (
|
||||
"github.com/posteo/go-agentx/pdu"
|
||||
"github.com/posteo/go-agentx/value"
|
||||
)
|
||||
|
||||
// Handler defines an interface for a handler of events that
|
||||
// might occure during a session.
|
||||
type Handler interface {
|
||||
Get(value.OID) (value.OID, pdu.VariableType, interface{}, error)
|
||||
GetNext(value.OID, bool, value.OID) (value.OID, pdu.VariableType, interface{}, error)
|
||||
}
|
Reference in New Issue
Block a user