Documentation ¶
Index ¶
- Variables
- type ClientHelloPayload
- func (*ClientHelloPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ClientHelloPayload) GetConnectionId() string
- func (*ClientHelloPayload) ProtoMessage()
- func (x *ClientHelloPayload) ProtoReflect() protoreflect.Message
- func (x *ClientHelloPayload) Reset()
- func (x *ClientHelloPayload) String() string
- type ConnectInfo
- func (*ConnectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectInfo) GetAllowReconnect() bool
- func (x *ConnectInfo) GetConnectionId() string
- func (x *ConnectInfo) GetPublicKey() []byte
- func (x *ConnectInfo) GetTransportAddress() string
- func (x *ConnectInfo) GetTransportType() TransportType
- func (*ConnectInfo) ProtoMessage()
- func (x *ConnectInfo) ProtoReflect() protoreflect.Message
- func (x *ConnectInfo) Reset()
- func (x *ConnectInfo) String() string
- type TransportType
- func (TransportType) Descriptor() protoreflect.EnumDescriptor
- func (x TransportType) Enum() *TransportType
- func (TransportType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransportType) Number() protoreflect.EnumNumber
- func (x TransportType) String() string
- func (TransportType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TransportType_name = map[int32]string{ 0: "kUnknown", 1: "kUnixDomainSocket", 2: "kWindowsNamedPipe", 101: "kTcp", } TransportType_value = map[string]int32{ "kUnknown": 0, "kUnixDomainSocket": 1, "kWindowsNamedPipe": 2, "kTcp": 101, } )
Enum value maps for TransportType.
View Source
var File_sipc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientHelloPayload ¶
type ClientHelloPayload struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // contains filtered or unexported fields }
func (*ClientHelloPayload) Descriptor
deprecated
func (*ClientHelloPayload) Descriptor() ([]byte, []int)
Deprecated: Use ClientHelloPayload.ProtoReflect.Descriptor instead.
func (*ClientHelloPayload) GetConnectionId ¶
func (x *ClientHelloPayload) GetConnectionId() string
func (*ClientHelloPayload) ProtoMessage ¶
func (*ClientHelloPayload) ProtoMessage()
func (*ClientHelloPayload) ProtoReflect ¶
func (x *ClientHelloPayload) ProtoReflect() protoreflect.Message
func (*ClientHelloPayload) Reset ¶
func (x *ClientHelloPayload) Reset()
func (*ClientHelloPayload) String ¶
func (x *ClientHelloPayload) String() string
type ConnectInfo ¶
type ConnectInfo struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` TransportType TransportType `` /* 134-byte string literal not displayed */ TransportAddress string `protobuf:"bytes,3,opt,name=transport_address,json=transportAddress,proto3" json:"transport_address,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` AllowReconnect bool `protobuf:"varint,11,opt,name=allow_reconnect,json=allowReconnect,proto3" json:"allow_reconnect,omitempty"` // contains filtered or unexported fields }
func (*ConnectInfo) Descriptor
deprecated
func (*ConnectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ConnectInfo.ProtoReflect.Descriptor instead.
func (*ConnectInfo) GetAllowReconnect ¶ added in v0.2.3
func (x *ConnectInfo) GetAllowReconnect() bool
func (*ConnectInfo) GetConnectionId ¶
func (x *ConnectInfo) GetConnectionId() string
func (*ConnectInfo) GetPublicKey ¶
func (x *ConnectInfo) GetPublicKey() []byte
func (*ConnectInfo) GetTransportAddress ¶
func (x *ConnectInfo) GetTransportAddress() string
func (*ConnectInfo) GetTransportType ¶
func (x *ConnectInfo) GetTransportType() TransportType
func (*ConnectInfo) ProtoMessage ¶
func (*ConnectInfo) ProtoMessage()
func (*ConnectInfo) ProtoReflect ¶
func (x *ConnectInfo) ProtoReflect() protoreflect.Message
func (*ConnectInfo) Reset ¶
func (x *ConnectInfo) Reset()
func (*ConnectInfo) String ¶
func (x *ConnectInfo) String() string
type TransportType ¶
type TransportType int32
const ( TransportType_kUnknown TransportType = 0 TransportType_kUnixDomainSocket TransportType = 1 TransportType_kWindowsNamedPipe TransportType = 2 TransportType_kTcp TransportType = 101 )
func (TransportType) Descriptor ¶
func (TransportType) Descriptor() protoreflect.EnumDescriptor
func (TransportType) Enum ¶
func (x TransportType) Enum() *TransportType
func (TransportType) EnumDescriptor
deprecated
func (TransportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransportType.Descriptor instead.
func (TransportType) Number ¶
func (x TransportType) Number() protoreflect.EnumNumber
func (TransportType) String ¶
func (x TransportType) String() string
func (TransportType) Type ¶
func (TransportType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.