Files
govpp-snmp-agentx/go-agentx/request.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() + ")"
}