Documentation ¶
Overview ¶
Package pb holds only Protocol Buffer definitions and generated code.
Index ¶
- Variables
- type Path
- func (*Path) Descriptor() ([]byte, []int)
- func (m *Path) GetBodys() [][]byte
- func (m *Path) GetItems() [][]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 RouteRelayReq
- func (*RouteRelayReq) Descriptor() ([]byte, []int)
- func (m *RouteRelayReq) GetData() []byte
- func (m *RouteRelayReq) GetDest() []byte
- func (m *RouteRelayReq) GetMidCall() bool
- func (m *RouteRelayReq) GetPaths() [][]byte
- func (m *RouteRelayReq) GetProtocolName() []byte
- func (m *RouteRelayReq) GetProtocolVersion() []byte
- func (m *RouteRelayReq) GetSrc() []byte
- func (m *RouteRelayReq) GetSrcMode() []byte
- func (m *RouteRelayReq) GetStreamName() []byte
- func (m *RouteRelayReq) Marshal() (dAtA []byte, err error)
- func (m *RouteRelayReq) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteRelayReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteRelayReq) ProtoMessage()
- func (m *RouteRelayReq) Reset()
- func (m *RouteRelayReq) Size() (n int)
- func (m *RouteRelayReq) String() string
- func (m *RouteRelayReq) Unmarshal(dAtA []byte) error
- func (m *RouteRelayReq) XXX_DiscardUnknown()
- func (m *RouteRelayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteRelayReq) XXX_Merge(src proto.Message)
- func (m *RouteRelayReq) XXX_Size() int
- func (m *RouteRelayReq) XXX_Unmarshal(b []byte) error
- type RouteRelayResp
- func (*RouteRelayResp) Descriptor() ([]byte, []int)
- func (m *RouteRelayResp) GetData() []byte
- func (m *RouteRelayResp) Marshal() (dAtA []byte, err error)
- func (m *RouteRelayResp) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteRelayResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteRelayResp) ProtoMessage()
- func (m *RouteRelayResp) Reset()
- func (m *RouteRelayResp) Size() (n int)
- func (m *RouteRelayResp) String() string
- func (m *RouteRelayResp) Unmarshal(dAtA []byte) error
- func (m *RouteRelayResp) XXX_DiscardUnknown()
- func (m *RouteRelayResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteRelayResp) XXX_Merge(src proto.Message)
- func (m *RouteRelayResp) XXX_Size() int
- func (m *RouteRelayResp) 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) GetPaths() []*Path
- func (m *RouteReq) GetUList() []*UnderlayResp
- func (m *RouteReq) GetUType() int32
- 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) GetUList() []*UnderlayResp
- func (m *RouteResp) GetUType() int32
- 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) 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"` Bodys [][]byte `protobuf:"bytes,2,rep,name=Bodys,proto3" json:"Bodys,omitempty"` Items [][]byte `protobuf:"bytes,3,rep,name=Items,proto3" json:"Items,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 RouteRelayReq ¶ added in v1.2.0
type RouteRelayReq struct { Src []byte `protobuf:"bytes,1,opt,name=Src,proto3" json:"Src,omitempty"` SrcMode []byte `protobuf:"bytes,2,opt,name=SrcMode,proto3" json:"SrcMode,omitempty"` Dest []byte `protobuf:"bytes,3,opt,name=Dest,proto3" json:"Dest,omitempty"` ProtocolName []byte `protobuf:"bytes,4,opt,name=ProtocolName,proto3" json:"ProtocolName,omitempty"` ProtocolVersion []byte `protobuf:"bytes,5,opt,name=ProtocolVersion,proto3" json:"ProtocolVersion,omitempty"` StreamName []byte `protobuf:"bytes,6,opt,name=StreamName,proto3" json:"StreamName,omitempty"` Data []byte `protobuf:"bytes,7,opt,name=Data,proto3" json:"Data,omitempty"` MidCall bool `protobuf:"varint,8,opt,name=MidCall,proto3" json:"MidCall,omitempty"` Paths [][]byte `protobuf:"bytes,9,rep,name=Paths,proto3" json:"Paths,omitempty"` }
func (*RouteRelayReq) Descriptor ¶ added in v1.2.0
func (*RouteRelayReq) Descriptor() ([]byte, []int)
func (*RouteRelayReq) GetData ¶ added in v1.2.0
func (m *RouteRelayReq) GetData() []byte
func (*RouteRelayReq) GetDest ¶ added in v1.2.0
func (m *RouteRelayReq) GetDest() []byte
func (*RouteRelayReq) GetMidCall ¶ added in v1.2.0
func (m *RouteRelayReq) GetMidCall() bool
func (*RouteRelayReq) GetPaths ¶ added in v1.2.0
func (m *RouteRelayReq) GetPaths() [][]byte
func (*RouteRelayReq) GetProtocolName ¶ added in v1.2.0
func (m *RouteRelayReq) GetProtocolName() []byte
func (*RouteRelayReq) GetProtocolVersion ¶ added in v1.2.0
func (m *RouteRelayReq) GetProtocolVersion() []byte
func (*RouteRelayReq) GetSrc ¶ added in v1.2.0
func (m *RouteRelayReq) GetSrc() []byte
func (*RouteRelayReq) GetSrcMode ¶ added in v1.2.0
func (m *RouteRelayReq) GetSrcMode() []byte
func (*RouteRelayReq) GetStreamName ¶ added in v1.2.0
func (m *RouteRelayReq) GetStreamName() []byte
func (*RouteRelayReq) Marshal ¶ added in v1.2.0
func (m *RouteRelayReq) Marshal() (dAtA []byte, err error)
func (*RouteRelayReq) MarshalTo ¶ added in v1.2.0
func (m *RouteRelayReq) MarshalTo(dAtA []byte) (int, error)
func (*RouteRelayReq) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *RouteRelayReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteRelayReq) ProtoMessage ¶ added in v1.2.0
func (*RouteRelayReq) ProtoMessage()
func (*RouteRelayReq) Reset ¶ added in v1.2.0
func (m *RouteRelayReq) Reset()
func (*RouteRelayReq) Size ¶ added in v1.2.0
func (m *RouteRelayReq) Size() (n int)
func (*RouteRelayReq) String ¶ added in v1.2.0
func (m *RouteRelayReq) String() string
func (*RouteRelayReq) Unmarshal ¶ added in v1.2.0
func (m *RouteRelayReq) Unmarshal(dAtA []byte) error
func (*RouteRelayReq) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *RouteRelayReq) XXX_DiscardUnknown()
func (*RouteRelayReq) XXX_Marshal ¶ added in v1.2.0
func (m *RouteRelayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RouteRelayReq) XXX_Merge ¶ added in v1.2.0
func (m *RouteRelayReq) XXX_Merge(src proto.Message)
func (*RouteRelayReq) XXX_Size ¶ added in v1.2.0
func (m *RouteRelayReq) XXX_Size() int
func (*RouteRelayReq) XXX_Unmarshal ¶ added in v1.2.0
func (m *RouteRelayReq) XXX_Unmarshal(b []byte) error
type RouteRelayResp ¶ added in v1.2.0
type RouteRelayResp struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
}
func (*RouteRelayResp) Descriptor ¶ added in v1.2.0
func (*RouteRelayResp) Descriptor() ([]byte, []int)
func (*RouteRelayResp) GetData ¶ added in v1.2.0
func (m *RouteRelayResp) GetData() []byte
func (*RouteRelayResp) Marshal ¶ added in v1.2.0
func (m *RouteRelayResp) Marshal() (dAtA []byte, err error)
func (*RouteRelayResp) MarshalTo ¶ added in v1.2.0
func (m *RouteRelayResp) MarshalTo(dAtA []byte) (int, error)
func (*RouteRelayResp) MarshalToSizedBuffer ¶ added in v1.2.0
func (m *RouteRelayResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouteRelayResp) ProtoMessage ¶ added in v1.2.0
func (*RouteRelayResp) ProtoMessage()
func (*RouteRelayResp) Reset ¶ added in v1.2.0
func (m *RouteRelayResp) Reset()
func (*RouteRelayResp) Size ¶ added in v1.2.0
func (m *RouteRelayResp) Size() (n int)
func (*RouteRelayResp) String ¶ added in v1.2.0
func (m *RouteRelayResp) String() string
func (*RouteRelayResp) Unmarshal ¶ added in v1.2.0
func (m *RouteRelayResp) Unmarshal(dAtA []byte) error
func (*RouteRelayResp) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *RouteRelayResp) XXX_DiscardUnknown()
func (*RouteRelayResp) XXX_Marshal ¶ added in v1.2.0
func (m *RouteRelayResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RouteRelayResp) XXX_Merge ¶ added in v1.2.0
func (m *RouteRelayResp) XXX_Merge(src proto.Message)
func (*RouteRelayResp) XXX_Size ¶ added in v1.2.0
func (m *RouteRelayResp) XXX_Size() int
func (*RouteRelayResp) XXX_Unmarshal ¶ added in v1.2.0
func (m *RouteRelayResp) XXX_Unmarshal(b []byte) error
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"` Paths []*Path `protobuf:"bytes,3,rep,name=Paths,proto3" json:"Paths,omitempty"` UType int32 `protobuf:"varint,4,opt,name=UType,proto3" json:"UType,omitempty"` UList []*UnderlayResp `protobuf:"bytes,5,rep,name=UList,proto3" json:"UList,omitempty"` }
func (*RouteReq) Descriptor ¶ added in v1.0.9
func (*RouteReq) GetUList ¶ added in v1.2.0
func (m *RouteReq) GetUList() []*UnderlayResp
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"` UType int32 `protobuf:"varint,3,opt,name=UType,proto3" json:"UType,omitempty"` UList []*UnderlayResp `protobuf:"bytes,4,rep,name=UList,proto3" json:"UList,omitempty"` }
func (*RouteResp) Descriptor ¶ added in v1.0.9
func (*RouteResp) GetUList ¶ added in v1.2.0
func (m *RouteResp) GetUList() []*UnderlayResp
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"`
}
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) 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.