pb

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Overview

Package pb holds only Protocol Buffer definitions and generated code.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRoute        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRoute          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRoute = fmt.Errorf("proto: unexpected end of group")
)

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) Descriptor() ([]byte, []int)

func (*Path) GetBodys added in v1.2.0

func (m *Path) GetBodys() [][]byte

func (*Path) GetItems added in v1.2.0

func (m *Path) GetItems() [][]byte

func (*Path) GetSign added in v1.0.9

func (m *Path) GetSign() []byte

func (*Path) Marshal added in v1.0.9

func (m *Path) Marshal() (dAtA []byte, err error)

func (*Path) MarshalTo added in v1.0.9

func (m *Path) MarshalTo(dAtA []byte) (int, error)

func (*Path) MarshalToSizedBuffer added in v1.0.9

func (m *Path) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Path) ProtoMessage added in v1.0.9

func (*Path) ProtoMessage()

func (*Path) Reset added in v1.0.9

func (m *Path) Reset()

func (*Path) Size added in v1.0.9

func (m *Path) Size() (n int)

func (*Path) String added in v1.0.9

func (m *Path) String() string

func (*Path) Unmarshal added in v1.0.9

func (m *Path) Unmarshal(dAtA []byte) error

func (*Path) XXX_DiscardUnknown added in v1.0.9

func (m *Path) XXX_DiscardUnknown()

func (*Path) XXX_Marshal added in v1.0.9

func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Path) XXX_Merge added in v1.0.9

func (m *Path) XXX_Merge(src proto.Message)

func (*Path) XXX_Size added in v1.0.9

func (m *Path) XXX_Size() int

func (*Path) XXX_Unmarshal added in v1.0.9

func (m *Path) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RouteReq) GetAlpha added in v1.0.9

func (m *RouteReq) GetAlpha() int32

func (*RouteReq) GetDest added in v1.0.9

func (m *RouteReq) GetDest() []byte

func (*RouteReq) GetPaths added in v1.2.0

func (m *RouteReq) GetPaths() []*Path

func (*RouteReq) GetUList added in v1.2.0

func (m *RouteReq) GetUList() []*UnderlayResp

func (*RouteReq) GetUType added in v1.2.0

func (m *RouteReq) GetUType() int32

func (*RouteReq) Marshal added in v1.0.9

func (m *RouteReq) Marshal() (dAtA []byte, err error)

func (*RouteReq) MarshalTo added in v1.0.9

func (m *RouteReq) MarshalTo(dAtA []byte) (int, error)

func (*RouteReq) MarshalToSizedBuffer added in v1.0.9

func (m *RouteReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouteReq) ProtoMessage added in v1.0.9

func (*RouteReq) ProtoMessage()

func (*RouteReq) Reset added in v1.0.9

func (m *RouteReq) Reset()

func (*RouteReq) Size added in v1.0.9

func (m *RouteReq) Size() (n int)

func (*RouteReq) String added in v1.0.9

func (m *RouteReq) String() string

func (*RouteReq) Unmarshal added in v1.0.9

func (m *RouteReq) Unmarshal(dAtA []byte) error

func (*RouteReq) XXX_DiscardUnknown added in v1.0.9

func (m *RouteReq) XXX_DiscardUnknown()

func (*RouteReq) XXX_Marshal added in v1.0.9

func (m *RouteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteReq) XXX_Merge added in v1.0.9

func (m *RouteReq) XXX_Merge(src proto.Message)

func (*RouteReq) XXX_Size added in v1.0.9

func (m *RouteReq) XXX_Size() int

func (*RouteReq) XXX_Unmarshal added in v1.0.9

func (m *RouteReq) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*RouteResp) GetDest added in v1.0.9

func (m *RouteResp) GetDest() []byte

func (*RouteResp) GetPaths added in v1.0.9

func (m *RouteResp) GetPaths() []*Path

func (*RouteResp) GetUList added in v1.2.0

func (m *RouteResp) GetUList() []*UnderlayResp

func (*RouteResp) GetUType added in v1.2.0

func (m *RouteResp) GetUType() int32

func (*RouteResp) Marshal added in v1.0.9

func (m *RouteResp) Marshal() (dAtA []byte, err error)

func (*RouteResp) MarshalTo added in v1.0.9

func (m *RouteResp) MarshalTo(dAtA []byte) (int, error)

func (*RouteResp) MarshalToSizedBuffer added in v1.0.9

func (m *RouteResp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouteResp) ProtoMessage added in v1.0.9

func (*RouteResp) ProtoMessage()

func (*RouteResp) Reset added in v1.0.9

func (m *RouteResp) Reset()

func (*RouteResp) Size added in v1.0.9

func (m *RouteResp) Size() (n int)

func (*RouteResp) String added in v1.0.9

func (m *RouteResp) String() string

func (*RouteResp) Unmarshal added in v1.0.9

func (m *RouteResp) Unmarshal(dAtA []byte) error

func (*RouteResp) XXX_DiscardUnknown added in v1.0.9

func (m *RouteResp) XXX_DiscardUnknown()

func (*RouteResp) XXX_Marshal added in v1.0.9

func (m *RouteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteResp) XXX_Merge added in v1.0.9

func (m *RouteResp) XXX_Merge(src proto.Message)

func (*RouteResp) XXX_Size added in v1.0.9

func (m *RouteResp) XXX_Size() int

func (*RouteResp) XXX_Unmarshal added in v1.0.9

func (m *RouteResp) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL