agentx
config
go-agentx
marshaler
pdu
value
.gitignore
AUTHORS
LICENSE
README.md
client.go
environment_test.go
go.mod
go.sum
handler.go
helper_test.go
list_handler.go
list_handler_test.go
list_item.go
request.go
session.go
session_test.go
shell.nix
snmpd.conf
ifmib
logger
vppstats
.gitignore
LICENSE
README.md
go.mod
go.sum
main.go
main_test.go
17 lines
373 B
Go
17 lines
373 B
Go
// 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"
|
|
|
|
type request struct {
|
|
headerPacket *pdu.HeaderPacket
|
|
responseChan chan *pdu.HeaderPacket
|
|
}
|
|
|
|
func (r *request) String() string {
|
|
return "(request " + r.headerPacket.String() + ")"
|
|
}
|