pbrelay

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_relay_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthenticateReq

type AuthenticateReq struct {
	Token                  string              `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Addresses              []*pbmodel.HostPort `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"`
	ReconnectToken         []byte              `protobuf:"bytes,3,opt,name=reconnect_token,json=reconnectToken,proto3" json:"reconnect_token,omitempty"`
	BuildVersion           string              `protobuf:"bytes,4,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"`
	Metadata               string              `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ServerCertificate      []byte              `protobuf:"bytes,7,opt,name=server_certificate,json=serverCertificate,proto3" json:"server_certificate,omitempty"`
	RelayAuthenticationKey []byte              `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuthenticateReq) Descriptor deprecated

func (*AuthenticateReq) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateReq.ProtoReflect.Descriptor instead.

func (*AuthenticateReq) GetAddresses

func (x *AuthenticateReq) GetAddresses() []*pbmodel.HostPort

func (*AuthenticateReq) GetBuildVersion

func (x *AuthenticateReq) GetBuildVersion() string

func (*AuthenticateReq) GetMetadata

func (x *AuthenticateReq) GetMetadata() string

func (*AuthenticateReq) GetReconnectToken

func (x *AuthenticateReq) GetReconnectToken() []byte

func (*AuthenticateReq) GetRelayAuthenticationKey

func (x *AuthenticateReq) GetRelayAuthenticationKey() []byte

func (*AuthenticateReq) GetServerCertificate

func (x *AuthenticateReq) GetServerCertificate() []byte

func (*AuthenticateReq) GetToken

func (x *AuthenticateReq) GetToken() string

func (*AuthenticateReq) ProtoMessage

func (*AuthenticateReq) ProtoMessage()

func (*AuthenticateReq) ProtoReflect

func (x *AuthenticateReq) ProtoReflect() protoreflect.Message

func (*AuthenticateReq) Reset

func (x *AuthenticateReq) Reset()

func (*AuthenticateReq) String

func (x *AuthenticateReq) String() string

type AuthenticateResp

type AuthenticateResp struct {
	Error                    *pberror.Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	ControlId                string         `protobuf:"bytes,2,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"`
	ReconnectToken           []byte         `protobuf:"bytes,3,opt,name=reconnect_token,json=reconnectToken,proto3" json:"reconnect_token,omitempty"`
	ControlAuthenticationKey []byte         `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuthenticateResp) Descriptor deprecated

func (*AuthenticateResp) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResp.ProtoReflect.Descriptor instead.

func (*AuthenticateResp) GetControlAuthenticationKey

func (x *AuthenticateResp) GetControlAuthenticationKey() []byte

func (*AuthenticateResp) GetControlId

func (x *AuthenticateResp) GetControlId() string

func (*AuthenticateResp) GetError

func (x *AuthenticateResp) GetError() *pberror.Error

func (*AuthenticateResp) GetReconnectToken

func (x *AuthenticateResp) GetReconnectToken() []byte

func (*AuthenticateResp) ProtoMessage

func (*AuthenticateResp) ProtoMessage()

func (*AuthenticateResp) ProtoReflect

func (x *AuthenticateResp) ProtoReflect() protoreflect.Message

func (*AuthenticateResp) Reset

func (x *AuthenticateResp) Reset()

func (*AuthenticateResp) String

func (x *AuthenticateResp) String() string

type ClientAuthentication

type ClientAuthentication struct {
	Endpoint       *pbmodel.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Role           pbmodel.Role      `protobuf:"varint,2,opt,name=role,proto3,enum=model.Role" json:"role,omitempty"`
	CertificateKey string            `protobuf:"bytes,3,opt,name=certificate_key,json=certificateKey,proto3" json:"certificate_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientAuthentication) Descriptor deprecated

func (*ClientAuthentication) Descriptor() ([]byte, []int)

Deprecated: Use ClientAuthentication.ProtoReflect.Descriptor instead.

func (*ClientAuthentication) GetCertificateKey

func (x *ClientAuthentication) GetCertificateKey() string

func (*ClientAuthentication) GetEndpoint

func (x *ClientAuthentication) GetEndpoint() *pbmodel.Endpoint

func (*ClientAuthentication) GetRole

func (x *ClientAuthentication) GetRole() pbmodel.Role

func (*ClientAuthentication) ProtoMessage

func (*ClientAuthentication) ProtoMessage()

func (*ClientAuthentication) ProtoReflect

func (x *ClientAuthentication) ProtoReflect() protoreflect.Message

func (*ClientAuthentication) Reset

func (x *ClientAuthentication) Reset()

func (*ClientAuthentication) String

func (x *ClientAuthentication) String() string

Jump to

Keyboard shortcuts

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