package pb

Import Path
	github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/pb (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 5 packages

Involved Source Files circuit.pb.go voucher.pb.go
Package-Level Type Names (total 9)
/* sort by: | */
Limit *Limit Peer *Peer Reservation *Reservation Status *Status This field is marked optional for backwards compatibility with proto2. Users should make sure to always set this. Deprecated: Use HopMessage.ProtoReflect.Descriptor instead. (*HopMessage) GetLimit() *Limit (*HopMessage) GetPeer() *Peer (*HopMessage) GetReservation() *Reservation (*HopMessage) GetStatus() Status (*HopMessage) GetType() HopMessage_Type (*HopMessage) ProtoMessage() (*HopMessage) ProtoReflect() protoreflect.Message (*HopMessage) Reset() (*HopMessage) String() string *HopMessage : github.com/gogo/protobuf/proto.Message *HopMessage : expvar.Var *HopMessage : fmt.Stringer *HopMessage : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *HopMessage : google.golang.org/protobuf/runtime/protoiface.MessageV1
( HopMessage_Type) Descriptor() protoreflect.EnumDescriptor ( HopMessage_Type) Enum() *HopMessage_Type Deprecated: Use HopMessage_Type.Descriptor instead. ( HopMessage_Type) Number() protoreflect.EnumNumber ( HopMessage_Type) String() string ( HopMessage_Type) Type() protoreflect.EnumType HopMessage_Type : expvar.Var HopMessage_Type : fmt.Stringer HopMessage_Type : google.golang.org/protobuf/reflect/protoreflect.Enum func (*HopMessage).GetType() HopMessage_Type func HopMessage_Type.Enum() *HopMessage_Type const HopMessage_CONNECT const HopMessage_RESERVE const HopMessage_STATUS
// bytes // seconds Deprecated: Use Limit.ProtoReflect.Descriptor instead. (*Limit) GetData() uint64 (*Limit) GetDuration() uint32 (*Limit) ProtoMessage() (*Limit) ProtoReflect() protoreflect.Message (*Limit) Reset() (*Limit) String() string *Limit : github.com/gogo/protobuf/proto.Message *Limit : expvar.Var *Limit : fmt.Stringer *Limit : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *Limit : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*HopMessage).GetLimit() *Limit func (*StopMessage).GetLimit() *Limit
Addrs [][]byte This field is marked optional for backwards compatibility with proto2. Users should make sure to always set this. Deprecated: Use Peer.ProtoReflect.Descriptor instead. (*Peer) GetAddrs() [][]byte (*Peer) GetId() []byte (*Peer) ProtoMessage() (*Peer) ProtoReflect() protoreflect.Message (*Peer) Reset() (*Peer) String() string *Peer : github.com/gogo/protobuf/proto.Message *Peer : expvar.Var *Peer : fmt.Stringer *Peer : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *Peer : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*HopMessage).GetPeer() *Peer func (*StopMessage).GetPeer() *Peer func github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/util.PeerInfoToPeerV2(pi peer.AddrInfo) *Peer func github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/util.PeerToPeerInfoV2(p *Peer) (peer.AddrInfo, error)
// relay addrs for reserving peer This field is marked optional for backwards compatibility with proto2. Users should make sure to always set this. // Unix expiration time (UTC) // reservation voucher Deprecated: Use Reservation.ProtoReflect.Descriptor instead. (*Reservation) GetAddrs() [][]byte (*Reservation) GetExpire() uint64 (*Reservation) GetVoucher() []byte (*Reservation) ProtoMessage() (*Reservation) ProtoReflect() protoreflect.Message (*Reservation) Reset() (*Reservation) String() string *Reservation : github.com/gogo/protobuf/proto.Message *Reservation : expvar.Var *Reservation : fmt.Stringer *Reservation : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *Reservation : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*HopMessage).GetReservation() *Reservation
Expiration *uint64 Peer []byte These fields are marked optional for backwards compatibility with proto2. Users should make sure to always set these. Deprecated: Use ReservationVoucher.ProtoReflect.Descriptor instead. (*ReservationVoucher) GetExpiration() uint64 (*ReservationVoucher) GetPeer() []byte (*ReservationVoucher) GetRelay() []byte (*ReservationVoucher) ProtoMessage() (*ReservationVoucher) ProtoReflect() protoreflect.Message (*ReservationVoucher) Reset() (*ReservationVoucher) String() string *ReservationVoucher : github.com/gogo/protobuf/proto.Message *ReservationVoucher : expvar.Var *ReservationVoucher : fmt.Stringer *ReservationVoucher : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *ReservationVoucher : google.golang.org/protobuf/runtime/protoiface.MessageV1
( Status) Descriptor() protoreflect.EnumDescriptor ( Status) Enum() *Status Deprecated: Use Status.Descriptor instead. ( Status) Number() protoreflect.EnumNumber ( Status) String() string ( Status) Type() protoreflect.EnumType Status : expvar.Var Status : fmt.Stringer Status : google.golang.org/protobuf/reflect/protoreflect.Enum func (*HopMessage).GetStatus() Status func Status.Enum() *Status func (*StopMessage).GetStatus() Status func github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/relay.MetricsTracer.ConnectionRequestHandled(status Status) func github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/relay.MetricsTracer.ReservationRequestHandled(status Status) const Status_CONNECTION_FAILED const Status_MALFORMED_MESSAGE const Status_NO_RESERVATION const Status_OK const Status_PERMISSION_DENIED const Status_RESERVATION_REFUSED const Status_RESOURCE_LIMIT_EXCEEDED const Status_UNEXPECTED_MESSAGE const Status_UNUSED
Limit *Limit Peer *Peer Status *Status This field is marked optional for backwards compatibility with proto2. Users should make sure to always set this. Deprecated: Use StopMessage.ProtoReflect.Descriptor instead. (*StopMessage) GetLimit() *Limit (*StopMessage) GetPeer() *Peer (*StopMessage) GetStatus() Status (*StopMessage) GetType() StopMessage_Type (*StopMessage) ProtoMessage() (*StopMessage) ProtoReflect() protoreflect.Message (*StopMessage) Reset() (*StopMessage) String() string *StopMessage : github.com/gogo/protobuf/proto.Message *StopMessage : expvar.Var *StopMessage : fmt.Stringer *StopMessage : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *StopMessage : google.golang.org/protobuf/runtime/protoiface.MessageV1
( StopMessage_Type) Descriptor() protoreflect.EnumDescriptor ( StopMessage_Type) Enum() *StopMessage_Type Deprecated: Use StopMessage_Type.Descriptor instead. ( StopMessage_Type) Number() protoreflect.EnumNumber ( StopMessage_Type) String() string ( StopMessage_Type) Type() protoreflect.EnumType StopMessage_Type : expvar.Var StopMessage_Type : fmt.Stringer StopMessage_Type : google.golang.org/protobuf/reflect/protoreflect.Enum func (*StopMessage).GetType() StopMessage_Type func StopMessage_Type.Enum() *StopMessage_Type const StopMessage_CONNECT const StopMessage_STATUS
Package-Level Variables (total 8)
Enum value maps for HopMessage_Type.
Enum value maps for HopMessage_Type.
Enum value maps for Status.
Enum value maps for Status.
Enum value maps for StopMessage_Type.
Enum value maps for StopMessage_Type.