Documentation ¶
Index ¶
- Variables
- type Face
- func (f *Face) Close() error
- func (f *Face) ExpressInterest(i *packets.Interest) (*pendingInterest, error)
- func (f *Face) ProcessEvents() error
- func (f *Face) Put(d *packets.Data) error
- func (f *Face) RegisterPrefix(prefix name.Name) (<-chan *packets.Interest, error)
- func (f *Face) RemovePendingInterest(id uint64)
- func (f *Face) SetCommandSigningInfo(keyChain *KeyChain, certificateName name.Name)
- type InterestFilter
- type KeyChain
- type PrefixInterestFilter
- type Transport
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCertificateNotFound = errors.New("certificate not found")
View Source
var ErrCommandCertificateNameNotSet = errors.New("registerPrefix: The command certificate name has not been set. You must call setCommandSigningInfo.")
View Source
var ErrCommandKeyChainNotSet = errors.New("registerPrefix: The command KeyChain has not been set. You must call setCommandSigningInfo.")
View Source
var ErrInvalidPacket = errors.New("invalid packet received")
View Source
var ErrNameRequired = errors.New("name is required")
View Source
var ErrUnexpectedEventTypeReceived = errors.New("unexpected event type received")
View Source
var PacketTooLargeError = errors.New("Packet size exceeds maximum limit")
Functions ¶
This section is empty.
Types ¶
type Face ¶
type Face struct {
// contains filtered or unexported fields
}
func NewTCPFace ¶
func (*Face) ExpressInterest ¶
func (*Face) ProcessEvents ¶
func (*Face) RegisterPrefix ¶
func (*Face) RemovePendingInterest ¶
type InterestFilter ¶
type PrefixInterestFilter ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.