Documentation
¶
Index ¶
- Variables
- type AuthenticateReq
- func (*AuthenticateReq) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateReq) GetAddresses() []*pbmodel.HostPort
- func (x *AuthenticateReq) GetBuildVersion() string
- func (x *AuthenticateReq) GetMetadata() string
- func (x *AuthenticateReq) GetReconnectToken() []byte
- func (x *AuthenticateReq) GetRelayAuthenticationKey() []byte
- func (x *AuthenticateReq) GetServerCertificate() []byte
- func (x *AuthenticateReq) GetToken() string
- func (*AuthenticateReq) ProtoMessage()
- func (x *AuthenticateReq) ProtoReflect() protoreflect.Message
- func (x *AuthenticateReq) Reset()
- func (x *AuthenticateReq) String() string
- type AuthenticateResp
- func (*AuthenticateResp) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResp) GetControlAuthenticationKey() []byte
- func (x *AuthenticateResp) GetControlId() string
- func (x *AuthenticateResp) GetError() *pberror.Error
- func (x *AuthenticateResp) GetReconnectToken() []byte
- func (*AuthenticateResp) ProtoMessage()
- func (x *AuthenticateResp) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResp) Reset()
- func (x *AuthenticateResp) String() string
- type ClientAuthentication
- func (*ClientAuthentication) Descriptor() ([]byte, []int)deprecated
- func (x *ClientAuthentication) GetCertificateKey() string
- func (x *ClientAuthentication) GetEndpoint() *pbmodel.Endpoint
- func (x *ClientAuthentication) GetRole() pbmodel.Role
- func (*ClientAuthentication) ProtoMessage()
- func (x *ClientAuthentication) ProtoReflect() protoreflect.Message
- func (x *ClientAuthentication) Reset()
- func (x *ClientAuthentication) String() string
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
Click to show internal directories.
Click to hide internal directories.