package
0.5.12
Repository: https://github.com/anyproto/any-sync.git
Documentation: pkg.go.dev

# Packages

Package mock_peer is a generated GoMock package.

# Functions

CtxIdentity returns identity from context.
CtxPeerAddr returns peer address.
CtxPeerClientVersion returns peer client version.
CtxPeerId first tries to get peer id under our own key, but if it is not found tries to get through DRPC key.
CtxProtoVersion returns peer protocol version.
CtxPubKey returns identity unmarshalled from proto in crypto.PubKey model.
CtxWithClientVersion sets peer clientVersion to the context.
CtxWithIdentity sets identity in the context.
CtxWithPeerAddr sets peer address to the context.
CtxWithPeerId sets peer id in the context.
CtxWithProtoVersion sets peer protocol version.
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author