sipc_proto

package
v0.2.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

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) Enum

func (x TransportType) Enum() *TransportType

func (TransportType) EnumDescriptor deprecated

func (TransportType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransportType.Descriptor instead.

func (TransportType) Number

func (TransportType) String

func (x TransportType) String() string

func (TransportType) Type

Jump to

Keyboard shortcuts

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