Documentation ¶
Overview ¶
Package pb holds only Protocol Buffer definitions and generated code.
Index ¶
- Variables
- type Path
- func (*Path) Descriptor() ([]byte, []int)
- func (m *Path) GetItem() [][]byte
- func (m *Path) GetSign() []byte
- func (m *Path) Marshal() (dAtA []byte, err error)
- func (m *Path) MarshalTo(dAtA []byte) (int, error)
- func (m *Path) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Path) ProtoMessage()
- func (m *Path) Reset()
- func (m *Path) Size() (n int)
- func (m *Path) String() string
- func (m *Path) Unmarshal(dAtA []byte) error
- func (m *Path) XXX_DiscardUnknown()
- func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Path) XXX_Merge(src proto.Message)
- func (m *Path) XXX_Size() int
- func (m *Path) XXX_Unmarshal(b []byte) error
- type RouteReq
- func (*RouteReq) Descriptor() ([]byte, []int)
- func (m *RouteReq) GetAlpha() int32
- func (m *RouteReq) GetDest() []byte
- func (m *RouteReq) GetPath() *Path
- func (m *RouteReq) Marshal() (dAtA []byte, err error)
- func (m *RouteReq) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteReq) ProtoMessage()
- func (m *RouteReq) Reset()
- func (m *RouteReq) Size() (n int)
- func (m *RouteReq) String() string
- func (m *RouteReq) Unmarshal(dAtA []byte) error
- func (m *RouteReq) XXX_DiscardUnknown()
- func (m *RouteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteReq) XXX_Merge(src proto.Message)
- func (m *RouteReq) XXX_Size() int
- func (m *RouteReq) XXX_Unmarshal(b []byte) error
- type RouteResp
- func (*RouteResp) Descriptor() ([]byte, []int)
- func (m *RouteResp) GetDest() []byte
- func (m *RouteResp) GetPaths() []*Path
- func (m *RouteResp) Marshal() (dAtA []byte, err error)
- func (m *RouteResp) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteResp) ProtoMessage()
- func (m *RouteResp) Reset()
- func (m *RouteResp) Size() (n int)
- func (m *RouteResp) String() string
- func (m *RouteResp) Unmarshal(dAtA []byte) error
- func (m *RouteResp) XXX_DiscardUnknown()
- func (m *RouteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteResp) XXX_Merge(src proto.Message)
- func (m *RouteResp) XXX_Size() int
- func (m *RouteResp) XXX_Unmarshal(b []byte) error
- type UnderlayReq
- func (*UnderlayReq) Descriptor() ([]byte, []int)
- func (m *UnderlayReq) GetDest() []byte
- func (m *UnderlayReq) GetSign() []byte
- func (m *UnderlayReq) Marshal() (dAtA []byte, err error)
- func (m *UnderlayReq) MarshalTo(dAtA []byte) (int, error)
- func (m *UnderlayReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnderlayReq) ProtoMessage()
- func (m *UnderlayReq) Reset()
- func (m *UnderlayReq) Size() (n int)
- func (m *UnderlayReq) String() string
- func (m *UnderlayReq) Unmarshal(dAtA []byte) error
- func (m *UnderlayReq) XXX_DiscardUnknown()
- func (m *UnderlayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnderlayReq) XXX_Merge(src proto.Message)
- func (m *UnderlayReq) XXX_Size() int
- func (m *UnderlayReq) XXX_Unmarshal(b []byte) error
- type UnderlayResp
- func (*UnderlayResp) Descriptor() ([]byte, []int)
- func (m *UnderlayResp) GetDest() []byte
- func (m *UnderlayResp) GetSignature() []byte
- func (m *UnderlayResp) GetUnderlay() []byte
- func (m *UnderlayResp) Marshal() (dAtA []byte, err error)
- func (m *UnderlayResp) MarshalTo(dAtA []byte) (int, error)
- func (m *UnderlayResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnderlayResp) ProtoMessage()
- func (m *UnderlayResp) Reset()
- func (m *UnderlayResp) Size() (n int)
- func (m *UnderlayResp) String() string
- func (m *UnderlayResp) Unmarshal(dAtA []byte) error
- func (m *UnderlayResp) XXX_DiscardUnknown()
- func (m *UnderlayResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnderlayResp) XXX_Merge(src proto.Message)
- func (m *UnderlayResp) XXX_Size() int
- func (m *UnderlayResp) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Path ¶ added in v1.0.9
type Path struct { Sign []byte `protobuf:"bytes,1,opt,name=Sign,proto3" json:"Sign,omitempty"` Item [][]byte `protobuf:"bytes,2,rep,name=Item,proto3" json:"Item,omitempty"` }
func (*Path) Descriptor ¶ added in v1.0.9
func (*Path) MarshalToSizedBuffer ¶ added in v1.0.9
func (*Path) ProtoMessage ¶ added in v1.0.9
func (*Path) ProtoMessage()
func (*Path) XXX_DiscardUnknown ¶ added in v1.0.9
func (m *Path) XXX_DiscardUnknown()
func (*Path) XXX_Marshal ¶ added in v1.0.9
func (*Path) XXX_Unmarshal ¶ added in v1.0.9
type RouteReq ¶ added in v1.0.9
type RouteReq struct { Dest []byte `protobuf:"bytes,1,opt,name=Dest,proto3" json:"Dest,omitempty"` Alpha int32 `protobuf:"varint,2,opt,name=Alpha,proto3" json:"Alpha,omitempty"` Path *Path `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"` }
func (*RouteReq) Descriptor ¶ added in v1.0.9
func (*RouteReq) MarshalToSizedBuffer ¶ added in v1.0.9
func (*RouteReq) ProtoMessage ¶ added in v1.0.9
func (*RouteReq) ProtoMessage()
func (*RouteReq) XXX_DiscardUnknown ¶ added in v1.0.9
func (m *RouteReq) XXX_DiscardUnknown()
func (*RouteReq) XXX_Marshal ¶ added in v1.0.9
func (*RouteReq) XXX_Unmarshal ¶ added in v1.0.9
type RouteResp ¶ added in v1.0.9
type RouteResp struct { Dest []byte `protobuf:"bytes,1,opt,name=Dest,proto3" json:"Dest,omitempty"` Paths []*Path `protobuf:"bytes,2,rep,name=Paths,proto3" json:"Paths,omitempty"` }
func (*RouteResp) Descriptor ¶ added in v1.0.9
func (*RouteResp) MarshalToSizedBuffer ¶ added in v1.0.9
func (*RouteResp) ProtoMessage ¶ added in v1.0.9
func (*RouteResp) ProtoMessage()
func (*RouteResp) XXX_DiscardUnknown ¶ added in v1.0.9
func (m *RouteResp) XXX_DiscardUnknown()
func (*RouteResp) XXX_Marshal ¶ added in v1.0.9
func (*RouteResp) XXX_Unmarshal ¶ added in v1.0.9
type UnderlayReq ¶ added in v1.0.9
type UnderlayReq struct { Dest []byte `protobuf:"bytes,1,opt,name=Dest,proto3" json:"Dest,omitempty"` Sign []byte `protobuf:"bytes,2,opt,name=Sign,proto3" json:"Sign,omitempty"` }
func (*UnderlayReq) Descriptor ¶ added in v1.0.9
func (*UnderlayReq) Descriptor() ([]byte, []int)
func (*UnderlayReq) GetDest ¶ added in v1.0.9
func (m *UnderlayReq) GetDest() []byte
func (*UnderlayReq) GetSign ¶ added in v1.0.9
func (m *UnderlayReq) GetSign() []byte
func (*UnderlayReq) Marshal ¶ added in v1.0.9
func (m *UnderlayReq) Marshal() (dAtA []byte, err error)
func (*UnderlayReq) MarshalTo ¶ added in v1.0.9
func (m *UnderlayReq) MarshalTo(dAtA []byte) (int, error)
func (*UnderlayReq) MarshalToSizedBuffer ¶ added in v1.0.9
func (m *UnderlayReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnderlayReq) ProtoMessage ¶ added in v1.0.9
func (*UnderlayReq) ProtoMessage()
func (*UnderlayReq) Reset ¶ added in v1.0.9
func (m *UnderlayReq) Reset()
func (*UnderlayReq) Size ¶ added in v1.0.9
func (m *UnderlayReq) Size() (n int)
func (*UnderlayReq) String ¶ added in v1.0.9
func (m *UnderlayReq) String() string
func (*UnderlayReq) Unmarshal ¶ added in v1.0.9
func (m *UnderlayReq) Unmarshal(dAtA []byte) error
func (*UnderlayReq) XXX_DiscardUnknown ¶ added in v1.0.9
func (m *UnderlayReq) XXX_DiscardUnknown()
func (*UnderlayReq) XXX_Marshal ¶ added in v1.0.9
func (m *UnderlayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnderlayReq) XXX_Merge ¶ added in v1.0.9
func (m *UnderlayReq) XXX_Merge(src proto.Message)
func (*UnderlayReq) XXX_Size ¶ added in v1.0.9
func (m *UnderlayReq) XXX_Size() int
func (*UnderlayReq) XXX_Unmarshal ¶ added in v1.0.9
func (m *UnderlayReq) XXX_Unmarshal(b []byte) error
type UnderlayResp ¶ added in v1.0.9
type UnderlayResp struct { Dest []byte `protobuf:"bytes,1,opt,name=Dest,proto3" json:"Dest,omitempty"` Underlay []byte `protobuf:"bytes,2,opt,name=Underlay,proto3" json:"Underlay,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=Signature,proto3" json:"Signature,omitempty"` }
func (*UnderlayResp) Descriptor ¶ added in v1.0.9
func (*UnderlayResp) Descriptor() ([]byte, []int)
func (*UnderlayResp) GetDest ¶ added in v1.0.9
func (m *UnderlayResp) GetDest() []byte
func (*UnderlayResp) GetSignature ¶ added in v1.0.9
func (m *UnderlayResp) GetSignature() []byte
func (*UnderlayResp) GetUnderlay ¶ added in v1.0.9
func (m *UnderlayResp) GetUnderlay() []byte
func (*UnderlayResp) Marshal ¶ added in v1.0.9
func (m *UnderlayResp) Marshal() (dAtA []byte, err error)
func (*UnderlayResp) MarshalTo ¶ added in v1.0.9
func (m *UnderlayResp) MarshalTo(dAtA []byte) (int, error)
func (*UnderlayResp) MarshalToSizedBuffer ¶ added in v1.0.9
func (m *UnderlayResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnderlayResp) ProtoMessage ¶ added in v1.0.9
func (*UnderlayResp) ProtoMessage()
func (*UnderlayResp) Reset ¶ added in v1.0.9
func (m *UnderlayResp) Reset()
func (*UnderlayResp) Size ¶ added in v1.0.9
func (m *UnderlayResp) Size() (n int)
func (*UnderlayResp) String ¶ added in v1.0.9
func (m *UnderlayResp) String() string
func (*UnderlayResp) Unmarshal ¶ added in v1.0.9
func (m *UnderlayResp) Unmarshal(dAtA []byte) error
func (*UnderlayResp) XXX_DiscardUnknown ¶ added in v1.0.9
func (m *UnderlayResp) XXX_DiscardUnknown()
func (*UnderlayResp) XXX_Marshal ¶ added in v1.0.9
func (m *UnderlayResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnderlayResp) XXX_Merge ¶ added in v1.0.9
func (m *UnderlayResp) XXX_Merge(src proto.Message)
func (*UnderlayResp) XXX_Size ¶ added in v1.0.9
func (m *UnderlayResp) XXX_Size() int
func (*UnderlayResp) XXX_Unmarshal ¶ added in v1.0.9
func (m *UnderlayResp) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.