Temporarily add go-agentx (w/ fixes to lexico ordering)
This commit is contained in:
go-agentx
.gitignoreAUTHORSLICENSEREADME.mdclient.goenvironment_test.gogo.modgo.sumhandler.gohelper_test.golist_handler.golist_handler_test.golist_item.go
marshaler
pdu
allocate_index.goclose.godeallocate_index.goerror.goflags.goget.goget_next.goheader.goheader_packet.goobject_identifier.gooctet_string.goopen.gopacket.gorange.goranges.goreason.goregister.goresponse.gotimeout.gotype.gounregister.govariable.govariable_type.govariables.go
request.gosession.gosession_test.goshell.nixsnmpd.confvalue
16
go-agentx/request.go
Normal file
16
go-agentx/request.go
Normal file
@ -0,0 +1,16 @@
|
||||
// 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() + ")"
|
||||
}
|
Reference in New Issue
Block a user