Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
- type AccountModification
- func (*AccountModification) Descriptor() ([]byte, []int)deprecated
- func (x *AccountModification) GetExpiresAt() string
- func (*AccountModification) ProtoMessage()
- func (x *AccountModification) ProtoReflect() protoreflect.Message
- func (x *AccountModification) Reset()
- func (x *AccountModification) String() string
- type AccountResponse
- func (*AccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountResponse) GetDedicatedIpServices() []*DedidcatedIPService
- func (x *AccountResponse) GetDedicatedIpStatus() int64
- func (x *AccountResponse) GetEmail() string
- func (x *AccountResponse) GetExpiresAt() string
- func (x *AccountResponse) GetLastDedicatedIpExpiresAt() string
- func (x *AccountResponse) GetMfaStatus() TriState
- func (x *AccountResponse) GetType() int64
- func (x *AccountResponse) GetUsername() string
- func (*AccountResponse) ProtoMessage()
- func (x *AccountResponse) ProtoReflect() protoreflect.Message
- func (x *AccountResponse) Reset()
- func (x *AccountResponse) String() string
- type Allowlist
- type AppState
- func (*AppState) Descriptor() ([]byte, []int)deprecated
- func (x *AppState) GetAccountModification() *AccountModification
- func (x *AppState) GetConnectionStatus() *ConnectionStatus
- func (x *AppState) GetError() AppStateError
- func (x *AppState) GetLoginEvent() *LoginEvent
- func (x *AppState) GetSettingsChange() *Settings
- func (m *AppState) GetState() isAppState_State
- func (x *AppState) GetUpdateEvent() UpdateEvent
- func (*AppState) ProtoMessage()
- func (x *AppState) ProtoReflect() protoreflect.Message
- func (x *AppState) Reset()
- func (x *AppState) String() string
- type AppStateError
- func (AppStateError) Descriptor() protoreflect.EnumDescriptor
- func (x AppStateError) Enum() *AppStateError
- func (AppStateError) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppStateError) Number() protoreflect.EnumNumber
- func (x AppStateError) String() string
- func (AppStateError) Type() protoreflect.EnumType
- type AppState_AccountModification
- type AppState_ConnectionStatus
- type AppState_Error
- type AppState_LoginEvent
- type AppState_SettingsChange
- type AppState_UpdateEvent
- type AutoconnectData
- func (*AutoconnectData) Descriptor() ([]byte, []int)deprecated
- func (x *AutoconnectData) GetCity() string
- func (x *AutoconnectData) GetCountry() string
- func (x *AutoconnectData) GetEnabled() bool
- func (x *AutoconnectData) GetServerGroup() config.ServerGroup
- func (*AutoconnectData) ProtoMessage()
- func (x *AutoconnectData) ProtoReflect() protoreflect.Message
- func (x *AutoconnectData) Reset()
- func (x *AutoconnectData) String() string
- type Bool
- type CitiesRequest
- type ClaimOnlinePurchaseResponse
- func (*ClaimOnlinePurchaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimOnlinePurchaseResponse) GetSuccess() bool
- func (*ClaimOnlinePurchaseResponse) ProtoMessage()
- func (x *ClaimOnlinePurchaseResponse) ProtoReflect() protoreflect.Message
- func (x *ClaimOnlinePurchaseResponse) Reset()
- func (x *ClaimOnlinePurchaseResponse) String() string
- type ConnectRequest
- func (*ConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectRequest) GetServerGroup() string
- func (x *ConnectRequest) GetServerTag() string
- func (*ConnectRequest) ProtoMessage()
- func (x *ConnectRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectRequest) Reset()
- func (x *ConnectRequest) String() string
- type ConnectionParameters
- func (*ConnectionParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionParameters) GetCity() string
- func (x *ConnectionParameters) GetCountry() string
- func (x *ConnectionParameters) GetGroup() config.ServerGroup
- func (x *ConnectionParameters) GetSource() ConnectionSource
- func (*ConnectionParameters) ProtoMessage()
- func (x *ConnectionParameters) ProtoReflect() protoreflect.Message
- func (x *ConnectionParameters) Reset()
- func (x *ConnectionParameters) String() string
- type ConnectionSource
- func (ConnectionSource) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionSource) Enum() *ConnectionSource
- func (ConnectionSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionSource) Number() protoreflect.EnumNumber
- func (x ConnectionSource) String() string
- func (ConnectionSource) Type() protoreflect.EnumType
- type ConnectionState
- func (ConnectionState) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionState) Enum() *ConnectionState
- func (ConnectionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionState) Number() protoreflect.EnumNumber
- func (x ConnectionState) String() string
- func (ConnectionState) Type() protoreflect.EnumType
- type ConnectionStatus
- func (*ConnectionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionStatus) GetByUser() bool
- func (x *ConnectionStatus) GetIsMeshPeer() bool
- func (x *ConnectionStatus) GetServerCity() string
- func (x *ConnectionStatus) GetServerCountry() string
- func (x *ConnectionStatus) GetServerHostname() string
- func (x *ConnectionStatus) GetServerIp() string
- func (x *ConnectionStatus) GetServerName() string
- func (x *ConnectionStatus) GetState() ConnectionState
- func (*ConnectionStatus) ProtoMessage()
- func (x *ConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *ConnectionStatus) Reset()
- func (x *ConnectionStatus) String() string
- type CountriesResponse
- func (*CountriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountriesResponse) GetCountries() []*Country
- func (*CountriesResponse) ProtoMessage()
- func (x *CountriesResponse) ProtoReflect() protoreflect.Message
- func (x *CountriesResponse) Reset()
- func (x *CountriesResponse) String() string
- type Country
- type DaemonClient
- type DaemonServer
- type Daemon_ConnectClient
- type Daemon_ConnectServer
- type Daemon_DisconnectClient
- type Daemon_DisconnectServer
- type Daemon_LoginOAuth2Client
- type Daemon_LoginOAuth2Server
- type Daemon_SubscribeToStateChangesClient
- type Daemon_SubscribeToStateChangesServer
- type DedidcatedIPService
- func (*DedidcatedIPService) Descriptor() ([]byte, []int)deprecated
- func (x *DedidcatedIPService) GetDedicatedIpExpiresAt() string
- func (x *DedidcatedIPService) GetServerIds() []int64
- func (*DedidcatedIPService) ProtoMessage()
- func (x *DedidcatedIPService) ProtoReflect() protoreflect.Message
- func (x *DedidcatedIPService) Reset()
- func (x *DedidcatedIPService) String() string
- type Empty
- type LoginEvent
- type LoginEventType
- func (LoginEventType) Descriptor() protoreflect.EnumDescriptor
- func (x LoginEventType) Enum() *LoginEventType
- func (LoginEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoginEventType) Number() protoreflect.EnumNumber
- func (x LoginEventType) String() string
- func (LoginEventType) Type() protoreflect.EnumType
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetType() int64
- func (x *LoginResponse) GetUrl() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type LoginWithTokenRequest
- func (*LoginWithTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginWithTokenRequest) GetToken() string
- func (*LoginWithTokenRequest) ProtoMessage()
- func (x *LoginWithTokenRequest) ProtoReflect() protoreflect.Message
- func (x *LoginWithTokenRequest) Reset()
- func (x *LoginWithTokenRequest) String() string
- type LogoutRequest
- type Payload
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetMajor() int64
- func (x *PingResponse) GetMetadata() string
- func (x *PingResponse) GetMinor() int64
- func (x *PingResponse) GetPatch() int64
- func (x *PingResponse) GetType() int64
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetCost() string
- func (x *Plan) GetCurrency() string
- func (x *Plan) GetId() string
- func (x *Plan) GetTitle() string
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type PlansResponse
- func (*PlansResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlansResponse) GetPlans() []*Plan
- func (x *PlansResponse) GetType() int64
- func (*PlansResponse) ProtoMessage()
- func (x *PlansResponse) ProtoReflect() protoreflect.Message
- func (x *PlansResponse) Reset()
- func (x *PlansResponse) String() string
- type PortRange
- type Ports
- type RateRequest
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetPassword() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetHostName() string
- func (x *Server) GetId() int64
- func (x *Server) GetServerGroups() []config.ServerGroup
- func (x *Server) GetTechnologies() []Technology
- func (x *Server) GetVirtual() bool
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type ServerCity
- func (*ServerCity) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCity) GetCityName() string
- func (x *ServerCity) GetServers() []*Server
- func (*ServerCity) ProtoMessage()
- func (x *ServerCity) ProtoReflect() protoreflect.Message
- func (x *ServerCity) Reset()
- func (x *ServerCity) String() string
- type ServerCountry
- func (*ServerCountry) Descriptor() ([]byte, []int)deprecated
- func (x *ServerCountry) GetCities() []*ServerCity
- func (x *ServerCountry) GetCountryCode() string
- func (*ServerCountry) ProtoMessage()
- func (x *ServerCountry) ProtoReflect() protoreflect.Message
- func (x *ServerCountry) Reset()
- func (x *ServerCountry) String() string
- type ServerGroup
- func (*ServerGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroup) GetName() string
- func (x *ServerGroup) GetVirtualLocation() bool
- func (*ServerGroup) ProtoMessage()
- func (x *ServerGroup) ProtoReflect() protoreflect.Message
- func (x *ServerGroup) Reset()
- func (x *ServerGroup) String() string
- type ServerGroupsList
- func (*ServerGroupsList) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGroupsList) GetServers() []*ServerGroup
- func (x *ServerGroupsList) GetType() int64
- func (*ServerGroupsList) ProtoMessage()
- func (x *ServerGroupsList) ProtoReflect() protoreflect.Message
- func (x *ServerGroupsList) Reset()
- func (x *ServerGroupsList) String() string
- type ServersError
- func (ServersError) Descriptor() protoreflect.EnumDescriptor
- func (x ServersError) Enum() *ServersError
- func (ServersError) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServersError) Number() protoreflect.EnumNumber
- func (x ServersError) String() string
- func (ServersError) Type() protoreflect.EnumType
- type ServersMap
- type ServersResponse
- func (*ServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServersResponse) GetError() ServersError
- func (m *ServersResponse) GetResponse() isServersResponse_Response
- func (x *ServersResponse) GetServers() *ServersMap
- func (*ServersResponse) ProtoMessage()
- func (x *ServersResponse) ProtoReflect() protoreflect.Message
- func (x *ServersResponse) Reset()
- func (x *ServersResponse) String() string
- type ServersResponse_Error
- type ServersResponse_Servers
- type SetAllowlistPortsRequest
- func (*SetAllowlistPortsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAllowlistPortsRequest) GetIsTcp() bool
- func (x *SetAllowlistPortsRequest) GetIsUdp() bool
- func (x *SetAllowlistPortsRequest) GetPortRange() *PortRange
- func (*SetAllowlistPortsRequest) ProtoMessage()
- func (x *SetAllowlistPortsRequest) ProtoReflect() protoreflect.Message
- func (x *SetAllowlistPortsRequest) Reset()
- func (x *SetAllowlistPortsRequest) String() string
- type SetAllowlistRequest
- func (*SetAllowlistRequest) Descriptor() ([]byte, []int)deprecated
- func (m *SetAllowlistRequest) GetRequest() isSetAllowlistRequest_Request
- func (x *SetAllowlistRequest) GetSetAllowlistPortsRequest() *SetAllowlistPortsRequest
- func (x *SetAllowlistRequest) GetSetAllowlistSubnetRequest() *SetAllowlistSubnetRequest
- func (*SetAllowlistRequest) ProtoMessage()
- func (x *SetAllowlistRequest) ProtoReflect() protoreflect.Message
- func (x *SetAllowlistRequest) Reset()
- func (x *SetAllowlistRequest) String() string
- type SetAllowlistRequest_SetAllowlistPortsRequest
- type SetAllowlistRequest_SetAllowlistSubnetRequest
- type SetAllowlistSubnetRequest
- func (*SetAllowlistSubnetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAllowlistSubnetRequest) GetSubnet() string
- func (*SetAllowlistSubnetRequest) ProtoMessage()
- func (x *SetAllowlistSubnetRequest) ProtoReflect() protoreflect.Message
- func (x *SetAllowlistSubnetRequest) Reset()
- func (x *SetAllowlistSubnetRequest) String() string
- type SetAutoconnectRequest
- func (*SetAutoconnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAutoconnectRequest) GetEnabled() bool
- func (x *SetAutoconnectRequest) GetServerTag() string
- func (*SetAutoconnectRequest) ProtoMessage()
- func (x *SetAutoconnectRequest) ProtoReflect() protoreflect.Message
- func (x *SetAutoconnectRequest) Reset()
- func (x *SetAutoconnectRequest) String() string
- type SetDNSRequest
- func (*SetDNSRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDNSRequest) GetDns() []string
- func (x *SetDNSRequest) GetThreatProtectionLite() bool
- func (*SetDNSRequest) ProtoMessage()
- func (x *SetDNSRequest) ProtoReflect() protoreflect.Message
- func (x *SetDNSRequest) Reset()
- func (x *SetDNSRequest) String() string
- type SetDNSResponse
- func (*SetDNSResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetDNSResponse) GetErrorCode() SetErrorCode
- func (m *SetDNSResponse) GetResponse() isSetDNSResponse_Response
- func (x *SetDNSResponse) GetSetDnsStatus() SetDNSStatus
- func (*SetDNSResponse) ProtoMessage()
- func (x *SetDNSResponse) ProtoReflect() protoreflect.Message
- func (x *SetDNSResponse) Reset()
- func (x *SetDNSResponse) String() string
- type SetDNSResponse_ErrorCode
- type SetDNSResponse_SetDnsStatus
- type SetDNSStatus
- func (SetDNSStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SetDNSStatus) Enum() *SetDNSStatus
- func (SetDNSStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetDNSStatus) Number() protoreflect.EnumNumber
- func (x SetDNSStatus) String() string
- func (SetDNSStatus) Type() protoreflect.EnumType
- type SetErrorCode
- func (SetErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x SetErrorCode) Enum() *SetErrorCode
- func (SetErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetErrorCode) Number() protoreflect.EnumNumber
- func (x SetErrorCode) String() string
- func (SetErrorCode) Type() protoreflect.EnumType
- type SetGenericRequest
- type SetKillSwitchRequest
- func (*SetKillSwitchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetKillSwitchRequest) GetKillSwitch() bool
- func (*SetKillSwitchRequest) ProtoMessage()
- func (x *SetKillSwitchRequest) ProtoReflect() protoreflect.Message
- func (x *SetKillSwitchRequest) Reset()
- func (x *SetKillSwitchRequest) String() string
- type SetLANDiscoveryRequest
- func (*SetLANDiscoveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetLANDiscoveryRequest) GetEnabled() bool
- func (*SetLANDiscoveryRequest) ProtoMessage()
- func (x *SetLANDiscoveryRequest) ProtoReflect() protoreflect.Message
- func (x *SetLANDiscoveryRequest) Reset()
- func (x *SetLANDiscoveryRequest) String() string
- type SetLANDiscoveryResponse
- func (*SetLANDiscoveryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetLANDiscoveryResponse) GetErrorCode() SetErrorCode
- func (m *SetLANDiscoveryResponse) GetResponse() isSetLANDiscoveryResponse_Response
- func (x *SetLANDiscoveryResponse) GetSetLanDiscoveryStatus() SetLANDiscoveryStatus
- func (*SetLANDiscoveryResponse) ProtoMessage()
- func (x *SetLANDiscoveryResponse) ProtoReflect() protoreflect.Message
- func (x *SetLANDiscoveryResponse) Reset()
- func (x *SetLANDiscoveryResponse) String() string
- type SetLANDiscoveryResponse_ErrorCode
- type SetLANDiscoveryResponse_SetLanDiscoveryStatus
- type SetLANDiscoveryStatus
- func (SetLANDiscoveryStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SetLANDiscoveryStatus) Enum() *SetLANDiscoveryStatus
- func (SetLANDiscoveryStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetLANDiscoveryStatus) Number() protoreflect.EnumNumber
- func (x SetLANDiscoveryStatus) String() string
- func (SetLANDiscoveryStatus) Type() protoreflect.EnumType
- type SetNotifyRequest
- func (*SetNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetNotifyRequest) GetNotify() bool
- func (x *SetNotifyRequest) GetUid() int64
- func (*SetNotifyRequest) ProtoMessage()
- func (x *SetNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *SetNotifyRequest) Reset()
- func (x *SetNotifyRequest) String() string
- type SetProtocolRequest
- func (*SetProtocolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetProtocolRequest) GetProtocol() config.Protocol
- func (*SetProtocolRequest) ProtoMessage()
- func (x *SetProtocolRequest) ProtoReflect() protoreflect.Message
- func (x *SetProtocolRequest) Reset()
- func (x *SetProtocolRequest) String() string
- type SetProtocolResponse
- func (*SetProtocolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetProtocolResponse) GetErrorCode() SetErrorCode
- func (m *SetProtocolResponse) GetResponse() isSetProtocolResponse_Response
- func (x *SetProtocolResponse) GetSetProtocolStatus() SetProtocolStatus
- func (*SetProtocolResponse) ProtoMessage()
- func (x *SetProtocolResponse) ProtoReflect() protoreflect.Message
- func (x *SetProtocolResponse) Reset()
- func (x *SetProtocolResponse) String() string
- type SetProtocolResponse_ErrorCode
- type SetProtocolResponse_SetProtocolStatus
- type SetProtocolStatus
- func (SetProtocolStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SetProtocolStatus) Enum() *SetProtocolStatus
- func (SetProtocolStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetProtocolStatus) Number() protoreflect.EnumNumber
- func (x SetProtocolStatus) String() string
- func (SetProtocolStatus) Type() protoreflect.EnumType
- type SetTechnologyRequest
- func (*SetTechnologyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTechnologyRequest) GetTechnology() config.Technology
- func (*SetTechnologyRequest) ProtoMessage()
- func (x *SetTechnologyRequest) ProtoReflect() protoreflect.Message
- func (x *SetTechnologyRequest) Reset()
- func (x *SetTechnologyRequest) String() string
- type SetThreatProtectionLiteRequest
- func (*SetThreatProtectionLiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetThreatProtectionLiteRequest) GetThreatProtectionLite() bool
- func (*SetThreatProtectionLiteRequest) ProtoMessage()
- func (x *SetThreatProtectionLiteRequest) ProtoReflect() protoreflect.Message
- func (x *SetThreatProtectionLiteRequest) Reset()
- func (x *SetThreatProtectionLiteRequest) String() string
- type SetThreatProtectionLiteResponse
- func (*SetThreatProtectionLiteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetThreatProtectionLiteResponse) GetErrorCode() SetErrorCode
- func (m *SetThreatProtectionLiteResponse) GetResponse() isSetThreatProtectionLiteResponse_Response
- func (x *SetThreatProtectionLiteResponse) GetSetThreatProtectionLiteStatus() SetThreatProtectionLiteStatus
- func (*SetThreatProtectionLiteResponse) ProtoMessage()
- func (x *SetThreatProtectionLiteResponse) ProtoReflect() protoreflect.Message
- func (x *SetThreatProtectionLiteResponse) Reset()
- func (x *SetThreatProtectionLiteResponse) String() string
- type SetThreatProtectionLiteResponse_ErrorCode
- type SetThreatProtectionLiteResponse_SetThreatProtectionLiteStatus
- type SetThreatProtectionLiteStatus
- func (SetThreatProtectionLiteStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SetThreatProtectionLiteStatus) Enum() *SetThreatProtectionLiteStatus
- func (SetThreatProtectionLiteStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetThreatProtectionLiteStatus) Number() protoreflect.EnumNumber
- func (x SetThreatProtectionLiteStatus) String() string
- func (SetThreatProtectionLiteStatus) Type() protoreflect.EnumType
- type SetTrayRequest
- func (*SetTrayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTrayRequest) GetTray() bool
- func (x *SetTrayRequest) GetUid() int64
- func (*SetTrayRequest) ProtoMessage()
- func (x *SetTrayRequest) ProtoReflect() protoreflect.Message
- func (x *SetTrayRequest) Reset()
- func (x *SetTrayRequest) String() string
- type SetUint32Request
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetAllowlist() *Allowlist
- func (x *Settings) GetAnalytics() bool
- func (x *Settings) GetAutoConnectData() *AutoconnectData
- func (x *Settings) GetDns() []string
- func (x *Settings) GetFirewall() bool
- func (x *Settings) GetFwmark() uint32
- func (x *Settings) GetIpv6() bool
- func (x *Settings) GetKillSwitch() bool
- func (x *Settings) GetLanDiscovery() bool
- func (x *Settings) GetMeshnet() bool
- func (x *Settings) GetObfuscate() bool
- func (x *Settings) GetPostquantumVpn() bool
- func (x *Settings) GetProtocol() config.Protocol
- func (x *Settings) GetRouting() bool
- func (x *Settings) GetTechnology() config.Technology
- func (x *Settings) GetThreatProtectionLite() bool
- func (x *Settings) GetUserSettings() *UserSpecificSettings
- func (x *Settings) GetVirtualLocation() bool
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- type SettingsResponse
- func (*SettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsResponse) GetData() *Settings
- func (x *SettingsResponse) GetType() int64
- func (*SettingsResponse) ProtoMessage()
- func (x *SettingsResponse) ProtoReflect() protoreflect.Message
- func (x *SettingsResponse) Reset()
- func (x *SettingsResponse) String() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetCity() string
- func (x *StatusResponse) GetCountry() string
- func (x *StatusResponse) GetDownload() uint64
- func (x *StatusResponse) GetHostname() string
- func (x *StatusResponse) GetIp() string
- func (x *StatusResponse) GetName() string
- func (x *StatusResponse) GetParameters() *ConnectionParameters
- func (x *StatusResponse) GetPostQuantum() bool
- func (x *StatusResponse) GetProtocol() config.Protocol
- func (x *StatusResponse) GetState() string
- func (x *StatusResponse) GetTechnology() config.Technology
- func (x *StatusResponse) GetUpload() uint64
- func (x *StatusResponse) GetUptime() int64
- func (x *StatusResponse) GetVirtualLocation() bool
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type String
- type Technology
- type TokenInfoResponse
- func (*TokenInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenInfoResponse) GetExpiresAt() string
- func (x *TokenInfoResponse) GetToken() string
- func (x *TokenInfoResponse) GetTrustedPassOwnerId() string
- func (x *TokenInfoResponse) GetTrustedPassToken() string
- func (x *TokenInfoResponse) GetType() int64
- func (*TokenInfoResponse) ProtoMessage()
- func (x *TokenInfoResponse) ProtoReflect() protoreflect.Message
- func (x *TokenInfoResponse) Reset()
- func (x *TokenInfoResponse) String() string
- type TriState
- type UnimplementedDaemonServer
- func (UnimplementedDaemonServer) AccountInfo(context.Context, *Empty) (*AccountResponse, error)
- func (UnimplementedDaemonServer) Cities(context.Context, *CitiesRequest) (*ServerGroupsList, error)
- func (UnimplementedDaemonServer) ClaimOnlinePurchase(context.Context, *Empty) (*ClaimOnlinePurchaseResponse, error)
- func (UnimplementedDaemonServer) Connect(*ConnectRequest, grpc.ServerStreamingServer[Payload]) error
- func (UnimplementedDaemonServer) ConnectCancel(context.Context, *Empty) (*Payload, error)
- func (UnimplementedDaemonServer) Countries(context.Context, *Empty) (*ServerGroupsList, error)
- func (UnimplementedDaemonServer) Disconnect(*Empty, grpc.ServerStreamingServer[Payload]) error
- func (UnimplementedDaemonServer) GetServers(context.Context, *Empty) (*ServersResponse, error)
- func (UnimplementedDaemonServer) Groups(context.Context, *Empty) (*ServerGroupsList, error)
- func (UnimplementedDaemonServer) IsLoggedIn(context.Context, *Empty) (*Bool, error)
- func (UnimplementedDaemonServer) LoginOAuth2(*Empty, grpc.ServerStreamingServer[String]) error
- func (UnimplementedDaemonServer) LoginOAuth2Callback(context.Context, *String) (*Empty, error)
- func (UnimplementedDaemonServer) LoginWithToken(context.Context, *LoginWithTokenRequest) (*LoginResponse, error)
- func (UnimplementedDaemonServer) Logout(context.Context, *LogoutRequest) (*Payload, error)
- func (UnimplementedDaemonServer) Ping(context.Context, *Empty) (*PingResponse, error)
- func (UnimplementedDaemonServer) Plans(context.Context, *Empty) (*PlansResponse, error)
- func (UnimplementedDaemonServer) RateConnection(context.Context, *RateRequest) (*Payload, error)
- func (UnimplementedDaemonServer) Register(context.Context, *RegisterRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetAllowlist(context.Context, *SetAllowlistRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetAnalytics(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetAutoConnect(context.Context, *SetAutoconnectRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetDNS(context.Context, *SetDNSRequest) (*SetDNSResponse, error)
- func (UnimplementedDaemonServer) SetDefaults(context.Context, *Empty) (*Payload, error)
- func (UnimplementedDaemonServer) SetFirewall(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetFirewallMark(context.Context, *SetUint32Request) (*Payload, error)
- func (UnimplementedDaemonServer) SetIpv6(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetKillSwitch(context.Context, *SetKillSwitchRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetLANDiscovery(context.Context, *SetLANDiscoveryRequest) (*SetLANDiscoveryResponse, error)
- func (UnimplementedDaemonServer) SetNotify(context.Context, *SetNotifyRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetObfuscate(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetPostQuantum(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetProtocol(context.Context, *SetProtocolRequest) (*SetProtocolResponse, error)
- func (UnimplementedDaemonServer) SetRouting(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetTechnology(context.Context, *SetTechnologyRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetThreatProtectionLite(context.Context, *SetThreatProtectionLiteRequest) (*SetThreatProtectionLiteResponse, error)
- func (UnimplementedDaemonServer) SetTray(context.Context, *SetTrayRequest) (*Payload, error)
- func (UnimplementedDaemonServer) SetVirtualLocation(context.Context, *SetGenericRequest) (*Payload, error)
- func (UnimplementedDaemonServer) Settings(context.Context, *Empty) (*SettingsResponse, error)
- func (UnimplementedDaemonServer) SettingsProtocols(context.Context, *Empty) (*Payload, error)
- func (UnimplementedDaemonServer) SettingsTechnologies(context.Context, *Empty) (*Payload, error)
- func (UnimplementedDaemonServer) Status(context.Context, *Empty) (*StatusResponse, error)
- func (UnimplementedDaemonServer) SubscribeToStateChanges(*Empty, grpc.ServerStreamingServer[AppState]) error
- func (UnimplementedDaemonServer) TokenInfo(context.Context, *Empty) (*TokenInfoResponse, error)
- func (UnimplementedDaemonServer) UnsetAllAllowlist(context.Context, *Empty) (*Payload, error)
- func (UnimplementedDaemonServer) UnsetAllowlist(context.Context, *SetAllowlistRequest) (*Payload, error)
- type UnsafeDaemonServer
- type UpdateEvent
- func (UpdateEvent) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateEvent) Enum() *UpdateEvent
- func (UpdateEvent) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateEvent) Number() protoreflect.EnumNumber
- func (x UpdateEvent) String() string
- func (UpdateEvent) Type() protoreflect.EnumType
- type UserSpecificSettings
- func (*UserSpecificSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserSpecificSettings) GetNotify() bool
- func (x *UserSpecificSettings) GetTray() bool
- func (x *UserSpecificSettings) GetUid() int64
- func (*UserSpecificSettings) ProtoMessage()
- func (x *UserSpecificSettings) ProtoReflect() protoreflect.Message
- func (x *UserSpecificSettings) Reset()
- func (x *UserSpecificSettings) String() string
Constants ¶
const ( Daemon_AccountInfo_FullMethodName = "/pb.Daemon/AccountInfo" Daemon_TokenInfo_FullMethodName = "/pb.Daemon/TokenInfo" Daemon_Cities_FullMethodName = "/pb.Daemon/Cities" Daemon_Connect_FullMethodName = "/pb.Daemon/Connect" Daemon_ConnectCancel_FullMethodName = "/pb.Daemon/ConnectCancel" Daemon_Countries_FullMethodName = "/pb.Daemon/Countries" Daemon_Disconnect_FullMethodName = "/pb.Daemon/Disconnect" Daemon_Groups_FullMethodName = "/pb.Daemon/Groups" Daemon_IsLoggedIn_FullMethodName = "/pb.Daemon/IsLoggedIn" Daemon_LoginWithToken_FullMethodName = "/pb.Daemon/LoginWithToken" Daemon_LoginOAuth2_FullMethodName = "/pb.Daemon/LoginOAuth2" Daemon_LoginOAuth2Callback_FullMethodName = "/pb.Daemon/LoginOAuth2Callback" Daemon_Logout_FullMethodName = "/pb.Daemon/Logout" Daemon_Plans_FullMethodName = "/pb.Daemon/Plans" Daemon_Ping_FullMethodName = "/pb.Daemon/Ping" Daemon_RateConnection_FullMethodName = "/pb.Daemon/RateConnection" Daemon_Register_FullMethodName = "/pb.Daemon/Register" Daemon_SetAutoConnect_FullMethodName = "/pb.Daemon/SetAutoConnect" Daemon_SetThreatProtectionLite_FullMethodName = "/pb.Daemon/SetThreatProtectionLite" Daemon_SetDefaults_FullMethodName = "/pb.Daemon/SetDefaults" Daemon_SetDNS_FullMethodName = "/pb.Daemon/SetDNS" Daemon_SetFirewall_FullMethodName = "/pb.Daemon/SetFirewall" Daemon_SetFirewallMark_FullMethodName = "/pb.Daemon/SetFirewallMark" Daemon_SetRouting_FullMethodName = "/pb.Daemon/SetRouting" Daemon_SetAnalytics_FullMethodName = "/pb.Daemon/SetAnalytics" Daemon_SetKillSwitch_FullMethodName = "/pb.Daemon/SetKillSwitch" Daemon_SetNotify_FullMethodName = "/pb.Daemon/SetNotify" Daemon_SetTray_FullMethodName = "/pb.Daemon/SetTray" Daemon_SetObfuscate_FullMethodName = "/pb.Daemon/SetObfuscate" Daemon_SetProtocol_FullMethodName = "/pb.Daemon/SetProtocol" Daemon_SetTechnology_FullMethodName = "/pb.Daemon/SetTechnology" Daemon_SetLANDiscovery_FullMethodName = "/pb.Daemon/SetLANDiscovery" Daemon_SetAllowlist_FullMethodName = "/pb.Daemon/SetAllowlist" Daemon_UnsetAllowlist_FullMethodName = "/pb.Daemon/UnsetAllowlist" Daemon_UnsetAllAllowlist_FullMethodName = "/pb.Daemon/UnsetAllAllowlist" Daemon_Settings_FullMethodName = "/pb.Daemon/Settings" Daemon_SettingsProtocols_FullMethodName = "/pb.Daemon/SettingsProtocols" Daemon_SettingsTechnologies_FullMethodName = "/pb.Daemon/SettingsTechnologies" Daemon_Status_FullMethodName = "/pb.Daemon/Status" Daemon_SetIpv6_FullMethodName = "/pb.Daemon/SetIpv6" Daemon_ClaimOnlinePurchase_FullMethodName = "/pb.Daemon/ClaimOnlinePurchase" Daemon_SetVirtualLocation_FullMethodName = "/pb.Daemon/SetVirtualLocation" Daemon_SubscribeToStateChanges_FullMethodName = "/pb.Daemon/SubscribeToStateChanges" Daemon_GetServers_FullMethodName = "/pb.Daemon/GetServers" Daemon_SetPostQuantum_FullMethodName = "/pb.Daemon/SetPostQuantum" )
Variables ¶
var ( TriState_name = map[int32]string{ 0: "UNKNOWN", 1: "DISABLED", 2: "ENABLED", } TriState_value = map[string]int32{ "UNKNOWN": 0, "DISABLED": 1, "ENABLED": 2, } )
Enum value maps for TriState.
var ( ServersError_name = map[int32]string{ 0: "NO_ERROR", 1: "GET_CONFIG_ERROR", 2: "FILTER_SERVERS_ERROR", } ServersError_value = map[string]int32{ "NO_ERROR": 0, "GET_CONFIG_ERROR": 1, "FILTER_SERVERS_ERROR": 2, } )
Enum value maps for ServersError.
var ( Technology_name = map[int32]string{ 0: "UNKNOWN_TECHNLOGY", 1: "NORDLYNX", 2: "OPENVPN_TCP", 3: "OPENVPN_UDP", 4: "OBFUSCATED_OPENVPN_TCP", 5: "OBFUSCATED_OPENVPN_UDP", } Technology_value = map[string]int32{ "UNKNOWN_TECHNLOGY": 0, "NORDLYNX": 1, "OPENVPN_TCP": 2, "OPENVPN_UDP": 3, "OBFUSCATED_OPENVPN_TCP": 4, "OBFUSCATED_OPENVPN_UDP": 5, } )
Enum value maps for Technology.
var ( SetErrorCode_name = map[int32]string{ 0: "FAILURE", 1: "CONFIG_ERROR", 2: "ALREADY_SET", } SetErrorCode_value = map[string]int32{ "FAILURE": 0, "CONFIG_ERROR": 1, "ALREADY_SET": 2, } )
Enum value maps for SetErrorCode.
var ( SetThreatProtectionLiteStatus_name = map[int32]string{ 0: "TPL_CONFIGURED", 1: "TPL_CONFIGURED_DNS_RESET", } SetThreatProtectionLiteStatus_value = map[string]int32{ "TPL_CONFIGURED": 0, "TPL_CONFIGURED_DNS_RESET": 1, } )
Enum value maps for SetThreatProtectionLiteStatus.
var ( SetDNSStatus_name = map[int32]string{ 0: "DNS_CONFIGURED", 1: "DNS_CONFIGURED_TPL_RESET", 2: "INVALID_DNS_ADDRESS", 3: "TOO_MANY_VALUES", } SetDNSStatus_value = map[string]int32{ "DNS_CONFIGURED": 0, "DNS_CONFIGURED_TPL_RESET": 1, "INVALID_DNS_ADDRESS": 2, "TOO_MANY_VALUES": 3, } )
Enum value maps for SetDNSStatus.
var ( SetProtocolStatus_name = map[int32]string{ 0: "PROTOCOL_CONFIGURED", 1: "PROTOCOL_CONFIGURED_VPN_ON", 2: "INVALID_TECHNOLOGY", } SetProtocolStatus_value = map[string]int32{ "PROTOCOL_CONFIGURED": 0, "PROTOCOL_CONFIGURED_VPN_ON": 1, "INVALID_TECHNOLOGY": 2, } )
Enum value maps for SetProtocolStatus.
var ( SetLANDiscoveryStatus_name = map[int32]string{ 0: "DISCOVERY_CONFIGURED", 1: "DISCOVERY_CONFIGURED_ALLOWLIST_RESET", } SetLANDiscoveryStatus_value = map[string]int32{ "DISCOVERY_CONFIGURED": 0, "DISCOVERY_CONFIGURED_ALLOWLIST_RESET": 1, } )
Enum value maps for SetLANDiscoveryStatus.
var ( AppStateError_name = map[int32]string{ 0: "FAILED_TO_GET_UID", } AppStateError_value = map[string]int32{ "FAILED_TO_GET_UID": 0, } )
Enum value maps for AppStateError.
var ( ConnectionState_name = map[int32]string{ 0: "DISCONNECTED", 1: "CONNECTING", 2: "CONNECTED", } ConnectionState_value = map[string]int32{ "DISCONNECTED": 0, "CONNECTING": 1, "CONNECTED": 2, } )
Enum value maps for ConnectionState.
var ( LoginEventType_name = map[int32]string{ 0: "LOGIN", 1: "LOGOUT", } LoginEventType_value = map[string]int32{ "LOGIN": 0, "LOGOUT": 1, } )
Enum value maps for LoginEventType.
var ( UpdateEvent_name = map[int32]string{ 0: "SERVERS_LIST_UPDATE", } UpdateEvent_value = map[string]int32{ "SERVERS_LIST_UPDATE": 0, } )
Enum value maps for UpdateEvent.
var ( ConnectionSource_name = map[int32]string{ 0: "UNKNOWN_SOURCE", 1: "MANUAL", 2: "AUTO", } ConnectionSource_value = map[string]int32{ "UNKNOWN_SOURCE": 0, "MANUAL": 1, "AUTO": 2, } )
Enum value maps for ConnectionSource.
var Daemon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Daemon", HandlerType: (*DaemonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AccountInfo", Handler: _Daemon_AccountInfo_Handler, }, { MethodName: "TokenInfo", Handler: _Daemon_TokenInfo_Handler, }, { MethodName: "Cities", Handler: _Daemon_Cities_Handler, }, { MethodName: "ConnectCancel", Handler: _Daemon_ConnectCancel_Handler, }, { MethodName: "Countries", Handler: _Daemon_Countries_Handler, }, { MethodName: "Groups", Handler: _Daemon_Groups_Handler, }, { MethodName: "IsLoggedIn", Handler: _Daemon_IsLoggedIn_Handler, }, { MethodName: "LoginWithToken", Handler: _Daemon_LoginWithToken_Handler, }, { MethodName: "LoginOAuth2Callback", Handler: _Daemon_LoginOAuth2Callback_Handler, }, { MethodName: "Logout", Handler: _Daemon_Logout_Handler, }, { MethodName: "Plans", Handler: _Daemon_Plans_Handler, }, { MethodName: "Ping", Handler: _Daemon_Ping_Handler, }, { MethodName: "RateConnection", Handler: _Daemon_RateConnection_Handler, }, { MethodName: "Register", Handler: _Daemon_Register_Handler, }, { MethodName: "SetAutoConnect", Handler: _Daemon_SetAutoConnect_Handler, }, { MethodName: "SetThreatProtectionLite", Handler: _Daemon_SetThreatProtectionLite_Handler, }, { MethodName: "SetDefaults", Handler: _Daemon_SetDefaults_Handler, }, { MethodName: "SetDNS", Handler: _Daemon_SetDNS_Handler, }, { MethodName: "SetFirewall", Handler: _Daemon_SetFirewall_Handler, }, { MethodName: "SetFirewallMark", Handler: _Daemon_SetFirewallMark_Handler, }, { MethodName: "SetRouting", Handler: _Daemon_SetRouting_Handler, }, { MethodName: "SetAnalytics", Handler: _Daemon_SetAnalytics_Handler, }, { MethodName: "SetKillSwitch", Handler: _Daemon_SetKillSwitch_Handler, }, { MethodName: "SetNotify", Handler: _Daemon_SetNotify_Handler, }, { MethodName: "SetTray", Handler: _Daemon_SetTray_Handler, }, { MethodName: "SetObfuscate", Handler: _Daemon_SetObfuscate_Handler, }, { MethodName: "SetProtocol", Handler: _Daemon_SetProtocol_Handler, }, { MethodName: "SetTechnology", Handler: _Daemon_SetTechnology_Handler, }, { MethodName: "SetLANDiscovery", Handler: _Daemon_SetLANDiscovery_Handler, }, { MethodName: "SetAllowlist", Handler: _Daemon_SetAllowlist_Handler, }, { MethodName: "UnsetAllowlist", Handler: _Daemon_UnsetAllowlist_Handler, }, { MethodName: "UnsetAllAllowlist", Handler: _Daemon_UnsetAllAllowlist_Handler, }, { MethodName: "Settings", Handler: _Daemon_Settings_Handler, }, { MethodName: "SettingsProtocols", Handler: _Daemon_SettingsProtocols_Handler, }, { MethodName: "SettingsTechnologies", Handler: _Daemon_SettingsTechnologies_Handler, }, { MethodName: "Status", Handler: _Daemon_Status_Handler, }, { MethodName: "SetIpv6", Handler: _Daemon_SetIpv6_Handler, }, { MethodName: "ClaimOnlinePurchase", Handler: _Daemon_ClaimOnlinePurchase_Handler, }, { MethodName: "SetVirtualLocation", Handler: _Daemon_SetVirtualLocation_Handler, }, { MethodName: "GetServers", Handler: _Daemon_GetServers_Handler, }, { MethodName: "SetPostQuantum", Handler: _Daemon_SetPostQuantum_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Connect", Handler: _Daemon_Connect_Handler, ServerStreams: true, }, { StreamName: "Disconnect", Handler: _Daemon_Disconnect_Handler, ServerStreams: true, }, { StreamName: "LoginOAuth2", Handler: _Daemon_LoginOAuth2_Handler, ServerStreams: true, }, { StreamName: "SubscribeToStateChanges", Handler: _Daemon_SubscribeToStateChanges_Handler, ServerStreams: true, }, }, Metadata: "service.proto", }
Daemon_ServiceDesc is the grpc.ServiceDesc for Daemon service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_account_proto protoreflect.FileDescriptor
var File_common_proto protoreflect.FileDescriptor
var File_login_proto protoreflect.FileDescriptor
var File_login_with_token_proto protoreflect.FileDescriptor
var File_logout_proto protoreflect.FileDescriptor
var File_ping_proto protoreflect.FileDescriptor
var File_plans_proto protoreflect.FileDescriptor
var File_protobuf_daemon_cities_proto protoreflect.FileDescriptor
var File_protobuf_daemon_connect_proto protoreflect.FileDescriptor
var File_protobuf_daemon_countries_proto protoreflect.FileDescriptor
var File_purchase_proto protoreflect.FileDescriptor
var File_rate_proto protoreflect.FileDescriptor
var File_register_proto protoreflect.FileDescriptor
var File_servers_proto protoreflect.FileDescriptor
var File_set_proto protoreflect.FileDescriptor
var File_settings_proto protoreflect.FileDescriptor
var File_state_proto protoreflect.FileDescriptor
var File_status_proto protoreflect.FileDescriptor
var File_token_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServer ¶
func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
Types ¶
type AccountModification ¶
type AccountModification struct { ExpiresAt *string `protobuf:"bytes,1,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*AccountModification) Descriptor
deprecated
func (*AccountModification) Descriptor() ([]byte, []int)
Deprecated: Use AccountModification.ProtoReflect.Descriptor instead.
func (*AccountModification) GetExpiresAt ¶
func (x *AccountModification) GetExpiresAt() string
func (*AccountModification) ProtoMessage ¶
func (*AccountModification) ProtoMessage()
func (*AccountModification) ProtoReflect ¶
func (x *AccountModification) ProtoReflect() protoreflect.Message
func (*AccountModification) Reset ¶
func (x *AccountModification) Reset()
func (*AccountModification) String ¶
func (x *AccountModification) String() string
type AccountResponse ¶
type AccountResponse struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` ExpiresAt string `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` DedicatedIpStatus int64 `protobuf:"varint,5,opt,name=dedicated_ip_status,json=dedicatedIpStatus,proto3" json:"dedicated_ip_status,omitempty"` LastDedicatedIpExpiresAt string `` /* 139-byte string literal not displayed */ DedicatedIpServices []*DedidcatedIPService `protobuf:"bytes,7,rep,name=dedicated_ip_services,json=dedicatedIpServices,proto3" json:"dedicated_ip_services,omitempty"` MfaStatus TriState `protobuf:"varint,8,opt,name=mfa_status,json=mfaStatus,proto3,enum=pb.TriState" json:"mfa_status,omitempty"` // contains filtered or unexported fields }
func (*AccountResponse) Descriptor
deprecated
func (*AccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountResponse.ProtoReflect.Descriptor instead.
func (*AccountResponse) GetDedicatedIpServices ¶
func (x *AccountResponse) GetDedicatedIpServices() []*DedidcatedIPService
func (*AccountResponse) GetDedicatedIpStatus ¶
func (x *AccountResponse) GetDedicatedIpStatus() int64
func (*AccountResponse) GetEmail ¶
func (x *AccountResponse) GetEmail() string
func (*AccountResponse) GetExpiresAt ¶
func (x *AccountResponse) GetExpiresAt() string
func (*AccountResponse) GetLastDedicatedIpExpiresAt ¶
func (x *AccountResponse) GetLastDedicatedIpExpiresAt() string
func (*AccountResponse) GetMfaStatus ¶
func (x *AccountResponse) GetMfaStatus() TriState
func (*AccountResponse) GetType ¶
func (x *AccountResponse) GetType() int64
func (*AccountResponse) GetUsername ¶
func (x *AccountResponse) GetUsername() string
func (*AccountResponse) ProtoMessage ¶
func (*AccountResponse) ProtoMessage()
func (*AccountResponse) ProtoReflect ¶
func (x *AccountResponse) ProtoReflect() protoreflect.Message
func (*AccountResponse) Reset ¶
func (x *AccountResponse) Reset()
func (*AccountResponse) String ¶
func (x *AccountResponse) String() string
type Allowlist ¶
type Allowlist struct { Ports *Ports `protobuf:"bytes,1,opt,name=ports,proto3" json:"ports,omitempty"` Subnets []string `protobuf:"bytes,2,rep,name=subnets,proto3" json:"subnets,omitempty"` // contains filtered or unexported fields }
func (*Allowlist) Descriptor
deprecated
func (*Allowlist) GetSubnets ¶
func (*Allowlist) ProtoMessage ¶
func (*Allowlist) ProtoMessage()
func (*Allowlist) ProtoReflect ¶
func (x *Allowlist) ProtoReflect() protoreflect.Message
type AppState ¶
type AppState struct { // Types that are assignable to State: // // *AppState_Error // *AppState_ConnectionStatus // *AppState_LoginEvent // *AppState_SettingsChange // *AppState_UpdateEvent // *AppState_AccountModification State isAppState_State `protobuf_oneof:"state"` // contains filtered or unexported fields }
func (*AppState) Descriptor
deprecated
func (*AppState) GetAccountModification ¶
func (x *AppState) GetAccountModification() *AccountModification
func (*AppState) GetConnectionStatus ¶
func (x *AppState) GetConnectionStatus() *ConnectionStatus
func (*AppState) GetError ¶
func (x *AppState) GetError() AppStateError
func (*AppState) GetLoginEvent ¶
func (x *AppState) GetLoginEvent() *LoginEvent
func (*AppState) GetSettingsChange ¶
func (*AppState) GetUpdateEvent ¶
func (x *AppState) GetUpdateEvent() UpdateEvent
func (*AppState) ProtoMessage ¶
func (*AppState) ProtoMessage()
func (*AppState) ProtoReflect ¶
func (x *AppState) ProtoReflect() protoreflect.Message
type AppStateError ¶
type AppStateError int32
const (
AppStateError_FAILED_TO_GET_UID AppStateError = 0
)
func (AppStateError) Descriptor ¶
func (AppStateError) Descriptor() protoreflect.EnumDescriptor
func (AppStateError) Enum ¶
func (x AppStateError) Enum() *AppStateError
func (AppStateError) EnumDescriptor
deprecated
func (AppStateError) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppStateError.Descriptor instead.
func (AppStateError) Number ¶
func (x AppStateError) Number() protoreflect.EnumNumber
func (AppStateError) String ¶
func (x AppStateError) String() string
func (AppStateError) Type ¶
func (AppStateError) Type() protoreflect.EnumType
type AppState_AccountModification ¶
type AppState_AccountModification struct {
AccountModification *AccountModification `protobuf:"bytes,6,opt,name=account_modification,json=accountModification,proto3,oneof"`
}
type AppState_ConnectionStatus ¶
type AppState_ConnectionStatus struct {
ConnectionStatus *ConnectionStatus `protobuf:"bytes,2,opt,name=connection_status,json=connectionStatus,proto3,oneof"`
}
type AppState_Error ¶
type AppState_Error struct {
Error AppStateError `protobuf:"varint,1,opt,name=error,proto3,enum=pb.AppStateError,oneof"`
}
type AppState_LoginEvent ¶
type AppState_LoginEvent struct {
LoginEvent *LoginEvent `protobuf:"bytes,3,opt,name=login_event,json=loginEvent,proto3,oneof"`
}
type AppState_SettingsChange ¶
type AppState_SettingsChange struct {
SettingsChange *Settings `protobuf:"bytes,4,opt,name=settings_change,json=settingsChange,proto3,oneof"`
}
type AppState_UpdateEvent ¶
type AppState_UpdateEvent struct {
UpdateEvent UpdateEvent `protobuf:"varint,5,opt,name=update_event,json=updateEvent,proto3,enum=pb.UpdateEvent,oneof"`
}
type AutoconnectData ¶
type AutoconnectData struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` ServerGroup config.ServerGroup `protobuf:"varint,4,opt,name=server_group,json=serverGroup,proto3,enum=config.ServerGroup" json:"server_group,omitempty"` // contains filtered or unexported fields }
func (*AutoconnectData) Descriptor
deprecated
func (*AutoconnectData) Descriptor() ([]byte, []int)
Deprecated: Use AutoconnectData.ProtoReflect.Descriptor instead.
func (*AutoconnectData) GetCity ¶
func (x *AutoconnectData) GetCity() string
func (*AutoconnectData) GetCountry ¶
func (x *AutoconnectData) GetCountry() string
func (*AutoconnectData) GetEnabled ¶
func (x *AutoconnectData) GetEnabled() bool
func (*AutoconnectData) GetServerGroup ¶
func (x *AutoconnectData) GetServerGroup() config.ServerGroup
func (*AutoconnectData) ProtoMessage ¶
func (*AutoconnectData) ProtoMessage()
func (*AutoconnectData) ProtoReflect ¶
func (x *AutoconnectData) ProtoReflect() protoreflect.Message
func (*AutoconnectData) Reset ¶
func (x *AutoconnectData) Reset()
func (*AutoconnectData) String ¶
func (x *AutoconnectData) String() string
type Bool ¶
type Bool struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Bool) Descriptor
deprecated
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
func (*Bool) ProtoReflect ¶
func (x *Bool) ProtoReflect() protoreflect.Message
type CitiesRequest ¶
type CitiesRequest struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*CitiesRequest) Descriptor
deprecated
func (*CitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CitiesRequest.ProtoReflect.Descriptor instead.
func (*CitiesRequest) GetCountry ¶
func (x *CitiesRequest) GetCountry() string
func (*CitiesRequest) ProtoMessage ¶
func (*CitiesRequest) ProtoMessage()
func (*CitiesRequest) ProtoReflect ¶
func (x *CitiesRequest) ProtoReflect() protoreflect.Message
func (*CitiesRequest) Reset ¶
func (x *CitiesRequest) Reset()
func (*CitiesRequest) String ¶
func (x *CitiesRequest) String() string
type ClaimOnlinePurchaseResponse ¶
type ClaimOnlinePurchaseResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*ClaimOnlinePurchaseResponse) Descriptor
deprecated
func (*ClaimOnlinePurchaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClaimOnlinePurchaseResponse.ProtoReflect.Descriptor instead.
func (*ClaimOnlinePurchaseResponse) GetSuccess ¶
func (x *ClaimOnlinePurchaseResponse) GetSuccess() bool
func (*ClaimOnlinePurchaseResponse) ProtoMessage ¶
func (*ClaimOnlinePurchaseResponse) ProtoMessage()
func (*ClaimOnlinePurchaseResponse) ProtoReflect ¶
func (x *ClaimOnlinePurchaseResponse) ProtoReflect() protoreflect.Message
func (*ClaimOnlinePurchaseResponse) Reset ¶
func (x *ClaimOnlinePurchaseResponse) Reset()
func (*ClaimOnlinePurchaseResponse) String ¶
func (x *ClaimOnlinePurchaseResponse) String() string
type ConnectRequest ¶
type ConnectRequest struct { ServerTag string `protobuf:"bytes,1,opt,name=server_tag,json=serverTag,proto3" json:"server_tag,omitempty"` ServerGroup string `protobuf:"bytes,11,opt,name=server_group,json=serverGroup,proto3" json:"server_group,omitempty"` // contains filtered or unexported fields }
func (*ConnectRequest) Descriptor
deprecated
func (*ConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.
func (*ConnectRequest) GetServerGroup ¶
func (x *ConnectRequest) GetServerGroup() string
func (*ConnectRequest) GetServerTag ¶
func (x *ConnectRequest) GetServerTag() string
func (*ConnectRequest) ProtoMessage ¶
func (*ConnectRequest) ProtoMessage()
func (*ConnectRequest) ProtoReflect ¶
func (x *ConnectRequest) ProtoReflect() protoreflect.Message
func (*ConnectRequest) Reset ¶
func (x *ConnectRequest) Reset()
func (*ConnectRequest) String ¶
func (x *ConnectRequest) String() string
type ConnectionParameters ¶
type ConnectionParameters struct { Source ConnectionSource `protobuf:"varint,1,opt,name=source,proto3,enum=pb.ConnectionSource" json:"source,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` Group config.ServerGroup `protobuf:"varint,4,opt,name=group,proto3,enum=config.ServerGroup" json:"group,omitempty"` // contains filtered or unexported fields }
func (*ConnectionParameters) Descriptor
deprecated
func (*ConnectionParameters) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionParameters.ProtoReflect.Descriptor instead.
func (*ConnectionParameters) GetCity ¶
func (x *ConnectionParameters) GetCity() string
func (*ConnectionParameters) GetCountry ¶
func (x *ConnectionParameters) GetCountry() string
func (*ConnectionParameters) GetGroup ¶
func (x *ConnectionParameters) GetGroup() config.ServerGroup
func (*ConnectionParameters) GetSource ¶
func (x *ConnectionParameters) GetSource() ConnectionSource
func (*ConnectionParameters) ProtoMessage ¶
func (*ConnectionParameters) ProtoMessage()
func (*ConnectionParameters) ProtoReflect ¶
func (x *ConnectionParameters) ProtoReflect() protoreflect.Message
func (*ConnectionParameters) Reset ¶
func (x *ConnectionParameters) Reset()
func (*ConnectionParameters) String ¶
func (x *ConnectionParameters) String() string
type ConnectionSource ¶
type ConnectionSource int32
const ( ConnectionSource_UNKNOWN_SOURCE ConnectionSource = 0 ConnectionSource_MANUAL ConnectionSource = 1 ConnectionSource_AUTO ConnectionSource = 2 )
func (ConnectionSource) Descriptor ¶
func (ConnectionSource) Descriptor() protoreflect.EnumDescriptor
func (ConnectionSource) Enum ¶
func (x ConnectionSource) Enum() *ConnectionSource
func (ConnectionSource) EnumDescriptor
deprecated
func (ConnectionSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionSource.Descriptor instead.
func (ConnectionSource) Number ¶
func (x ConnectionSource) Number() protoreflect.EnumNumber
func (ConnectionSource) String ¶
func (x ConnectionSource) String() string
func (ConnectionSource) Type ¶
func (ConnectionSource) Type() protoreflect.EnumType
type ConnectionState ¶
type ConnectionState int32
const ( ConnectionState_DISCONNECTED ConnectionState = 0 ConnectionState_CONNECTING ConnectionState = 1 ConnectionState_CONNECTED ConnectionState = 2 )
func (ConnectionState) Descriptor ¶
func (ConnectionState) Descriptor() protoreflect.EnumDescriptor
func (ConnectionState) Enum ¶
func (x ConnectionState) Enum() *ConnectionState
func (ConnectionState) EnumDescriptor
deprecated
func (ConnectionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionState.Descriptor instead.
func (ConnectionState) Number ¶
func (x ConnectionState) Number() protoreflect.EnumNumber
func (ConnectionState) String ¶
func (x ConnectionState) String() string
func (ConnectionState) Type ¶
func (ConnectionState) Type() protoreflect.EnumType
type ConnectionStatus ¶
type ConnectionStatus struct { State ConnectionState `protobuf:"varint,1,opt,name=state,proto3,enum=pb.ConnectionState" json:"state,omitempty"` ServerIp string `protobuf:"bytes,2,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"` ServerCountry string `protobuf:"bytes,3,opt,name=server_country,json=serverCountry,proto3" json:"server_country,omitempty"` ServerCity string `protobuf:"bytes,4,opt,name=server_city,json=serverCity,proto3" json:"server_city,omitempty"` ServerHostname string `protobuf:"bytes,5,opt,name=server_hostname,json=serverHostname,proto3" json:"server_hostname,omitempty"` ServerName string `protobuf:"bytes,6,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` IsMeshPeer bool `protobuf:"varint,7,opt,name=is_mesh_peer,json=isMeshPeer,proto3" json:"is_mesh_peer,omitempty"` ByUser bool `protobuf:"varint,8,opt,name=by_user,json=byUser,proto3" json:"by_user,omitempty"` // contains filtered or unexported fields }
func (*ConnectionStatus) Descriptor
deprecated
func (*ConnectionStatus) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionStatus.ProtoReflect.Descriptor instead.
func (*ConnectionStatus) GetByUser ¶
func (x *ConnectionStatus) GetByUser() bool
func (*ConnectionStatus) GetIsMeshPeer ¶
func (x *ConnectionStatus) GetIsMeshPeer() bool
func (*ConnectionStatus) GetServerCity ¶
func (x *ConnectionStatus) GetServerCity() string
func (*ConnectionStatus) GetServerCountry ¶
func (x *ConnectionStatus) GetServerCountry() string
func (*ConnectionStatus) GetServerHostname ¶
func (x *ConnectionStatus) GetServerHostname() string
func (*ConnectionStatus) GetServerIp ¶
func (x *ConnectionStatus) GetServerIp() string
func (*ConnectionStatus) GetServerName ¶
func (x *ConnectionStatus) GetServerName() string
func (*ConnectionStatus) GetState ¶
func (x *ConnectionStatus) GetState() ConnectionState
func (*ConnectionStatus) ProtoMessage ¶
func (*ConnectionStatus) ProtoMessage()
func (*ConnectionStatus) ProtoReflect ¶
func (x *ConnectionStatus) ProtoReflect() protoreflect.Message
func (*ConnectionStatus) Reset ¶
func (x *ConnectionStatus) Reset()
func (*ConnectionStatus) String ¶
func (x *ConnectionStatus) String() string
type CountriesResponse ¶
type CountriesResponse struct { Countries []*Country `protobuf:"bytes,1,rep,name=countries,proto3" json:"countries,omitempty"` // contains filtered or unexported fields }
func (*CountriesResponse) Descriptor
deprecated
func (*CountriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountriesResponse.ProtoReflect.Descriptor instead.
func (*CountriesResponse) GetCountries ¶
func (x *CountriesResponse) GetCountries() []*Country
func (*CountriesResponse) ProtoMessage ¶
func (*CountriesResponse) ProtoMessage()
func (*CountriesResponse) ProtoReflect ¶
func (x *CountriesResponse) ProtoReflect() protoreflect.Message
func (*CountriesResponse) Reset ¶
func (x *CountriesResponse) Reset()
func (*CountriesResponse) String ¶
func (x *CountriesResponse) String() string
type Country ¶
type Country struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Country) Descriptor
deprecated
func (*Country) ProtoMessage ¶
func (*Country) ProtoMessage()
func (*Country) ProtoReflect ¶
func (x *Country) ProtoReflect() protoreflect.Message
type DaemonClient ¶
type DaemonClient interface { AccountInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AccountResponse, error) TokenInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TokenInfoResponse, error) Cities(ctx context.Context, in *CitiesRequest, opts ...grpc.CallOption) (*ServerGroupsList, error) Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Payload], error) ConnectCancel(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Payload, error) Countries(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ServerGroupsList, error) Disconnect(ctx context.Context, in *Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Payload], error) Groups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ServerGroupsList, error) IsLoggedIn(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Bool, error) LoginWithToken(ctx context.Context, in *LoginWithTokenRequest, opts ...grpc.CallOption) (*LoginResponse, error) LoginOAuth2(ctx context.Context, in *Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[String], error) LoginOAuth2Callback(ctx context.Context, in *String, opts ...grpc.CallOption) (*Empty, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*Payload, error) Plans(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PlansResponse, error) Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PingResponse, error) RateConnection(ctx context.Context, in *RateRequest, opts ...grpc.CallOption) (*Payload, error) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*Payload, error) SetAutoConnect(ctx context.Context, in *SetAutoconnectRequest, opts ...grpc.CallOption) (*Payload, error) SetThreatProtectionLite(ctx context.Context, in *SetThreatProtectionLiteRequest, opts ...grpc.CallOption) (*SetThreatProtectionLiteResponse, error) SetDefaults(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Payload, error) SetDNS(ctx context.Context, in *SetDNSRequest, opts ...grpc.CallOption) (*SetDNSResponse, error) SetFirewall(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) SetFirewallMark(ctx context.Context, in *SetUint32Request, opts ...grpc.CallOption) (*Payload, error) SetRouting(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) SetAnalytics(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) SetKillSwitch(ctx context.Context, in *SetKillSwitchRequest, opts ...grpc.CallOption) (*Payload, error) SetNotify(ctx context.Context, in *SetNotifyRequest, opts ...grpc.CallOption) (*Payload, error) SetTray(ctx context.Context, in *SetTrayRequest, opts ...grpc.CallOption) (*Payload, error) SetObfuscate(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) SetProtocol(ctx context.Context, in *SetProtocolRequest, opts ...grpc.CallOption) (*SetProtocolResponse, error) SetTechnology(ctx context.Context, in *SetTechnologyRequest, opts ...grpc.CallOption) (*Payload, error) SetLANDiscovery(ctx context.Context, in *SetLANDiscoveryRequest, opts ...grpc.CallOption) (*SetLANDiscoveryResponse, error) SetAllowlist(ctx context.Context, in *SetAllowlistRequest, opts ...grpc.CallOption) (*Payload, error) UnsetAllowlist(ctx context.Context, in *SetAllowlistRequest, opts ...grpc.CallOption) (*Payload, error) UnsetAllAllowlist(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Payload, error) Settings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SettingsResponse, error) SettingsProtocols(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Payload, error) SettingsTechnologies(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Payload, error) Status(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StatusResponse, error) SetIpv6(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) ClaimOnlinePurchase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ClaimOnlinePurchaseResponse, error) SetVirtualLocation(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) SubscribeToStateChanges(ctx context.Context, in *Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AppState], error) GetServers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ServersResponse, error) SetPostQuantum(ctx context.Context, in *SetGenericRequest, opts ...grpc.CallOption) (*Payload, error) }
DaemonClient is the client API for Daemon service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDaemonClient ¶
func NewDaemonClient(cc grpc.ClientConnInterface) DaemonClient
type DaemonServer ¶
type DaemonServer interface { AccountInfo(context.Context, *Empty) (*AccountResponse, error) TokenInfo(context.Context, *Empty) (*TokenInfoResponse, error) Cities(context.Context, *CitiesRequest) (*ServerGroupsList, error) Connect(*ConnectRequest, grpc.ServerStreamingServer[Payload]) error ConnectCancel(context.Context, *Empty) (*Payload, error) Countries(context.Context, *Empty) (*ServerGroupsList, error) Disconnect(*Empty, grpc.ServerStreamingServer[Payload]) error Groups(context.Context, *Empty) (*ServerGroupsList, error) IsLoggedIn(context.Context, *Empty) (*Bool, error) LoginWithToken(context.Context, *LoginWithTokenRequest) (*LoginResponse, error) LoginOAuth2(*Empty, grpc.ServerStreamingServer[String]) error LoginOAuth2Callback(context.Context, *String) (*Empty, error) Logout(context.Context, *LogoutRequest) (*Payload, error) Plans(context.Context, *Empty) (*PlansResponse, error) Ping(context.Context, *Empty) (*PingResponse, error) RateConnection(context.Context, *RateRequest) (*Payload, error) Register(context.Context, *RegisterRequest) (*Payload, error) SetAutoConnect(context.Context, *SetAutoconnectRequest) (*Payload, error) SetThreatProtectionLite(context.Context, *SetThreatProtectionLiteRequest) (*SetThreatProtectionLiteResponse, error) SetDefaults(context.Context, *Empty) (*Payload, error) SetDNS(context.Context, *SetDNSRequest) (*SetDNSResponse, error) SetFirewall(context.Context, *SetGenericRequest) (*Payload, error) SetFirewallMark(context.Context, *SetUint32Request) (*Payload, error) SetRouting(context.Context, *SetGenericRequest) (*Payload, error) SetAnalytics(context.Context, *SetGenericRequest) (*Payload, error) SetKillSwitch(context.Context, *SetKillSwitchRequest) (*Payload, error) SetNotify(context.Context, *SetNotifyRequest) (*Payload, error) SetTray(context.Context, *SetTrayRequest) (*Payload, error) SetObfuscate(context.Context, *SetGenericRequest) (*Payload, error) SetProtocol(context.Context, *SetProtocolRequest) (*SetProtocolResponse, error) SetTechnology(context.Context, *SetTechnologyRequest) (*Payload, error) SetLANDiscovery(context.Context, *SetLANDiscoveryRequest) (*SetLANDiscoveryResponse, error) SetAllowlist(context.Context, *SetAllowlistRequest) (*Payload, error) UnsetAllowlist(context.Context, *SetAllowlistRequest) (*Payload, error) UnsetAllAllowlist(context.Context, *Empty) (*Payload, error) Settings(context.Context, *Empty) (*SettingsResponse, error) SettingsProtocols(context.Context, *Empty) (*Payload, error) SettingsTechnologies(context.Context, *Empty) (*Payload, error) Status(context.Context, *Empty) (*StatusResponse, error) SetIpv6(context.Context, *SetGenericRequest) (*Payload, error) ClaimOnlinePurchase(context.Context, *Empty) (*ClaimOnlinePurchaseResponse, error) SetVirtualLocation(context.Context, *SetGenericRequest) (*Payload, error) SubscribeToStateChanges(*Empty, grpc.ServerStreamingServer[AppState]) error GetServers(context.Context, *Empty) (*ServersResponse, error) SetPostQuantum(context.Context, *SetGenericRequest) (*Payload, error) // contains filtered or unexported methods }
DaemonServer is the server API for Daemon service. All implementations must embed UnimplementedDaemonServer for forward compatibility.
type Daemon_ConnectClient ¶
type Daemon_ConnectClient = grpc.ServerStreamingClient[Payload]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_ConnectServer ¶
type Daemon_ConnectServer = grpc.ServerStreamingServer[Payload]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_DisconnectClient ¶
type Daemon_DisconnectClient = grpc.ServerStreamingClient[Payload]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_DisconnectServer ¶
type Daemon_DisconnectServer = grpc.ServerStreamingServer[Payload]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_LoginOAuth2Client ¶
type Daemon_LoginOAuth2Client = grpc.ServerStreamingClient[String]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_LoginOAuth2Server ¶
type Daemon_LoginOAuth2Server = grpc.ServerStreamingServer[String]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_SubscribeToStateChangesClient ¶
type Daemon_SubscribeToStateChangesClient = grpc.ServerStreamingClient[AppState]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Daemon_SubscribeToStateChangesServer ¶
type Daemon_SubscribeToStateChangesServer = grpc.ServerStreamingServer[AppState]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DedidcatedIPService ¶
type DedidcatedIPService struct { ServerIds []int64 `protobuf:"varint,1,rep,packed,name=server_ids,json=serverIds,proto3" json:"server_ids,omitempty"` DedicatedIpExpiresAt string `protobuf:"bytes,2,opt,name=dedicated_ip_expires_at,json=dedicatedIpExpiresAt,proto3" json:"dedicated_ip_expires_at,omitempty"` // contains filtered or unexported fields }
func (*DedidcatedIPService) Descriptor
deprecated
func (*DedidcatedIPService) Descriptor() ([]byte, []int)
Deprecated: Use DedidcatedIPService.ProtoReflect.Descriptor instead.
func (*DedidcatedIPService) GetDedicatedIpExpiresAt ¶
func (x *DedidcatedIPService) GetDedicatedIpExpiresAt() string
func (*DedidcatedIPService) GetServerIds ¶
func (x *DedidcatedIPService) GetServerIds() []int64
func (*DedidcatedIPService) ProtoMessage ¶
func (*DedidcatedIPService) ProtoMessage()
func (*DedidcatedIPService) ProtoReflect ¶
func (x *DedidcatedIPService) ProtoReflect() protoreflect.Message
func (*DedidcatedIPService) Reset ¶
func (x *DedidcatedIPService) Reset()
func (*DedidcatedIPService) String ¶
func (x *DedidcatedIPService) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type LoginEvent ¶
type LoginEvent struct { Type LoginEventType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.LoginEventType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*LoginEvent) Descriptor
deprecated
func (*LoginEvent) Descriptor() ([]byte, []int)
Deprecated: Use LoginEvent.ProtoReflect.Descriptor instead.
func (*LoginEvent) GetType ¶
func (x *LoginEvent) GetType() LoginEventType
func (*LoginEvent) ProtoMessage ¶
func (*LoginEvent) ProtoMessage()
func (*LoginEvent) ProtoReflect ¶
func (x *LoginEvent) ProtoReflect() protoreflect.Message
func (*LoginEvent) Reset ¶
func (x *LoginEvent) Reset()
func (*LoginEvent) String ¶
func (x *LoginEvent) String() string
type LoginEventType ¶
type LoginEventType int32
const ( LoginEventType_LOGIN LoginEventType = 0 LoginEventType_LOGOUT LoginEventType = 1 )
func (LoginEventType) Descriptor ¶
func (LoginEventType) Descriptor() protoreflect.EnumDescriptor
func (LoginEventType) Enum ¶
func (x LoginEventType) Enum() *LoginEventType
func (LoginEventType) EnumDescriptor
deprecated
func (LoginEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoginEventType.Descriptor instead.
func (LoginEventType) Number ¶
func (x LoginEventType) Number() protoreflect.EnumNumber
func (LoginEventType) String ¶
func (x LoginEventType) String() string
func (LoginEventType) Type ¶
func (LoginEventType) Type() protoreflect.EnumType
type LoginResponse ¶
type LoginResponse struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetType ¶
func (x *LoginResponse) GetType() int64
func (*LoginResponse) GetUrl ¶
func (x *LoginResponse) GetUrl() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LoginWithTokenRequest ¶
type LoginWithTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginWithTokenRequest) Descriptor
deprecated
func (*LoginWithTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginWithTokenRequest.ProtoReflect.Descriptor instead.
func (*LoginWithTokenRequest) GetToken ¶
func (x *LoginWithTokenRequest) GetToken() string
func (*LoginWithTokenRequest) ProtoMessage ¶
func (*LoginWithTokenRequest) ProtoMessage()
func (*LoginWithTokenRequest) ProtoReflect ¶
func (x *LoginWithTokenRequest) ProtoReflect() protoreflect.Message
func (*LoginWithTokenRequest) Reset ¶
func (x *LoginWithTokenRequest) Reset()
func (*LoginWithTokenRequest) String ¶
func (x *LoginWithTokenRequest) String() string
type LogoutRequest ¶
type LogoutRequest struct { PersistToken bool `protobuf:"varint,1,opt,name=persist_token,json=persistToken,proto3" json:"persist_token,omitempty"` // contains filtered or unexported fields }
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetPersistToken ¶
func (x *LogoutRequest) GetPersistToken() bool
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type Payload ¶
type Payload struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Data []string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Payload) Descriptor
deprecated
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
type PingResponse ¶
type PingResponse struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Major int64 `protobuf:"varint,2,opt,name=major,proto3" json:"major,omitempty"` Minor int64 `protobuf:"varint,3,opt,name=minor,proto3" json:"minor,omitempty"` Patch int64 `protobuf:"varint,4,opt,name=patch,proto3" json:"patch,omitempty"` Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetMajor ¶
func (x *PingResponse) GetMajor() int64
func (*PingResponse) GetMetadata ¶
func (x *PingResponse) GetMetadata() string
func (*PingResponse) GetMinor ¶
func (x *PingResponse) GetMinor() int64
func (*PingResponse) GetPatch ¶
func (x *PingResponse) GetPatch() int64
func (*PingResponse) GetType ¶
func (x *PingResponse) GetType() int64
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type Plan ¶
type Plan struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Cost string `protobuf:"bytes,3,opt,name=cost,proto3" json:"cost,omitempty"` Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` // contains filtered or unexported fields }
func (*Plan) Descriptor
deprecated
func (*Plan) GetCurrency ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶
func (x *Plan) ProtoReflect() protoreflect.Message
type PlansResponse ¶
type PlansResponse struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Plans []*Plan `protobuf:"bytes,2,rep,name=plans,proto3" json:"plans,omitempty"` // contains filtered or unexported fields }
func (*PlansResponse) Descriptor
deprecated
func (*PlansResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlansResponse.ProtoReflect.Descriptor instead.
func (*PlansResponse) GetPlans ¶
func (x *PlansResponse) GetPlans() []*Plan
func (*PlansResponse) GetType ¶
func (x *PlansResponse) GetType() int64
func (*PlansResponse) ProtoMessage ¶
func (*PlansResponse) ProtoMessage()
func (*PlansResponse) ProtoReflect ¶
func (x *PlansResponse) ProtoReflect() protoreflect.Message
func (*PlansResponse) Reset ¶
func (x *PlansResponse) Reset()
func (*PlansResponse) String ¶
func (x *PlansResponse) String() string
type PortRange ¶
type PortRange struct { StartPort int64 `protobuf:"varint,1,opt,name=start_port,json=startPort,proto3" json:"start_port,omitempty"` EndPort int64 `protobuf:"varint,2,opt,name=end_port,json=endPort,proto3" json:"end_port,omitempty"` // contains filtered or unexported fields }
func (*PortRange) Descriptor
deprecated
func (*PortRange) GetEndPort ¶
func (*PortRange) GetStartPort ¶
func (*PortRange) ProtoMessage ¶
func (*PortRange) ProtoMessage()
func (*PortRange) ProtoReflect ¶
func (x *PortRange) ProtoReflect() protoreflect.Message
type Ports ¶
type Ports struct { Udp []int64 `protobuf:"varint,1,rep,packed,name=udp,proto3" json:"udp,omitempty"` Tcp []int64 `protobuf:"varint,2,rep,packed,name=tcp,proto3" json:"tcp,omitempty"` // contains filtered or unexported fields }
func (*Ports) Descriptor
deprecated
func (*Ports) ProtoMessage ¶
func (*Ports) ProtoMessage()
func (*Ports) ProtoReflect ¶
func (x *Ports) ProtoReflect() protoreflect.Message
type RateRequest ¶
type RateRequest struct { Rating int64 `protobuf:"varint,2,opt,name=rating,proto3" json:"rating,omitempty"` // contains filtered or unexported fields }
func (*RateRequest) Descriptor
deprecated
func (*RateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RateRequest.ProtoReflect.Descriptor instead.
func (*RateRequest) GetRating ¶
func (x *RateRequest) GetRating() int64
func (*RateRequest) ProtoMessage ¶
func (*RateRequest) ProtoMessage()
func (*RateRequest) ProtoReflect ¶
func (x *RateRequest) ProtoReflect() protoreflect.Message
func (*RateRequest) Reset ¶
func (x *RateRequest) Reset()
func (*RateRequest) String ¶
func (x *RateRequest) String() string
type RegisterRequest ¶
type RegisterRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetEmail ¶
func (x *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type Server ¶
type Server struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` HostName string `protobuf:"bytes,4,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` Virtual bool `protobuf:"varint,5,opt,name=virtual,proto3" json:"virtual,omitempty"` ServerGroups []config.ServerGroup `` /* 129-byte string literal not displayed */ Technologies []Technology `protobuf:"varint,7,rep,packed,name=technologies,proto3,enum=pb.Technology" json:"technologies,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetHostName ¶
func (*Server) GetServerGroups ¶
func (x *Server) GetServerGroups() []config.ServerGroup
func (*Server) GetTechnologies ¶
func (x *Server) GetTechnologies() []Technology
func (*Server) GetVirtual ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type ServerCity ¶
type ServerCity struct { CityName string `protobuf:"bytes,1,opt,name=city_name,json=cityName,proto3" json:"city_name,omitempty"` Servers []*Server `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*ServerCity) Descriptor
deprecated
func (*ServerCity) Descriptor() ([]byte, []int)
Deprecated: Use ServerCity.ProtoReflect.Descriptor instead.
func (*ServerCity) GetCityName ¶
func (x *ServerCity) GetCityName() string
func (*ServerCity) GetServers ¶
func (x *ServerCity) GetServers() []*Server
func (*ServerCity) ProtoMessage ¶
func (*ServerCity) ProtoMessage()
func (*ServerCity) ProtoReflect ¶
func (x *ServerCity) ProtoReflect() protoreflect.Message
func (*ServerCity) Reset ¶
func (x *ServerCity) Reset()
func (*ServerCity) String ¶
func (x *ServerCity) String() string
type ServerCountry ¶
type ServerCountry struct { CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` Cities []*ServerCity `protobuf:"bytes,2,rep,name=cities,proto3" json:"cities,omitempty"` // contains filtered or unexported fields }
func (*ServerCountry) Descriptor
deprecated
func (*ServerCountry) Descriptor() ([]byte, []int)
Deprecated: Use ServerCountry.ProtoReflect.Descriptor instead.
func (*ServerCountry) GetCities ¶
func (x *ServerCountry) GetCities() []*ServerCity
func (*ServerCountry) GetCountryCode ¶
func (x *ServerCountry) GetCountryCode() string
func (*ServerCountry) ProtoMessage ¶
func (*ServerCountry) ProtoMessage()
func (*ServerCountry) ProtoReflect ¶
func (x *ServerCountry) ProtoReflect() protoreflect.Message
func (*ServerCountry) Reset ¶
func (x *ServerCountry) Reset()
func (*ServerCountry) String ¶
func (x *ServerCountry) String() string
type ServerGroup ¶
type ServerGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` VirtualLocation bool `protobuf:"varint,2,opt,name=virtualLocation,proto3" json:"virtualLocation,omitempty"` // contains filtered or unexported fields }
func (*ServerGroup) Descriptor
deprecated
func (*ServerGroup) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroup.ProtoReflect.Descriptor instead.
func (*ServerGroup) GetName ¶
func (x *ServerGroup) GetName() string
func (*ServerGroup) GetVirtualLocation ¶
func (x *ServerGroup) GetVirtualLocation() bool
func (*ServerGroup) ProtoMessage ¶
func (*ServerGroup) ProtoMessage()
func (*ServerGroup) ProtoReflect ¶
func (x *ServerGroup) ProtoReflect() protoreflect.Message
func (*ServerGroup) Reset ¶
func (x *ServerGroup) Reset()
func (*ServerGroup) String ¶
func (x *ServerGroup) String() string
type ServerGroupsList ¶
type ServerGroupsList struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Servers []*ServerGroup `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*ServerGroupsList) Descriptor
deprecated
func (*ServerGroupsList) Descriptor() ([]byte, []int)
Deprecated: Use ServerGroupsList.ProtoReflect.Descriptor instead.
func (*ServerGroupsList) GetServers ¶
func (x *ServerGroupsList) GetServers() []*ServerGroup
func (*ServerGroupsList) GetType ¶
func (x *ServerGroupsList) GetType() int64
func (*ServerGroupsList) ProtoMessage ¶
func (*ServerGroupsList) ProtoMessage()
func (*ServerGroupsList) ProtoReflect ¶
func (x *ServerGroupsList) ProtoReflect() protoreflect.Message
func (*ServerGroupsList) Reset ¶
func (x *ServerGroupsList) Reset()
func (*ServerGroupsList) String ¶
func (x *ServerGroupsList) String() string
type ServersError ¶
type ServersError int32
const ( ServersError_NO_ERROR ServersError = 0 ServersError_GET_CONFIG_ERROR ServersError = 1 ServersError_FILTER_SERVERS_ERROR ServersError = 2 )
func (ServersError) Descriptor ¶
func (ServersError) Descriptor() protoreflect.EnumDescriptor
func (ServersError) Enum ¶
func (x ServersError) Enum() *ServersError
func (ServersError) EnumDescriptor
deprecated
func (ServersError) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServersError.Descriptor instead.
func (ServersError) Number ¶
func (x ServersError) Number() protoreflect.EnumNumber
func (ServersError) String ¶
func (x ServersError) String() string
func (ServersError) Type ¶
func (ServersError) Type() protoreflect.EnumType
type ServersMap ¶
type ServersMap struct { ServersByCountry []*ServerCountry `protobuf:"bytes,1,rep,name=servers_by_country,json=serversByCountry,proto3" json:"servers_by_country,omitempty"` // contains filtered or unexported fields }
func (*ServersMap) Descriptor
deprecated
func (*ServersMap) Descriptor() ([]byte, []int)
Deprecated: Use ServersMap.ProtoReflect.Descriptor instead.
func (*ServersMap) GetServersByCountry ¶
func (x *ServersMap) GetServersByCountry() []*ServerCountry
func (*ServersMap) ProtoMessage ¶
func (*ServersMap) ProtoMessage()
func (*ServersMap) ProtoReflect ¶
func (x *ServersMap) ProtoReflect() protoreflect.Message
func (*ServersMap) Reset ¶
func (x *ServersMap) Reset()
func (*ServersMap) String ¶
func (x *ServersMap) String() string
type ServersResponse ¶
type ServersResponse struct { // Types that are assignable to Response: // // *ServersResponse_Servers // *ServersResponse_Error Response isServersResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ServersResponse) Descriptor
deprecated
func (*ServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServersResponse.ProtoReflect.Descriptor instead.
func (*ServersResponse) GetError ¶
func (x *ServersResponse) GetError() ServersError
func (*ServersResponse) GetResponse ¶
func (m *ServersResponse) GetResponse() isServersResponse_Response
func (*ServersResponse) GetServers ¶
func (x *ServersResponse) GetServers() *ServersMap
func (*ServersResponse) ProtoMessage ¶
func (*ServersResponse) ProtoMessage()
func (*ServersResponse) ProtoReflect ¶
func (x *ServersResponse) ProtoReflect() protoreflect.Message
func (*ServersResponse) Reset ¶
func (x *ServersResponse) Reset()
func (*ServersResponse) String ¶
func (x *ServersResponse) String() string
type ServersResponse_Error ¶
type ServersResponse_Error struct {
Error ServersError `protobuf:"varint,2,opt,name=error,proto3,enum=pb.ServersError,oneof"`
}
type ServersResponse_Servers ¶
type ServersResponse_Servers struct {
Servers *ServersMap `protobuf:"bytes,1,opt,name=servers,proto3,oneof"`
}
type SetAllowlistPortsRequest ¶
type SetAllowlistPortsRequest struct { IsUdp bool `protobuf:"varint,1,opt,name=is_udp,json=isUdp,proto3" json:"is_udp,omitempty"` IsTcp bool `protobuf:"varint,2,opt,name=is_tcp,json=isTcp,proto3" json:"is_tcp,omitempty"` PortRange *PortRange `protobuf:"bytes,3,opt,name=port_range,json=portRange,proto3" json:"port_range,omitempty"` // contains filtered or unexported fields }
func (*SetAllowlistPortsRequest) Descriptor
deprecated
func (*SetAllowlistPortsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowlistPortsRequest.ProtoReflect.Descriptor instead.
func (*SetAllowlistPortsRequest) GetIsTcp ¶
func (x *SetAllowlistPortsRequest) GetIsTcp() bool
func (*SetAllowlistPortsRequest) GetIsUdp ¶
func (x *SetAllowlistPortsRequest) GetIsUdp() bool
func (*SetAllowlistPortsRequest) GetPortRange ¶
func (x *SetAllowlistPortsRequest) GetPortRange() *PortRange
func (*SetAllowlistPortsRequest) ProtoMessage ¶
func (*SetAllowlistPortsRequest) ProtoMessage()
func (*SetAllowlistPortsRequest) ProtoReflect ¶
func (x *SetAllowlistPortsRequest) ProtoReflect() protoreflect.Message
func (*SetAllowlistPortsRequest) Reset ¶
func (x *SetAllowlistPortsRequest) Reset()
func (*SetAllowlistPortsRequest) String ¶
func (x *SetAllowlistPortsRequest) String() string
type SetAllowlistRequest ¶
type SetAllowlistRequest struct { // Types that are assignable to Request: // // *SetAllowlistRequest_SetAllowlistSubnetRequest // *SetAllowlistRequest_SetAllowlistPortsRequest Request isSetAllowlistRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*SetAllowlistRequest) Descriptor
deprecated
func (*SetAllowlistRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowlistRequest.ProtoReflect.Descriptor instead.
func (*SetAllowlistRequest) GetRequest ¶
func (m *SetAllowlistRequest) GetRequest() isSetAllowlistRequest_Request
func (*SetAllowlistRequest) GetSetAllowlistPortsRequest ¶
func (x *SetAllowlistRequest) GetSetAllowlistPortsRequest() *SetAllowlistPortsRequest
func (*SetAllowlistRequest) GetSetAllowlistSubnetRequest ¶
func (x *SetAllowlistRequest) GetSetAllowlistSubnetRequest() *SetAllowlistSubnetRequest
func (*SetAllowlistRequest) ProtoMessage ¶
func (*SetAllowlistRequest) ProtoMessage()
func (*SetAllowlistRequest) ProtoReflect ¶
func (x *SetAllowlistRequest) ProtoReflect() protoreflect.Message
func (*SetAllowlistRequest) Reset ¶
func (x *SetAllowlistRequest) Reset()
func (*SetAllowlistRequest) String ¶
func (x *SetAllowlistRequest) String() string
type SetAllowlistRequest_SetAllowlistPortsRequest ¶
type SetAllowlistRequest_SetAllowlistPortsRequest struct {
SetAllowlistPortsRequest *SetAllowlistPortsRequest `protobuf:"bytes,2,opt,name=set_allowlist_ports_request,json=setAllowlistPortsRequest,proto3,oneof"`
}
type SetAllowlistRequest_SetAllowlistSubnetRequest ¶
type SetAllowlistRequest_SetAllowlistSubnetRequest struct {
SetAllowlistSubnetRequest *SetAllowlistSubnetRequest `protobuf:"bytes,1,opt,name=set_allowlist_subnet_request,json=setAllowlistSubnetRequest,proto3,oneof"`
}
type SetAllowlistSubnetRequest ¶
type SetAllowlistSubnetRequest struct { Subnet string `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"` // contains filtered or unexported fields }
func (*SetAllowlistSubnetRequest) Descriptor
deprecated
func (*SetAllowlistSubnetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowlistSubnetRequest.ProtoReflect.Descriptor instead.
func (*SetAllowlistSubnetRequest) GetSubnet ¶
func (x *SetAllowlistSubnetRequest) GetSubnet() string
func (*SetAllowlistSubnetRequest) ProtoMessage ¶
func (*SetAllowlistSubnetRequest) ProtoMessage()
func (*SetAllowlistSubnetRequest) ProtoReflect ¶
func (x *SetAllowlistSubnetRequest) ProtoReflect() protoreflect.Message
func (*SetAllowlistSubnetRequest) Reset ¶
func (x *SetAllowlistSubnetRequest) Reset()
func (*SetAllowlistSubnetRequest) String ¶
func (x *SetAllowlistSubnetRequest) String() string
type SetAutoconnectRequest ¶
type SetAutoconnectRequest struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` ServerTag string `protobuf:"bytes,2,opt,name=server_tag,json=serverTag,proto3" json:"server_tag,omitempty"` // contains filtered or unexported fields }
func (*SetAutoconnectRequest) Descriptor
deprecated
func (*SetAutoconnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAutoconnectRequest.ProtoReflect.Descriptor instead.
func (*SetAutoconnectRequest) GetEnabled ¶
func (x *SetAutoconnectRequest) GetEnabled() bool
func (*SetAutoconnectRequest) GetServerTag ¶
func (x *SetAutoconnectRequest) GetServerTag() string
func (*SetAutoconnectRequest) ProtoMessage ¶
func (*SetAutoconnectRequest) ProtoMessage()
func (*SetAutoconnectRequest) ProtoReflect ¶
func (x *SetAutoconnectRequest) ProtoReflect() protoreflect.Message
func (*SetAutoconnectRequest) Reset ¶
func (x *SetAutoconnectRequest) Reset()
func (*SetAutoconnectRequest) String ¶
func (x *SetAutoconnectRequest) String() string
type SetDNSRequest ¶
type SetDNSRequest struct { Dns []string `protobuf:"bytes,2,rep,name=dns,proto3" json:"dns,omitempty"` ThreatProtectionLite bool `protobuf:"varint,3,opt,name=threat_protection_lite,json=threatProtectionLite,proto3" json:"threat_protection_lite,omitempty"` // contains filtered or unexported fields }
func (*SetDNSRequest) Descriptor
deprecated
func (*SetDNSRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDNSRequest.ProtoReflect.Descriptor instead.
func (*SetDNSRequest) GetDns ¶
func (x *SetDNSRequest) GetDns() []string
func (*SetDNSRequest) GetThreatProtectionLite ¶
func (x *SetDNSRequest) GetThreatProtectionLite() bool
func (*SetDNSRequest) ProtoMessage ¶
func (*SetDNSRequest) ProtoMessage()
func (*SetDNSRequest) ProtoReflect ¶
func (x *SetDNSRequest) ProtoReflect() protoreflect.Message
func (*SetDNSRequest) Reset ¶
func (x *SetDNSRequest) Reset()
func (*SetDNSRequest) String ¶
func (x *SetDNSRequest) String() string
type SetDNSResponse ¶
type SetDNSResponse struct { // Types that are assignable to Response: // // *SetDNSResponse_ErrorCode // *SetDNSResponse_SetDnsStatus Response isSetDNSResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SetDNSResponse) Descriptor
deprecated
func (*SetDNSResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDNSResponse.ProtoReflect.Descriptor instead.
func (*SetDNSResponse) GetErrorCode ¶
func (x *SetDNSResponse) GetErrorCode() SetErrorCode
func (*SetDNSResponse) GetResponse ¶
func (m *SetDNSResponse) GetResponse() isSetDNSResponse_Response
func (*SetDNSResponse) GetSetDnsStatus ¶
func (x *SetDNSResponse) GetSetDnsStatus() SetDNSStatus
func (*SetDNSResponse) ProtoMessage ¶
func (*SetDNSResponse) ProtoMessage()
func (*SetDNSResponse) ProtoReflect ¶
func (x *SetDNSResponse) ProtoReflect() protoreflect.Message
func (*SetDNSResponse) Reset ¶
func (x *SetDNSResponse) Reset()
func (*SetDNSResponse) String ¶
func (x *SetDNSResponse) String() string
type SetDNSResponse_ErrorCode ¶
type SetDNSResponse_ErrorCode struct {
ErrorCode SetErrorCode `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=pb.SetErrorCode,oneof"`
}
type SetDNSResponse_SetDnsStatus ¶
type SetDNSResponse_SetDnsStatus struct {
SetDnsStatus SetDNSStatus `protobuf:"varint,3,opt,name=set_dns_status,json=setDnsStatus,proto3,enum=pb.SetDNSStatus,oneof"`
}
type SetDNSStatus ¶
type SetDNSStatus int32
const ( SetDNSStatus_DNS_CONFIGURED SetDNSStatus = 0 SetDNSStatus_DNS_CONFIGURED_TPL_RESET SetDNSStatus = 1 SetDNSStatus_INVALID_DNS_ADDRESS SetDNSStatus = 2 SetDNSStatus_TOO_MANY_VALUES SetDNSStatus = 3 )
func (SetDNSStatus) Descriptor ¶
func (SetDNSStatus) Descriptor() protoreflect.EnumDescriptor
func (SetDNSStatus) Enum ¶
func (x SetDNSStatus) Enum() *SetDNSStatus
func (SetDNSStatus) EnumDescriptor
deprecated
func (SetDNSStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetDNSStatus.Descriptor instead.
func (SetDNSStatus) Number ¶
func (x SetDNSStatus) Number() protoreflect.EnumNumber
func (SetDNSStatus) String ¶
func (x SetDNSStatus) String() string
func (SetDNSStatus) Type ¶
func (SetDNSStatus) Type() protoreflect.EnumType
type SetErrorCode ¶
type SetErrorCode int32
const ( SetErrorCode_FAILURE SetErrorCode = 0 SetErrorCode_CONFIG_ERROR SetErrorCode = 1 SetErrorCode_ALREADY_SET SetErrorCode = 2 )
func (SetErrorCode) Descriptor ¶
func (SetErrorCode) Descriptor() protoreflect.EnumDescriptor
func (SetErrorCode) Enum ¶
func (x SetErrorCode) Enum() *SetErrorCode
func (SetErrorCode) EnumDescriptor
deprecated
func (SetErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetErrorCode.Descriptor instead.
func (SetErrorCode) Number ¶
func (x SetErrorCode) Number() protoreflect.EnumNumber
func (SetErrorCode) String ¶
func (x SetErrorCode) String() string
func (SetErrorCode) Type ¶
func (SetErrorCode) Type() protoreflect.EnumType
type SetGenericRequest ¶
type SetGenericRequest struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*SetGenericRequest) Descriptor
deprecated
func (*SetGenericRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetGenericRequest.ProtoReflect.Descriptor instead.
func (*SetGenericRequest) GetEnabled ¶
func (x *SetGenericRequest) GetEnabled() bool
func (*SetGenericRequest) ProtoMessage ¶
func (*SetGenericRequest) ProtoMessage()
func (*SetGenericRequest) ProtoReflect ¶
func (x *SetGenericRequest) ProtoReflect() protoreflect.Message
func (*SetGenericRequest) Reset ¶
func (x *SetGenericRequest) Reset()
func (*SetGenericRequest) String ¶
func (x *SetGenericRequest) String() string
type SetKillSwitchRequest ¶
type SetKillSwitchRequest struct { KillSwitch bool `protobuf:"varint,2,opt,name=kill_switch,json=killSwitch,proto3" json:"kill_switch,omitempty"` // contains filtered or unexported fields }
func (*SetKillSwitchRequest) Descriptor
deprecated
func (*SetKillSwitchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetKillSwitchRequest.ProtoReflect.Descriptor instead.
func (*SetKillSwitchRequest) GetKillSwitch ¶
func (x *SetKillSwitchRequest) GetKillSwitch() bool
func (*SetKillSwitchRequest) ProtoMessage ¶
func (*SetKillSwitchRequest) ProtoMessage()
func (*SetKillSwitchRequest) ProtoReflect ¶
func (x *SetKillSwitchRequest) ProtoReflect() protoreflect.Message
func (*SetKillSwitchRequest) Reset ¶
func (x *SetKillSwitchRequest) Reset()
func (*SetKillSwitchRequest) String ¶
func (x *SetKillSwitchRequest) String() string
type SetLANDiscoveryRequest ¶
type SetLANDiscoveryRequest struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*SetLANDiscoveryRequest) Descriptor
deprecated
func (*SetLANDiscoveryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLANDiscoveryRequest.ProtoReflect.Descriptor instead.
func (*SetLANDiscoveryRequest) GetEnabled ¶
func (x *SetLANDiscoveryRequest) GetEnabled() bool
func (*SetLANDiscoveryRequest) ProtoMessage ¶
func (*SetLANDiscoveryRequest) ProtoMessage()
func (*SetLANDiscoveryRequest) ProtoReflect ¶
func (x *SetLANDiscoveryRequest) ProtoReflect() protoreflect.Message
func (*SetLANDiscoveryRequest) Reset ¶
func (x *SetLANDiscoveryRequest) Reset()
func (*SetLANDiscoveryRequest) String ¶
func (x *SetLANDiscoveryRequest) String() string
type SetLANDiscoveryResponse ¶
type SetLANDiscoveryResponse struct { // Types that are assignable to Response: // // *SetLANDiscoveryResponse_ErrorCode // *SetLANDiscoveryResponse_SetLanDiscoveryStatus Response isSetLANDiscoveryResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SetLANDiscoveryResponse) Descriptor
deprecated
func (*SetLANDiscoveryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetLANDiscoveryResponse.ProtoReflect.Descriptor instead.
func (*SetLANDiscoveryResponse) GetErrorCode ¶
func (x *SetLANDiscoveryResponse) GetErrorCode() SetErrorCode
func (*SetLANDiscoveryResponse) GetResponse ¶
func (m *SetLANDiscoveryResponse) GetResponse() isSetLANDiscoveryResponse_Response
func (*SetLANDiscoveryResponse) GetSetLanDiscoveryStatus ¶
func (x *SetLANDiscoveryResponse) GetSetLanDiscoveryStatus() SetLANDiscoveryStatus
func (*SetLANDiscoveryResponse) ProtoMessage ¶
func (*SetLANDiscoveryResponse) ProtoMessage()
func (*SetLANDiscoveryResponse) ProtoReflect ¶
func (x *SetLANDiscoveryResponse) ProtoReflect() protoreflect.Message
func (*SetLANDiscoveryResponse) Reset ¶
func (x *SetLANDiscoveryResponse) Reset()
func (*SetLANDiscoveryResponse) String ¶
func (x *SetLANDiscoveryResponse) String() string
type SetLANDiscoveryResponse_ErrorCode ¶
type SetLANDiscoveryResponse_ErrorCode struct {
ErrorCode SetErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=pb.SetErrorCode,oneof"`
}
type SetLANDiscoveryResponse_SetLanDiscoveryStatus ¶
type SetLANDiscoveryResponse_SetLanDiscoveryStatus struct {
SetLanDiscoveryStatus SetLANDiscoveryStatus `protobuf:"varint,2,opt,name=set_lan_discovery_status,json=setLanDiscoveryStatus,proto3,enum=pb.SetLANDiscoveryStatus,oneof"`
}
type SetLANDiscoveryStatus ¶
type SetLANDiscoveryStatus int32
const ( SetLANDiscoveryStatus_DISCOVERY_CONFIGURED SetLANDiscoveryStatus = 0 SetLANDiscoveryStatus_DISCOVERY_CONFIGURED_ALLOWLIST_RESET SetLANDiscoveryStatus = 1 )
func (SetLANDiscoveryStatus) Descriptor ¶
func (SetLANDiscoveryStatus) Descriptor() protoreflect.EnumDescriptor
func (SetLANDiscoveryStatus) Enum ¶
func (x SetLANDiscoveryStatus) Enum() *SetLANDiscoveryStatus
func (SetLANDiscoveryStatus) EnumDescriptor
deprecated
func (SetLANDiscoveryStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetLANDiscoveryStatus.Descriptor instead.
func (SetLANDiscoveryStatus) Number ¶
func (x SetLANDiscoveryStatus) Number() protoreflect.EnumNumber
func (SetLANDiscoveryStatus) String ¶
func (x SetLANDiscoveryStatus) String() string
func (SetLANDiscoveryStatus) Type ¶
func (SetLANDiscoveryStatus) Type() protoreflect.EnumType
type SetNotifyRequest ¶
type SetNotifyRequest struct { Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` Notify bool `protobuf:"varint,3,opt,name=notify,proto3" json:"notify,omitempty"` // contains filtered or unexported fields }
func (*SetNotifyRequest) Descriptor
deprecated
func (*SetNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNotifyRequest.ProtoReflect.Descriptor instead.
func (*SetNotifyRequest) GetNotify ¶
func (x *SetNotifyRequest) GetNotify() bool
func (*SetNotifyRequest) GetUid ¶
func (x *SetNotifyRequest) GetUid() int64
func (*SetNotifyRequest) ProtoMessage ¶
func (*SetNotifyRequest) ProtoMessage()
func (*SetNotifyRequest) ProtoReflect ¶
func (x *SetNotifyRequest) ProtoReflect() protoreflect.Message
func (*SetNotifyRequest) Reset ¶
func (x *SetNotifyRequest) Reset()
func (*SetNotifyRequest) String ¶
func (x *SetNotifyRequest) String() string
type SetProtocolRequest ¶
type SetProtocolRequest struct { Protocol config.Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=config.Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
func (*SetProtocolRequest) Descriptor
deprecated
func (*SetProtocolRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetProtocolRequest.ProtoReflect.Descriptor instead.
func (*SetProtocolRequest) GetProtocol ¶
func (x *SetProtocolRequest) GetProtocol() config.Protocol
func (*SetProtocolRequest) ProtoMessage ¶
func (*SetProtocolRequest) ProtoMessage()
func (*SetProtocolRequest) ProtoReflect ¶
func (x *SetProtocolRequest) ProtoReflect() protoreflect.Message
func (*SetProtocolRequest) Reset ¶
func (x *SetProtocolRequest) Reset()
func (*SetProtocolRequest) String ¶
func (x *SetProtocolRequest) String() string
type SetProtocolResponse ¶
type SetProtocolResponse struct { // Types that are assignable to Response: // // *SetProtocolResponse_ErrorCode // *SetProtocolResponse_SetProtocolStatus Response isSetProtocolResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SetProtocolResponse) Descriptor
deprecated
func (*SetProtocolResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetProtocolResponse.ProtoReflect.Descriptor instead.
func (*SetProtocolResponse) GetErrorCode ¶
func (x *SetProtocolResponse) GetErrorCode() SetErrorCode
func (*SetProtocolResponse) GetResponse ¶
func (m *SetProtocolResponse) GetResponse() isSetProtocolResponse_Response
func (*SetProtocolResponse) GetSetProtocolStatus ¶
func (x *SetProtocolResponse) GetSetProtocolStatus() SetProtocolStatus
func (*SetProtocolResponse) ProtoMessage ¶
func (*SetProtocolResponse) ProtoMessage()
func (*SetProtocolResponse) ProtoReflect ¶
func (x *SetProtocolResponse) ProtoReflect() protoreflect.Message
func (*SetProtocolResponse) Reset ¶
func (x *SetProtocolResponse) Reset()
func (*SetProtocolResponse) String ¶
func (x *SetProtocolResponse) String() string
type SetProtocolResponse_ErrorCode ¶
type SetProtocolResponse_ErrorCode struct {
ErrorCode SetErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=pb.SetErrorCode,oneof"`
}
type SetProtocolResponse_SetProtocolStatus ¶
type SetProtocolResponse_SetProtocolStatus struct {
SetProtocolStatus SetProtocolStatus `protobuf:"varint,2,opt,name=set_protocol_status,json=setProtocolStatus,proto3,enum=pb.SetProtocolStatus,oneof"`
}
type SetProtocolStatus ¶
type SetProtocolStatus int32
const ( SetProtocolStatus_PROTOCOL_CONFIGURED SetProtocolStatus = 0 SetProtocolStatus_PROTOCOL_CONFIGURED_VPN_ON SetProtocolStatus = 1 SetProtocolStatus_INVALID_TECHNOLOGY SetProtocolStatus = 2 )
func (SetProtocolStatus) Descriptor ¶
func (SetProtocolStatus) Descriptor() protoreflect.EnumDescriptor
func (SetProtocolStatus) Enum ¶
func (x SetProtocolStatus) Enum() *SetProtocolStatus
func (SetProtocolStatus) EnumDescriptor
deprecated
func (SetProtocolStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetProtocolStatus.Descriptor instead.
func (SetProtocolStatus) Number ¶
func (x SetProtocolStatus) Number() protoreflect.EnumNumber
func (SetProtocolStatus) String ¶
func (x SetProtocolStatus) String() string
func (SetProtocolStatus) Type ¶
func (SetProtocolStatus) Type() protoreflect.EnumType
type SetTechnologyRequest ¶
type SetTechnologyRequest struct { Technology config.Technology `protobuf:"varint,2,opt,name=technology,proto3,enum=config.Technology" json:"technology,omitempty"` // contains filtered or unexported fields }
func (*SetTechnologyRequest) Descriptor
deprecated
func (*SetTechnologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTechnologyRequest.ProtoReflect.Descriptor instead.
func (*SetTechnologyRequest) GetTechnology ¶
func (x *SetTechnologyRequest) GetTechnology() config.Technology
func (*SetTechnologyRequest) ProtoMessage ¶
func (*SetTechnologyRequest) ProtoMessage()
func (*SetTechnologyRequest) ProtoReflect ¶
func (x *SetTechnologyRequest) ProtoReflect() protoreflect.Message
func (*SetTechnologyRequest) Reset ¶
func (x *SetTechnologyRequest) Reset()
func (*SetTechnologyRequest) String ¶
func (x *SetTechnologyRequest) String() string
type SetThreatProtectionLiteRequest ¶
type SetThreatProtectionLiteRequest struct { ThreatProtectionLite bool `protobuf:"varint,1,opt,name=threat_protection_lite,json=threatProtectionLite,proto3" json:"threat_protection_lite,omitempty"` // contains filtered or unexported fields }
func (*SetThreatProtectionLiteRequest) Descriptor
deprecated
func (*SetThreatProtectionLiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetThreatProtectionLiteRequest.ProtoReflect.Descriptor instead.
func (*SetThreatProtectionLiteRequest) GetThreatProtectionLite ¶
func (x *SetThreatProtectionLiteRequest) GetThreatProtectionLite() bool
func (*SetThreatProtectionLiteRequest) ProtoMessage ¶
func (*SetThreatProtectionLiteRequest) ProtoMessage()
func (*SetThreatProtectionLiteRequest) ProtoReflect ¶
func (x *SetThreatProtectionLiteRequest) ProtoReflect() protoreflect.Message
func (*SetThreatProtectionLiteRequest) Reset ¶
func (x *SetThreatProtectionLiteRequest) Reset()
func (*SetThreatProtectionLiteRequest) String ¶
func (x *SetThreatProtectionLiteRequest) String() string
type SetThreatProtectionLiteResponse ¶
type SetThreatProtectionLiteResponse struct { // Types that are assignable to Response: // // *SetThreatProtectionLiteResponse_ErrorCode // *SetThreatProtectionLiteResponse_SetThreatProtectionLiteStatus Response isSetThreatProtectionLiteResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SetThreatProtectionLiteResponse) Descriptor
deprecated
func (*SetThreatProtectionLiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetThreatProtectionLiteResponse.ProtoReflect.Descriptor instead.
func (*SetThreatProtectionLiteResponse) GetErrorCode ¶
func (x *SetThreatProtectionLiteResponse) GetErrorCode() SetErrorCode
func (*SetThreatProtectionLiteResponse) GetResponse ¶
func (m *SetThreatProtectionLiteResponse) GetResponse() isSetThreatProtectionLiteResponse_Response
func (*SetThreatProtectionLiteResponse) GetSetThreatProtectionLiteStatus ¶
func (x *SetThreatProtectionLiteResponse) GetSetThreatProtectionLiteStatus() SetThreatProtectionLiteStatus
func (*SetThreatProtectionLiteResponse) ProtoMessage ¶
func (*SetThreatProtectionLiteResponse) ProtoMessage()
func (*SetThreatProtectionLiteResponse) ProtoReflect ¶
func (x *SetThreatProtectionLiteResponse) ProtoReflect() protoreflect.Message
func (*SetThreatProtectionLiteResponse) Reset ¶
func (x *SetThreatProtectionLiteResponse) Reset()
func (*SetThreatProtectionLiteResponse) String ¶
func (x *SetThreatProtectionLiteResponse) String() string
type SetThreatProtectionLiteResponse_ErrorCode ¶
type SetThreatProtectionLiteResponse_ErrorCode struct {
ErrorCode SetErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=pb.SetErrorCode,oneof"`
}
type SetThreatProtectionLiteResponse_SetThreatProtectionLiteStatus ¶
type SetThreatProtectionLiteResponse_SetThreatProtectionLiteStatus struct {
SetThreatProtectionLiteStatus SetThreatProtectionLiteStatus `` /* 148-byte string literal not displayed */
}
type SetThreatProtectionLiteStatus ¶
type SetThreatProtectionLiteStatus int32
const ( SetThreatProtectionLiteStatus_TPL_CONFIGURED SetThreatProtectionLiteStatus = 0 SetThreatProtectionLiteStatus_TPL_CONFIGURED_DNS_RESET SetThreatProtectionLiteStatus = 1 )
func (SetThreatProtectionLiteStatus) Descriptor ¶
func (SetThreatProtectionLiteStatus) Descriptor() protoreflect.EnumDescriptor
func (SetThreatProtectionLiteStatus) Enum ¶
func (x SetThreatProtectionLiteStatus) Enum() *SetThreatProtectionLiteStatus
func (SetThreatProtectionLiteStatus) EnumDescriptor
deprecated
func (SetThreatProtectionLiteStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetThreatProtectionLiteStatus.Descriptor instead.
func (SetThreatProtectionLiteStatus) Number ¶
func (x SetThreatProtectionLiteStatus) Number() protoreflect.EnumNumber
func (SetThreatProtectionLiteStatus) String ¶
func (x SetThreatProtectionLiteStatus) String() string
func (SetThreatProtectionLiteStatus) Type ¶
func (SetThreatProtectionLiteStatus) Type() protoreflect.EnumType
type SetTrayRequest ¶
type SetTrayRequest struct { Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` Tray bool `protobuf:"varint,3,opt,name=tray,proto3" json:"tray,omitempty"` // contains filtered or unexported fields }
func (*SetTrayRequest) Descriptor
deprecated
func (*SetTrayRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTrayRequest.ProtoReflect.Descriptor instead.
func (*SetTrayRequest) GetTray ¶
func (x *SetTrayRequest) GetTray() bool
func (*SetTrayRequest) GetUid ¶
func (x *SetTrayRequest) GetUid() int64
func (*SetTrayRequest) ProtoMessage ¶
func (*SetTrayRequest) ProtoMessage()
func (*SetTrayRequest) ProtoReflect ¶
func (x *SetTrayRequest) ProtoReflect() protoreflect.Message
func (*SetTrayRequest) Reset ¶
func (x *SetTrayRequest) Reset()
func (*SetTrayRequest) String ¶
func (x *SetTrayRequest) String() string
type SetUint32Request ¶
type SetUint32Request struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SetUint32Request) Descriptor
deprecated
func (*SetUint32Request) Descriptor() ([]byte, []int)
Deprecated: Use SetUint32Request.ProtoReflect.Descriptor instead.
func (*SetUint32Request) GetValue ¶
func (x *SetUint32Request) GetValue() uint32
func (*SetUint32Request) ProtoMessage ¶
func (*SetUint32Request) ProtoMessage()
func (*SetUint32Request) ProtoReflect ¶
func (x *SetUint32Request) ProtoReflect() protoreflect.Message
func (*SetUint32Request) Reset ¶
func (x *SetUint32Request) Reset()
func (*SetUint32Request) String ¶
func (x *SetUint32Request) String() string
type Settings ¶
type Settings struct { Technology config.Technology `protobuf:"varint,1,opt,name=technology,proto3,enum=config.Technology" json:"technology,omitempty"` Firewall bool `protobuf:"varint,2,opt,name=firewall,proto3" json:"firewall,omitempty"` KillSwitch bool `protobuf:"varint,3,opt,name=kill_switch,json=killSwitch,proto3" json:"kill_switch,omitempty"` AutoConnectData *AutoconnectData `protobuf:"bytes,4,opt,name=auto_connect_data,json=autoConnectData,proto3" json:"auto_connect_data,omitempty"` Ipv6 bool `protobuf:"varint,5,opt,name=ipv6,proto3" json:"ipv6,omitempty"` Meshnet bool `protobuf:"varint,6,opt,name=meshnet,proto3" json:"meshnet,omitempty"` Routing bool `protobuf:"varint,7,opt,name=routing,proto3" json:"routing,omitempty"` Fwmark uint32 `protobuf:"varint,8,opt,name=fwmark,proto3" json:"fwmark,omitempty"` Analytics bool `protobuf:"varint,9,opt,name=analytics,proto3" json:"analytics,omitempty"` Dns []string `protobuf:"bytes,10,rep,name=dns,proto3" json:"dns,omitempty"` ThreatProtectionLite bool `protobuf:"varint,11,opt,name=threat_protection_lite,json=threatProtectionLite,proto3" json:"threat_protection_lite,omitempty"` Protocol config.Protocol `protobuf:"varint,12,opt,name=protocol,proto3,enum=config.Protocol" json:"protocol,omitempty"` LanDiscovery bool `protobuf:"varint,13,opt,name=lan_discovery,json=lanDiscovery,proto3" json:"lan_discovery,omitempty"` Allowlist *Allowlist `protobuf:"bytes,14,opt,name=allowlist,proto3" json:"allowlist,omitempty"` Obfuscate bool `protobuf:"varint,15,opt,name=obfuscate,proto3" json:"obfuscate,omitempty"` VirtualLocation bool `protobuf:"varint,16,opt,name=virtualLocation,proto3" json:"virtualLocation,omitempty"` PostquantumVpn bool `protobuf:"varint,17,opt,name=postquantum_vpn,json=postquantumVpn,proto3" json:"postquantum_vpn,omitempty"` UserSettings *UserSpecificSettings `protobuf:"bytes,18,opt,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"` // contains filtered or unexported fields }
func (*Settings) Descriptor
deprecated
func (*Settings) GetAllowlist ¶
func (*Settings) GetAnalytics ¶
func (*Settings) GetAutoConnectData ¶
func (x *Settings) GetAutoConnectData() *AutoconnectData
func (*Settings) GetFirewall ¶
func (*Settings) GetKillSwitch ¶
func (*Settings) GetLanDiscovery ¶
func (*Settings) GetMeshnet ¶
func (*Settings) GetObfuscate ¶
func (*Settings) GetPostquantumVpn ¶
func (*Settings) GetProtocol ¶
func (*Settings) GetRouting ¶
func (*Settings) GetTechnology ¶
func (x *Settings) GetTechnology() config.Technology
func (*Settings) GetThreatProtectionLite ¶
func (*Settings) GetUserSettings ¶
func (x *Settings) GetUserSettings() *UserSpecificSettings
func (*Settings) GetVirtualLocation ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
type SettingsResponse ¶
type SettingsResponse struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Data *Settings `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SettingsResponse) Descriptor
deprecated
func (*SettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettingsResponse.ProtoReflect.Descriptor instead.
func (*SettingsResponse) GetData ¶
func (x *SettingsResponse) GetData() *Settings
func (*SettingsResponse) GetType ¶
func (x *SettingsResponse) GetType() int64
func (*SettingsResponse) ProtoMessage ¶
func (*SettingsResponse) ProtoMessage()
func (*SettingsResponse) ProtoReflect ¶
func (x *SettingsResponse) ProtoReflect() protoreflect.Message
func (*SettingsResponse) Reset ¶
func (x *SettingsResponse) Reset()
func (*SettingsResponse) String ¶
func (x *SettingsResponse) String() string
type StatusResponse ¶
type StatusResponse struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Technology config.Technology `protobuf:"varint,2,opt,name=technology,proto3,enum=config.Technology" json:"technology,omitempty"` Protocol config.Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=config.Protocol" json:"protocol,omitempty"` Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"` Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"` Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"` City string `protobuf:"bytes,7,opt,name=city,proto3" json:"city,omitempty"` Download uint64 `protobuf:"varint,8,opt,name=download,proto3" json:"download,omitempty"` Upload uint64 `protobuf:"varint,9,opt,name=upload,proto3" json:"upload,omitempty"` Uptime int64 `protobuf:"varint,10,opt,name=uptime,proto3" json:"uptime,omitempty"` Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"` VirtualLocation bool `protobuf:"varint,12,opt,name=virtualLocation,proto3" json:"virtualLocation,omitempty"` Parameters *ConnectionParameters `protobuf:"bytes,13,opt,name=parameters,proto3" json:"parameters,omitempty"` PostQuantum bool `protobuf:"varint,14,opt,name=postQuantum,proto3" json:"postQuantum,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetCity ¶
func (x *StatusResponse) GetCity() string
func (*StatusResponse) GetCountry ¶
func (x *StatusResponse) GetCountry() string
func (*StatusResponse) GetDownload ¶
func (x *StatusResponse) GetDownload() uint64
func (*StatusResponse) GetHostname ¶
func (x *StatusResponse) GetHostname() string
func (*StatusResponse) GetIp ¶
func (x *StatusResponse) GetIp() string
func (*StatusResponse) GetName ¶
func (x *StatusResponse) GetName() string
func (*StatusResponse) GetParameters ¶
func (x *StatusResponse) GetParameters() *ConnectionParameters
func (*StatusResponse) GetPostQuantum ¶
func (x *StatusResponse) GetPostQuantum() bool
func (*StatusResponse) GetProtocol ¶
func (x *StatusResponse) GetProtocol() config.Protocol
func (*StatusResponse) GetState ¶
func (x *StatusResponse) GetState() string
func (*StatusResponse) GetTechnology ¶
func (x *StatusResponse) GetTechnology() config.Technology
func (*StatusResponse) GetUpload ¶
func (x *StatusResponse) GetUpload() uint64
func (*StatusResponse) GetUptime ¶
func (x *StatusResponse) GetUptime() int64
func (*StatusResponse) GetVirtualLocation ¶
func (x *StatusResponse) GetVirtualLocation() bool
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type String ¶
type String struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*String) Descriptor
deprecated
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
type Technology ¶
type Technology int32
const ( Technology_UNKNOWN_TECHNLOGY Technology = 0 Technology_NORDLYNX Technology = 1 Technology_OPENVPN_TCP Technology = 2 Technology_OPENVPN_UDP Technology = 3 Technology_OBFUSCATED_OPENVPN_TCP Technology = 4 Technology_OBFUSCATED_OPENVPN_UDP Technology = 5 )
func (Technology) Descriptor ¶
func (Technology) Descriptor() protoreflect.EnumDescriptor
func (Technology) Enum ¶
func (x Technology) Enum() *Technology
func (Technology) EnumDescriptor
deprecated
func (Technology) EnumDescriptor() ([]byte, []int)
Deprecated: Use Technology.Descriptor instead.
func (Technology) Number ¶
func (x Technology) Number() protoreflect.EnumNumber
func (Technology) String ¶
func (x Technology) String() string
func (Technology) Type ¶
func (Technology) Type() protoreflect.EnumType
type TokenInfoResponse ¶
type TokenInfoResponse struct { Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` ExpiresAt string `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` TrustedPassToken string `protobuf:"bytes,4,opt,name=trusted_pass_token,json=trustedPassToken,proto3" json:"trusted_pass_token,omitempty"` TrustedPassOwnerId string `protobuf:"bytes,5,opt,name=trusted_pass_owner_id,json=trustedPassOwnerId,proto3" json:"trusted_pass_owner_id,omitempty"` // contains filtered or unexported fields }
func (*TokenInfoResponse) Descriptor
deprecated
func (*TokenInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenInfoResponse.ProtoReflect.Descriptor instead.
func (*TokenInfoResponse) GetExpiresAt ¶
func (x *TokenInfoResponse) GetExpiresAt() string
func (*TokenInfoResponse) GetToken ¶
func (x *TokenInfoResponse) GetToken() string
func (*TokenInfoResponse) GetTrustedPassOwnerId ¶
func (x *TokenInfoResponse) GetTrustedPassOwnerId() string
func (*TokenInfoResponse) GetTrustedPassToken ¶
func (x *TokenInfoResponse) GetTrustedPassToken() string
func (*TokenInfoResponse) GetType ¶
func (x *TokenInfoResponse) GetType() int64
func (*TokenInfoResponse) ProtoMessage ¶
func (*TokenInfoResponse) ProtoMessage()
func (*TokenInfoResponse) ProtoReflect ¶
func (x *TokenInfoResponse) ProtoReflect() protoreflect.Message
func (*TokenInfoResponse) Reset ¶
func (x *TokenInfoResponse) Reset()
func (*TokenInfoResponse) String ¶
func (x *TokenInfoResponse) String() string
type TriState ¶
type TriState int32
func (TriState) Descriptor ¶
func (TriState) Descriptor() protoreflect.EnumDescriptor
func (TriState) EnumDescriptor
deprecated
func (TriState) Number ¶
func (x TriState) Number() protoreflect.EnumNumber
func (TriState) Type ¶
func (TriState) Type() protoreflect.EnumType
type UnimplementedDaemonServer ¶
type UnimplementedDaemonServer struct{}
UnimplementedDaemonServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDaemonServer) AccountInfo ¶
func (UnimplementedDaemonServer) AccountInfo(context.Context, *Empty) (*AccountResponse, error)
func (UnimplementedDaemonServer) Cities ¶
func (UnimplementedDaemonServer) Cities(context.Context, *CitiesRequest) (*ServerGroupsList, error)
func (UnimplementedDaemonServer) ClaimOnlinePurchase ¶
func (UnimplementedDaemonServer) ClaimOnlinePurchase(context.Context, *Empty) (*ClaimOnlinePurchaseResponse, error)
func (UnimplementedDaemonServer) Connect ¶
func (UnimplementedDaemonServer) Connect(*ConnectRequest, grpc.ServerStreamingServer[Payload]) error
func (UnimplementedDaemonServer) ConnectCancel ¶
func (UnimplementedDaemonServer) Countries ¶
func (UnimplementedDaemonServer) Countries(context.Context, *Empty) (*ServerGroupsList, error)
func (UnimplementedDaemonServer) Disconnect ¶
func (UnimplementedDaemonServer) Disconnect(*Empty, grpc.ServerStreamingServer[Payload]) error
func (UnimplementedDaemonServer) GetServers ¶
func (UnimplementedDaemonServer) GetServers(context.Context, *Empty) (*ServersResponse, error)
func (UnimplementedDaemonServer) Groups ¶
func (UnimplementedDaemonServer) Groups(context.Context, *Empty) (*ServerGroupsList, error)
func (UnimplementedDaemonServer) IsLoggedIn ¶
func (UnimplementedDaemonServer) LoginOAuth2 ¶
func (UnimplementedDaemonServer) LoginOAuth2(*Empty, grpc.ServerStreamingServer[String]) error
func (UnimplementedDaemonServer) LoginOAuth2Callback ¶
func (UnimplementedDaemonServer) LoginWithToken ¶
func (UnimplementedDaemonServer) LoginWithToken(context.Context, *LoginWithTokenRequest) (*LoginResponse, error)
func (UnimplementedDaemonServer) Logout ¶
func (UnimplementedDaemonServer) Logout(context.Context, *LogoutRequest) (*Payload, error)
func (UnimplementedDaemonServer) Ping ¶
func (UnimplementedDaemonServer) Ping(context.Context, *Empty) (*PingResponse, error)
func (UnimplementedDaemonServer) Plans ¶
func (UnimplementedDaemonServer) Plans(context.Context, *Empty) (*PlansResponse, error)
func (UnimplementedDaemonServer) RateConnection ¶
func (UnimplementedDaemonServer) RateConnection(context.Context, *RateRequest) (*Payload, error)
func (UnimplementedDaemonServer) Register ¶
func (UnimplementedDaemonServer) Register(context.Context, *RegisterRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetAllowlist ¶
func (UnimplementedDaemonServer) SetAllowlist(context.Context, *SetAllowlistRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetAnalytics ¶
func (UnimplementedDaemonServer) SetAnalytics(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetAutoConnect ¶
func (UnimplementedDaemonServer) SetAutoConnect(context.Context, *SetAutoconnectRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetDNS ¶
func (UnimplementedDaemonServer) SetDNS(context.Context, *SetDNSRequest) (*SetDNSResponse, error)
func (UnimplementedDaemonServer) SetDefaults ¶
func (UnimplementedDaemonServer) SetFirewall ¶
func (UnimplementedDaemonServer) SetFirewall(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetFirewallMark ¶
func (UnimplementedDaemonServer) SetFirewallMark(context.Context, *SetUint32Request) (*Payload, error)
func (UnimplementedDaemonServer) SetIpv6 ¶
func (UnimplementedDaemonServer) SetIpv6(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetKillSwitch ¶
func (UnimplementedDaemonServer) SetKillSwitch(context.Context, *SetKillSwitchRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetLANDiscovery ¶
func (UnimplementedDaemonServer) SetLANDiscovery(context.Context, *SetLANDiscoveryRequest) (*SetLANDiscoveryResponse, error)
func (UnimplementedDaemonServer) SetNotify ¶
func (UnimplementedDaemonServer) SetNotify(context.Context, *SetNotifyRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetObfuscate ¶
func (UnimplementedDaemonServer) SetObfuscate(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetPostQuantum ¶
func (UnimplementedDaemonServer) SetPostQuantum(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetProtocol ¶
func (UnimplementedDaemonServer) SetProtocol(context.Context, *SetProtocolRequest) (*SetProtocolResponse, error)
func (UnimplementedDaemonServer) SetRouting ¶
func (UnimplementedDaemonServer) SetRouting(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetTechnology ¶
func (UnimplementedDaemonServer) SetTechnology(context.Context, *SetTechnologyRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetThreatProtectionLite ¶
func (UnimplementedDaemonServer) SetThreatProtectionLite(context.Context, *SetThreatProtectionLiteRequest) (*SetThreatProtectionLiteResponse, error)
func (UnimplementedDaemonServer) SetTray ¶
func (UnimplementedDaemonServer) SetTray(context.Context, *SetTrayRequest) (*Payload, error)
func (UnimplementedDaemonServer) SetVirtualLocation ¶
func (UnimplementedDaemonServer) SetVirtualLocation(context.Context, *SetGenericRequest) (*Payload, error)
func (UnimplementedDaemonServer) Settings ¶
func (UnimplementedDaemonServer) Settings(context.Context, *Empty) (*SettingsResponse, error)
func (UnimplementedDaemonServer) SettingsProtocols ¶
func (UnimplementedDaemonServer) SettingsTechnologies ¶
func (UnimplementedDaemonServer) Status ¶
func (UnimplementedDaemonServer) Status(context.Context, *Empty) (*StatusResponse, error)
func (UnimplementedDaemonServer) SubscribeToStateChanges ¶
func (UnimplementedDaemonServer) SubscribeToStateChanges(*Empty, grpc.ServerStreamingServer[AppState]) error
func (UnimplementedDaemonServer) TokenInfo ¶
func (UnimplementedDaemonServer) TokenInfo(context.Context, *Empty) (*TokenInfoResponse, error)
func (UnimplementedDaemonServer) UnsetAllAllowlist ¶
func (UnimplementedDaemonServer) UnsetAllowlist ¶
func (UnimplementedDaemonServer) UnsetAllowlist(context.Context, *SetAllowlistRequest) (*Payload, error)
type UnsafeDaemonServer ¶
type UnsafeDaemonServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServer will result in compilation errors.
type UpdateEvent ¶
type UpdateEvent int32
const (
UpdateEvent_SERVERS_LIST_UPDATE UpdateEvent = 0
)
func (UpdateEvent) Descriptor ¶
func (UpdateEvent) Descriptor() protoreflect.EnumDescriptor
func (UpdateEvent) Enum ¶
func (x UpdateEvent) Enum() *UpdateEvent
func (UpdateEvent) EnumDescriptor
deprecated
func (UpdateEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateEvent.Descriptor instead.
func (UpdateEvent) Number ¶
func (x UpdateEvent) Number() protoreflect.EnumNumber
func (UpdateEvent) String ¶
func (x UpdateEvent) String() string
func (UpdateEvent) Type ¶
func (UpdateEvent) Type() protoreflect.EnumType
type UserSpecificSettings ¶
type UserSpecificSettings struct { Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` Notify bool `protobuf:"varint,2,opt,name=notify,proto3" json:"notify,omitempty"` Tray bool `protobuf:"varint,3,opt,name=tray,proto3" json:"tray,omitempty"` // contains filtered or unexported fields }
func (*UserSpecificSettings) Descriptor
deprecated
func (*UserSpecificSettings) Descriptor() ([]byte, []int)
Deprecated: Use UserSpecificSettings.ProtoReflect.Descriptor instead.
func (*UserSpecificSettings) GetNotify ¶
func (x *UserSpecificSettings) GetNotify() bool
func (*UserSpecificSettings) GetTray ¶
func (x *UserSpecificSettings) GetTray() bool
func (*UserSpecificSettings) GetUid ¶
func (x *UserSpecificSettings) GetUid() int64
func (*UserSpecificSettings) ProtoMessage ¶
func (*UserSpecificSettings) ProtoMessage()
func (*UserSpecificSettings) ProtoReflect ¶
func (x *UserSpecificSettings) ProtoReflect() protoreflect.Message
func (*UserSpecificSettings) Reset ¶
func (x *UserSpecificSettings) Reset()
func (*UserSpecificSettings) String ¶
func (x *UserSpecificSettings) String() string