Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterMeshnetServer(s grpc.ServiceRegistrar, srv MeshnetServer)
- type AllowFileshareErrorCode
- func (AllowFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AllowFileshareErrorCode) Enum() *AllowFileshareErrorCode
- func (AllowFileshareErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowFileshareErrorCode) Number() protoreflect.EnumNumber
- func (x AllowFileshareErrorCode) String() string
- func (AllowFileshareErrorCode) Type() protoreflect.EnumType
- type AllowFileshareResponse
- func (*AllowFileshareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllowFileshareResponse) GetAllowSendErrorCode() AllowFileshareErrorCode
- func (x *AllowFileshareResponse) GetEmpty() *Empty
- func (x *AllowFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *AllowFileshareResponse) GetResponse() isAllowFileshareResponse_Response
- func (x *AllowFileshareResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *AllowFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*AllowFileshareResponse) ProtoMessage()
- func (x *AllowFileshareResponse) ProtoReflect() protoreflect.Message
- func (x *AllowFileshareResponse) Reset()
- func (x *AllowFileshareResponse) String() string
- type AllowFileshareResponse_AllowSendErrorCode
- type AllowFileshareResponse_Empty
- type AllowFileshareResponse_MeshnetErrorCode
- type AllowFileshareResponse_ServiceErrorCode
- type AllowFileshareResponse_UpdatePeerErrorCode
- type AllowIncomingErrorCode
- func (AllowIncomingErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AllowIncomingErrorCode) Enum() *AllowIncomingErrorCode
- func (AllowIncomingErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowIncomingErrorCode) Number() protoreflect.EnumNumber
- func (x AllowIncomingErrorCode) String() string
- func (AllowIncomingErrorCode) Type() protoreflect.EnumType
- type AllowIncomingResponse
- func (*AllowIncomingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllowIncomingResponse) GetAllowIncomingErrorCode() AllowIncomingErrorCode
- func (x *AllowIncomingResponse) GetEmpty() *Empty
- func (x *AllowIncomingResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *AllowIncomingResponse) GetResponse() isAllowIncomingResponse_Response
- func (x *AllowIncomingResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *AllowIncomingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*AllowIncomingResponse) ProtoMessage()
- func (x *AllowIncomingResponse) ProtoReflect() protoreflect.Message
- func (x *AllowIncomingResponse) Reset()
- func (x *AllowIncomingResponse) String() string
- type AllowIncomingResponse_AllowIncomingErrorCode
- type AllowIncomingResponse_Empty
- type AllowIncomingResponse_MeshnetErrorCode
- type AllowIncomingResponse_ServiceErrorCode
- type AllowIncomingResponse_UpdatePeerErrorCode
- type AllowLocalNetworkErrorCode
- func (AllowLocalNetworkErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AllowLocalNetworkErrorCode) Enum() *AllowLocalNetworkErrorCode
- func (AllowLocalNetworkErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowLocalNetworkErrorCode) Number() protoreflect.EnumNumber
- func (x AllowLocalNetworkErrorCode) String() string
- func (AllowLocalNetworkErrorCode) Type() protoreflect.EnumType
- type AllowLocalNetworkResponse
- func (*AllowLocalNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllowLocalNetworkResponse) GetAllowLocalNetworkErrorCode() AllowLocalNetworkErrorCode
- func (x *AllowLocalNetworkResponse) GetEmpty() *Empty
- func (x *AllowLocalNetworkResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *AllowLocalNetworkResponse) GetResponse() isAllowLocalNetworkResponse_Response
- func (x *AllowLocalNetworkResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *AllowLocalNetworkResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*AllowLocalNetworkResponse) ProtoMessage()
- func (x *AllowLocalNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *AllowLocalNetworkResponse) Reset()
- func (x *AllowLocalNetworkResponse) String() string
- type AllowLocalNetworkResponse_AllowLocalNetworkErrorCode
- type AllowLocalNetworkResponse_Empty
- type AllowLocalNetworkResponse_MeshnetErrorCode
- type AllowLocalNetworkResponse_ServiceErrorCode
- type AllowLocalNetworkResponse_UpdatePeerErrorCode
- type AllowRoutingErrorCode
- func (AllowRoutingErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AllowRoutingErrorCode) Enum() *AllowRoutingErrorCode
- func (AllowRoutingErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AllowRoutingErrorCode) Number() protoreflect.EnumNumber
- func (x AllowRoutingErrorCode) String() string
- func (AllowRoutingErrorCode) Type() protoreflect.EnumType
- type AllowRoutingResponse
- func (*AllowRoutingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllowRoutingResponse) GetAllowRoutingErrorCode() AllowRoutingErrorCode
- func (x *AllowRoutingResponse) GetEmpty() *Empty
- func (x *AllowRoutingResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *AllowRoutingResponse) GetResponse() isAllowRoutingResponse_Response
- func (x *AllowRoutingResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *AllowRoutingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*AllowRoutingResponse) ProtoMessage()
- func (x *AllowRoutingResponse) ProtoReflect() protoreflect.Message
- func (x *AllowRoutingResponse) Reset()
- func (x *AllowRoutingResponse) String() string
- type AllowRoutingResponse_AllowRoutingErrorCode
- type AllowRoutingResponse_Empty
- type AllowRoutingResponse_MeshnetErrorCode
- type AllowRoutingResponse_ServiceErrorCode
- type AllowRoutingResponse_UpdatePeerErrorCode
- type ChangeMachineNicknameRequest
- func (*ChangeMachineNicknameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeMachineNicknameRequest) GetNickname() string
- func (*ChangeMachineNicknameRequest) ProtoMessage()
- func (x *ChangeMachineNicknameRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeMachineNicknameRequest) Reset()
- func (x *ChangeMachineNicknameRequest) String() string
- type ChangeNicknameErrorCode
- func (ChangeNicknameErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x ChangeNicknameErrorCode) Enum() *ChangeNicknameErrorCode
- func (ChangeNicknameErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChangeNicknameErrorCode) Number() protoreflect.EnumNumber
- func (x ChangeNicknameErrorCode) String() string
- func (ChangeNicknameErrorCode) Type() protoreflect.EnumType
- type ChangeNicknameResponse
- func (*ChangeNicknameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeNicknameResponse) GetChangeNicknameErrorCode() ChangeNicknameErrorCode
- func (x *ChangeNicknameResponse) GetEmpty() *Empty
- func (x *ChangeNicknameResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *ChangeNicknameResponse) GetResponse() isChangeNicknameResponse_Response
- func (x *ChangeNicknameResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *ChangeNicknameResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*ChangeNicknameResponse) ProtoMessage()
- func (x *ChangeNicknameResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeNicknameResponse) Reset()
- func (x *ChangeNicknameResponse) String() string
- type ChangeNicknameResponse_ChangeNicknameErrorCode
- type ChangeNicknameResponse_Empty
- type ChangeNicknameResponse_MeshnetErrorCode
- type ChangeNicknameResponse_ServiceErrorCode
- type ChangeNicknameResponse_UpdatePeerErrorCode
- type ChangePeerNicknameRequest
- func (*ChangePeerNicknameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePeerNicknameRequest) GetIdentifier() string
- func (x *ChangePeerNicknameRequest) GetNickname() string
- func (*ChangePeerNicknameRequest) ProtoMessage()
- func (x *ChangePeerNicknameRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePeerNicknameRequest) Reset()
- func (x *ChangePeerNicknameRequest) String() string
- type ConnectErrorCode
- func (ConnectErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectErrorCode) Enum() *ConnectErrorCode
- func (ConnectErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectErrorCode) Number() protoreflect.EnumNumber
- func (x ConnectErrorCode) String() string
- func (ConnectErrorCode) Type() protoreflect.EnumType
- type ConnectResponse
- func (*ConnectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectResponse) GetConnectErrorCode() ConnectErrorCode
- func (x *ConnectResponse) GetEmpty() *Empty
- func (x *ConnectResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *ConnectResponse) GetResponse() isConnectResponse_Response
- func (x *ConnectResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *ConnectResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*ConnectResponse) ProtoMessage()
- func (x *ConnectResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectResponse) Reset()
- func (x *ConnectResponse) String() string
- type ConnectResponse_ConnectErrorCode
- type ConnectResponse_Empty
- type ConnectResponse_MeshnetErrorCode
- type ConnectResponse_ServiceErrorCode
- type ConnectResponse_UpdatePeerErrorCode
- type DenyFileshareErrorCode
- func (DenyFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x DenyFileshareErrorCode) Enum() *DenyFileshareErrorCode
- func (DenyFileshareErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DenyFileshareErrorCode) Number() protoreflect.EnumNumber
- func (x DenyFileshareErrorCode) String() string
- func (DenyFileshareErrorCode) Type() protoreflect.EnumType
- type DenyFileshareResponse
- func (*DenyFileshareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DenyFileshareResponse) GetDenySendErrorCode() DenyFileshareErrorCode
- func (x *DenyFileshareResponse) GetEmpty() *Empty
- func (x *DenyFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *DenyFileshareResponse) GetResponse() isDenyFileshareResponse_Response
- func (x *DenyFileshareResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *DenyFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*DenyFileshareResponse) ProtoMessage()
- func (x *DenyFileshareResponse) ProtoReflect() protoreflect.Message
- func (x *DenyFileshareResponse) Reset()
- func (x *DenyFileshareResponse) String() string
- type DenyFileshareResponse_DenySendErrorCode
- type DenyFileshareResponse_Empty
- type DenyFileshareResponse_MeshnetErrorCode
- type DenyFileshareResponse_ServiceErrorCode
- type DenyFileshareResponse_UpdatePeerErrorCode
- type DenyIncomingErrorCode
- func (DenyIncomingErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x DenyIncomingErrorCode) Enum() *DenyIncomingErrorCode
- func (DenyIncomingErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DenyIncomingErrorCode) Number() protoreflect.EnumNumber
- func (x DenyIncomingErrorCode) String() string
- func (DenyIncomingErrorCode) Type() protoreflect.EnumType
- type DenyIncomingResponse
- func (*DenyIncomingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DenyIncomingResponse) GetDenyIncomingErrorCode() DenyIncomingErrorCode
- func (x *DenyIncomingResponse) GetEmpty() *Empty
- func (x *DenyIncomingResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *DenyIncomingResponse) GetResponse() isDenyIncomingResponse_Response
- func (x *DenyIncomingResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *DenyIncomingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*DenyIncomingResponse) ProtoMessage()
- func (x *DenyIncomingResponse) ProtoReflect() protoreflect.Message
- func (x *DenyIncomingResponse) Reset()
- func (x *DenyIncomingResponse) String() string
- type DenyIncomingResponse_DenyIncomingErrorCode
- type DenyIncomingResponse_Empty
- type DenyIncomingResponse_MeshnetErrorCode
- type DenyIncomingResponse_ServiceErrorCode
- type DenyIncomingResponse_UpdatePeerErrorCode
- type DenyInviteRequest
- type DenyLocalNetworkErrorCode
- func (DenyLocalNetworkErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x DenyLocalNetworkErrorCode) Enum() *DenyLocalNetworkErrorCode
- func (DenyLocalNetworkErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DenyLocalNetworkErrorCode) Number() protoreflect.EnumNumber
- func (x DenyLocalNetworkErrorCode) String() string
- func (DenyLocalNetworkErrorCode) Type() protoreflect.EnumType
- type DenyLocalNetworkResponse
- func (*DenyLocalNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DenyLocalNetworkResponse) GetDenyLocalNetworkErrorCode() DenyLocalNetworkErrorCode
- func (x *DenyLocalNetworkResponse) GetEmpty() *Empty
- func (x *DenyLocalNetworkResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *DenyLocalNetworkResponse) GetResponse() isDenyLocalNetworkResponse_Response
- func (x *DenyLocalNetworkResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *DenyLocalNetworkResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*DenyLocalNetworkResponse) ProtoMessage()
- func (x *DenyLocalNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *DenyLocalNetworkResponse) Reset()
- func (x *DenyLocalNetworkResponse) String() string
- type DenyLocalNetworkResponse_DenyLocalNetworkErrorCode
- type DenyLocalNetworkResponse_Empty
- type DenyLocalNetworkResponse_MeshnetErrorCode
- type DenyLocalNetworkResponse_ServiceErrorCode
- type DenyLocalNetworkResponse_UpdatePeerErrorCode
- type DenyRoutingErrorCode
- func (DenyRoutingErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x DenyRoutingErrorCode) Enum() *DenyRoutingErrorCode
- func (DenyRoutingErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DenyRoutingErrorCode) Number() protoreflect.EnumNumber
- func (x DenyRoutingErrorCode) String() string
- func (DenyRoutingErrorCode) Type() protoreflect.EnumType
- type DenyRoutingResponse
- func (*DenyRoutingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DenyRoutingResponse) GetDenyRoutingErrorCode() DenyRoutingErrorCode
- func (x *DenyRoutingResponse) GetEmpty() *Empty
- func (x *DenyRoutingResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *DenyRoutingResponse) GetResponse() isDenyRoutingResponse_Response
- func (x *DenyRoutingResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *DenyRoutingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*DenyRoutingResponse) ProtoMessage()
- func (x *DenyRoutingResponse) ProtoReflect() protoreflect.Message
- func (x *DenyRoutingResponse) Reset()
- func (x *DenyRoutingResponse) String() string
- type DenyRoutingResponse_DenyRoutingErrorCode
- type DenyRoutingResponse_Empty
- type DenyRoutingResponse_MeshnetErrorCode
- type DenyRoutingResponse_ServiceErrorCode
- type DenyRoutingResponse_UpdatePeerErrorCode
- type DisableAutomaticFileshareErrorCode
- func (DisableAutomaticFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x DisableAutomaticFileshareErrorCode) Enum() *DisableAutomaticFileshareErrorCode
- func (DisableAutomaticFileshareErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DisableAutomaticFileshareErrorCode) Number() protoreflect.EnumNumber
- func (x DisableAutomaticFileshareErrorCode) String() string
- func (DisableAutomaticFileshareErrorCode) Type() protoreflect.EnumType
- type DisableAutomaticFileshareResponse
- func (*DisableAutomaticFileshareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DisableAutomaticFileshareResponse) GetDisableAutomaticFileshareErrorCode() DisableAutomaticFileshareErrorCode
- func (x *DisableAutomaticFileshareResponse) GetEmpty() *Empty
- func (x *DisableAutomaticFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *DisableAutomaticFileshareResponse) GetResponse() isDisableAutomaticFileshareResponse_Response
- func (x *DisableAutomaticFileshareResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *DisableAutomaticFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*DisableAutomaticFileshareResponse) ProtoMessage()
- func (x *DisableAutomaticFileshareResponse) ProtoReflect() protoreflect.Message
- func (x *DisableAutomaticFileshareResponse) Reset()
- func (x *DisableAutomaticFileshareResponse) String() string
- type DisableAutomaticFileshareResponse_DisableAutomaticFileshareErrorCode
- type DisableAutomaticFileshareResponse_Empty
- type DisableAutomaticFileshareResponse_MeshnetErrorCode
- type DisableAutomaticFileshareResponse_ServiceErrorCode
- type DisableAutomaticFileshareResponse_UpdatePeerErrorCode
- type Empty
- type EnableAutomaticFileshareErrorCode
- func (EnableAutomaticFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x EnableAutomaticFileshareErrorCode) Enum() *EnableAutomaticFileshareErrorCode
- func (EnableAutomaticFileshareErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnableAutomaticFileshareErrorCode) Number() protoreflect.EnumNumber
- func (x EnableAutomaticFileshareErrorCode) String() string
- func (EnableAutomaticFileshareErrorCode) Type() protoreflect.EnumType
- type EnableAutomaticFileshareResponse
- func (*EnableAutomaticFileshareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnableAutomaticFileshareResponse) GetEmpty() *Empty
- func (x *EnableAutomaticFileshareResponse) GetEnableAutomaticFileshareErrorCode() EnableAutomaticFileshareErrorCode
- func (x *EnableAutomaticFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *EnableAutomaticFileshareResponse) GetResponse() isEnableAutomaticFileshareResponse_Response
- func (x *EnableAutomaticFileshareResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *EnableAutomaticFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*EnableAutomaticFileshareResponse) ProtoMessage()
- func (x *EnableAutomaticFileshareResponse) ProtoReflect() protoreflect.Message
- func (x *EnableAutomaticFileshareResponse) Reset()
- func (x *EnableAutomaticFileshareResponse) String() string
- type EnableAutomaticFileshareResponse_Empty
- type EnableAutomaticFileshareResponse_EnableAutomaticFileshareErrorCode
- type EnableAutomaticFileshareResponse_MeshnetErrorCode
- type EnableAutomaticFileshareResponse_ServiceErrorCode
- type EnableAutomaticFileshareResponse_UpdatePeerErrorCode
- type EnabledStatus
- func (*EnabledStatus) Descriptor() ([]byte, []int)deprecated
- func (x *EnabledStatus) GetUid() uint32
- func (x *EnabledStatus) GetValue() bool
- func (*EnabledStatus) ProtoMessage()
- func (x *EnabledStatus) ProtoReflect() protoreflect.Message
- func (x *EnabledStatus) Reset()
- func (x *EnabledStatus) String() string
- type GetInvitesResponse
- func (*GetInvitesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInvitesResponse) GetInvites() *InvitesList
- func (x *GetInvitesResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *GetInvitesResponse) GetResponse() isGetInvitesResponse_Response
- func (x *GetInvitesResponse) GetServiceErrorCode() ServiceErrorCode
- func (*GetInvitesResponse) ProtoMessage()
- func (x *GetInvitesResponse) ProtoReflect() protoreflect.Message
- func (x *GetInvitesResponse) Reset()
- func (x *GetInvitesResponse) String() string
- type GetInvitesResponse_Invites
- type GetInvitesResponse_MeshnetErrorCode
- type GetInvitesResponse_ServiceErrorCode
- type GetPeersResponse
- func (*GetPeersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPeersResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (x *GetPeersResponse) GetPeers() *PeerList
- func (m *GetPeersResponse) GetResponse() isGetPeersResponse_Response
- func (x *GetPeersResponse) GetServiceErrorCode() ServiceErrorCode
- func (*GetPeersResponse) ProtoMessage()
- func (x *GetPeersResponse) ProtoReflect() protoreflect.Message
- func (x *GetPeersResponse) Reset()
- func (x *GetPeersResponse) String() string
- type GetPeersResponse_MeshnetErrorCode
- type GetPeersResponse_Peers
- type GetPeersResponse_ServiceErrorCode
- type Invite
- func (*Invite) Descriptor() ([]byte, []int)deprecated
- func (x *Invite) GetEmail() string
- func (x *Invite) GetExpiresAt() *timestamppb.Timestamp
- func (x *Invite) GetOs() string
- func (*Invite) ProtoMessage()
- func (x *Invite) ProtoReflect() protoreflect.Message
- func (x *Invite) Reset()
- func (x *Invite) String() string
- type InviteRequest
- func (*InviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteRequest) GetAllowFileshare() bool
- func (x *InviteRequest) GetAllowIncomingTraffic() bool
- func (x *InviteRequest) GetAllowLocalNetwork() bool
- func (x *InviteRequest) GetAllowTrafficRouting() bool
- func (x *InviteRequest) GetEmail() string
- func (*InviteRequest) ProtoMessage()
- func (x *InviteRequest) ProtoReflect() protoreflect.Message
- func (x *InviteRequest) Reset()
- func (x *InviteRequest) String() string
- type InviteResponse
- func (*InviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InviteResponse) GetEmpty() *Empty
- func (x *InviteResponse) GetInviteResponseErrorCode() InviteResponseErrorCode
- func (x *InviteResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *InviteResponse) GetResponse() isInviteResponse_Response
- func (x *InviteResponse) GetServiceErrorCode() ServiceErrorCode
- func (*InviteResponse) ProtoMessage()
- func (x *InviteResponse) ProtoReflect() protoreflect.Message
- func (x *InviteResponse) Reset()
- func (x *InviteResponse) String() string
- type InviteResponseErrorCode
- func (InviteResponseErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x InviteResponseErrorCode) Enum() *InviteResponseErrorCode
- func (InviteResponseErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x InviteResponseErrorCode) Number() protoreflect.EnumNumber
- func (x InviteResponseErrorCode) String() string
- func (InviteResponseErrorCode) Type() protoreflect.EnumType
- type InviteResponse_Empty
- type InviteResponse_InviteResponseErrorCode
- type InviteResponse_MeshnetErrorCode
- type InviteResponse_ServiceErrorCode
- type InvitesList
- func (*InvitesList) Descriptor() ([]byte, []int)deprecated
- func (x *InvitesList) GetReceived() []*Invite
- func (x *InvitesList) GetSent() []*Invite
- func (*InvitesList) ProtoMessage()
- func (x *InvitesList) ProtoReflect() protoreflect.Message
- func (x *InvitesList) Reset()
- func (x *InvitesList) String() string
- type IsEnabledResponse
- func (*IsEnabledResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsEnabledResponse) GetErrorCode() ServiceErrorCode
- func (m *IsEnabledResponse) GetResponse() isIsEnabledResponse_Response
- func (x *IsEnabledResponse) GetStatus() *EnabledStatus
- func (*IsEnabledResponse) ProtoMessage()
- func (x *IsEnabledResponse) ProtoReflect() protoreflect.Message
- func (x *IsEnabledResponse) Reset()
- func (x *IsEnabledResponse) String() string
- type IsEnabledResponse_ErrorCode
- type IsEnabledResponse_Status
- type MeshnetClient
- type MeshnetErrorCode
- func (MeshnetErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x MeshnetErrorCode) Enum() *MeshnetErrorCode
- func (MeshnetErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MeshnetErrorCode) Number() protoreflect.EnumNumber
- func (x MeshnetErrorCode) String() string
- func (MeshnetErrorCode) Type() protoreflect.EnumType
- type MeshnetResponse
- func (*MeshnetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MeshnetResponse) GetEmpty() *Empty
- func (x *MeshnetResponse) GetMeshnetError() MeshnetErrorCode
- func (m *MeshnetResponse) GetResponse() isMeshnetResponse_Response
- func (x *MeshnetResponse) GetServiceError() ServiceErrorCode
- func (*MeshnetResponse) ProtoMessage()
- func (x *MeshnetResponse) ProtoReflect() protoreflect.Message
- func (x *MeshnetResponse) Reset()
- func (x *MeshnetResponse) String() string
- type MeshnetResponse_Empty
- type MeshnetResponse_MeshnetError
- type MeshnetResponse_ServiceError
- type MeshnetServer
- type NewTransferNotification
- func (*NewTransferNotification) Descriptor() ([]byte, []int)deprecated
- func (x *NewTransferNotification) GetFileCount() int32
- func (x *NewTransferNotification) GetFileName() string
- func (x *NewTransferNotification) GetIdentifier() string
- func (x *NewTransferNotification) GetOs() string
- func (x *NewTransferNotification) GetTransferId() string
- func (*NewTransferNotification) ProtoMessage()
- func (x *NewTransferNotification) ProtoReflect() protoreflect.Message
- func (x *NewTransferNotification) Reset()
- func (x *NewTransferNotification) String() string
- type NotifyNewTransferResponse
- func (*NotifyNewTransferResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyNewTransferResponse) GetEmpty() *Empty
- func (x *NotifyNewTransferResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *NotifyNewTransferResponse) GetResponse() isNotifyNewTransferResponse_Response
- func (x *NotifyNewTransferResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *NotifyNewTransferResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*NotifyNewTransferResponse) ProtoMessage()
- func (x *NotifyNewTransferResponse) ProtoReflect() protoreflect.Message
- func (x *NotifyNewTransferResponse) Reset()
- func (x *NotifyNewTransferResponse) String() string
- type NotifyNewTransferResponse_Empty
- type NotifyNewTransferResponse_MeshnetErrorCode
- type NotifyNewTransferResponse_ServiceErrorCode
- type NotifyNewTransferResponse_UpdatePeerErrorCode
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)deprecated
- func (x *Peer) GetAlwaysAcceptFiles() bool
- func (x *Peer) GetDistro() string
- func (x *Peer) GetDoIAllowFileshare() bool
- func (x *Peer) GetDoIAllowInbound() bool
- func (x *Peer) GetDoIAllowLocalNetwork() bool
- func (x *Peer) GetDoIAllowRouting() bool
- func (x *Peer) GetEmail() string
- func (x *Peer) GetEndpoints() []string
- func (x *Peer) GetHostname() string
- func (x *Peer) GetIdentifier() string
- func (x *Peer) GetIp() string
- func (x *Peer) GetIsFileshareAllowed() bool
- func (x *Peer) GetIsInboundAllowed() bool
- func (x *Peer) GetIsLocalNetworkAllowed() bool
- func (x *Peer) GetIsRoutable() bool
- func (x *Peer) GetNickname() string
- func (x *Peer) GetOs() string
- func (x *Peer) GetOsVersion() string
- func (x *Peer) GetPubkey() string
- func (x *Peer) GetStatus() PeerStatus
- func (*Peer) ProtoMessage()
- func (x *Peer) ProtoReflect() protoreflect.Message
- func (x *Peer) Reset()
- func (x *Peer) String() string
- type PeerList
- func (*PeerList) Descriptor() ([]byte, []int)deprecated
- func (x *PeerList) GetExternal() []*Peer
- func (x *PeerList) GetLocal() []*Peer
- func (x *PeerList) GetSelf() *Peer
- func (*PeerList) ProtoMessage()
- func (x *PeerList) ProtoReflect() protoreflect.Message
- func (x *PeerList) Reset()
- func (x *PeerList) String() string
- type PeerStatus
- type PrivateKeyResponse
- func (*PrivateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateKeyResponse) GetPrivateKey() string
- func (m *PrivateKeyResponse) GetResponse() isPrivateKeyResponse_Response
- func (x *PrivateKeyResponse) GetServiceErrorCode() ServiceErrorCode
- func (*PrivateKeyResponse) ProtoMessage()
- func (x *PrivateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *PrivateKeyResponse) Reset()
- func (x *PrivateKeyResponse) String() string
- type PrivateKeyResponse_PrivateKey
- type PrivateKeyResponse_ServiceErrorCode
- type RemovePeerResponse
- func (*RemovePeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePeerResponse) GetEmpty() *Empty
- func (x *RemovePeerResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (m *RemovePeerResponse) GetResponse() isRemovePeerResponse_Response
- func (x *RemovePeerResponse) GetServiceErrorCode() ServiceErrorCode
- func (x *RemovePeerResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
- func (*RemovePeerResponse) ProtoMessage()
- func (x *RemovePeerResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePeerResponse) Reset()
- func (x *RemovePeerResponse) String() string
- type RemovePeerResponse_Empty
- type RemovePeerResponse_MeshnetErrorCode
- type RemovePeerResponse_ServiceErrorCode
- type RemovePeerResponse_UpdatePeerErrorCode
- type RespondToInviteErrorCode
- func (RespondToInviteErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x RespondToInviteErrorCode) Enum() *RespondToInviteErrorCode
- func (RespondToInviteErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RespondToInviteErrorCode) Number() protoreflect.EnumNumber
- func (x RespondToInviteErrorCode) String() string
- func (RespondToInviteErrorCode) Type() protoreflect.EnumType
- type RespondToInviteResponse
- func (*RespondToInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RespondToInviteResponse) GetEmpty() *Empty
- func (x *RespondToInviteResponse) GetMeshnetErrorCode() MeshnetErrorCode
- func (x *RespondToInviteResponse) GetRespondToInviteErrorCode() RespondToInviteErrorCode
- func (m *RespondToInviteResponse) GetResponse() isRespondToInviteResponse_Response
- func (x *RespondToInviteResponse) GetServiceErrorCode() ServiceErrorCode
- func (*RespondToInviteResponse) ProtoMessage()
- func (x *RespondToInviteResponse) ProtoReflect() protoreflect.Message
- func (x *RespondToInviteResponse) Reset()
- func (x *RespondToInviteResponse) String() string
- type RespondToInviteResponse_Empty
- type RespondToInviteResponse_MeshnetErrorCode
- type RespondToInviteResponse_RespondToInviteErrorCode
- type RespondToInviteResponse_ServiceErrorCode
- type ServiceBoolResponse
- func (*ServiceBoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceBoolResponse) GetErrorCode() ServiceErrorCode
- func (m *ServiceBoolResponse) GetResponse() isServiceBoolResponse_Response
- func (x *ServiceBoolResponse) GetValue() bool
- func (*ServiceBoolResponse) ProtoMessage()
- func (x *ServiceBoolResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceBoolResponse) Reset()
- func (x *ServiceBoolResponse) String() string
- type ServiceBoolResponse_ErrorCode
- type ServiceBoolResponse_Value
- type ServiceErrorCode
- func (ServiceErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceErrorCode) Enum() *ServiceErrorCode
- func (ServiceErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceErrorCode) Number() protoreflect.EnumNumber
- func (x ServiceErrorCode) String() string
- func (ServiceErrorCode) Type() protoreflect.EnumType
- type ServiceResponse
- func (*ServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResponse) GetEmpty() *Empty
- func (x *ServiceResponse) GetErrorCode() ServiceErrorCode
- func (m *ServiceResponse) GetResponse() isServiceResponse_Response
- func (*ServiceResponse) ProtoMessage()
- func (x *ServiceResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceResponse) Reset()
- func (x *ServiceResponse) String() string
- type ServiceResponse_Empty
- type ServiceResponse_ErrorCode
- type UnimplementedMeshnetServer
- func (UnimplementedMeshnetServer) AcceptInvite(context.Context, *InviteRequest) (*RespondToInviteResponse, error)
- func (UnimplementedMeshnetServer) AllowFileshare(context.Context, *UpdatePeerRequest) (*AllowFileshareResponse, error)
- func (UnimplementedMeshnetServer) AllowIncoming(context.Context, *UpdatePeerRequest) (*AllowIncomingResponse, error)
- func (UnimplementedMeshnetServer) AllowLocalNetwork(context.Context, *UpdatePeerRequest) (*AllowLocalNetworkResponse, error)
- func (UnimplementedMeshnetServer) AllowRouting(context.Context, *UpdatePeerRequest) (*AllowRoutingResponse, error)
- func (UnimplementedMeshnetServer) ChangeMachineNickname(context.Context, *ChangeMachineNicknameRequest) (*ChangeNicknameResponse, error)
- func (UnimplementedMeshnetServer) ChangePeerNickname(context.Context, *ChangePeerNicknameRequest) (*ChangeNicknameResponse, error)
- func (UnimplementedMeshnetServer) Connect(context.Context, *UpdatePeerRequest) (*ConnectResponse, error)
- func (UnimplementedMeshnetServer) ConnectCancel(context.Context, *UpdatePeerRequest) (*ConnectResponse, error)
- func (UnimplementedMeshnetServer) DenyFileshare(context.Context, *UpdatePeerRequest) (*DenyFileshareResponse, error)
- func (UnimplementedMeshnetServer) DenyIncoming(context.Context, *UpdatePeerRequest) (*DenyIncomingResponse, error)
- func (UnimplementedMeshnetServer) DenyInvite(context.Context, *DenyInviteRequest) (*RespondToInviteResponse, error)
- func (UnimplementedMeshnetServer) DenyLocalNetwork(context.Context, *UpdatePeerRequest) (*DenyLocalNetworkResponse, error)
- func (UnimplementedMeshnetServer) DenyRouting(context.Context, *UpdatePeerRequest) (*DenyRoutingResponse, error)
- func (UnimplementedMeshnetServer) DisableAutomaticFileshare(context.Context, *UpdatePeerRequest) (*DisableAutomaticFileshareResponse, error)
- func (UnimplementedMeshnetServer) DisableMeshnet(context.Context, *Empty) (*MeshnetResponse, error)
- func (UnimplementedMeshnetServer) EnableAutomaticFileshare(context.Context, *UpdatePeerRequest) (*EnableAutomaticFileshareResponse, error)
- func (UnimplementedMeshnetServer) EnableMeshnet(context.Context, *Empty) (*MeshnetResponse, error)
- func (UnimplementedMeshnetServer) GetInvites(context.Context, *Empty) (*GetInvitesResponse, error)
- func (UnimplementedMeshnetServer) GetPeers(context.Context, *Empty) (*GetPeersResponse, error)
- func (UnimplementedMeshnetServer) GetPrivateKey(context.Context, *Empty) (*PrivateKeyResponse, error)
- func (UnimplementedMeshnetServer) Invite(context.Context, *InviteRequest) (*InviteResponse, error)
- func (UnimplementedMeshnetServer) IsEnabled(context.Context, *Empty) (*IsEnabledResponse, error)
- func (UnimplementedMeshnetServer) NotifyNewTransfer(context.Context, *NewTransferNotification) (*NotifyNewTransferResponse, error)
- func (UnimplementedMeshnetServer) RefreshMeshnet(context.Context, *Empty) (*MeshnetResponse, error)
- func (UnimplementedMeshnetServer) RemovePeer(context.Context, *UpdatePeerRequest) (*RemovePeerResponse, error)
- func (UnimplementedMeshnetServer) RevokeInvite(context.Context, *DenyInviteRequest) (*RespondToInviteResponse, error)
- type UnsafeMeshnetServer
- type UpdatePeerErrorCode
- func (UpdatePeerErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x UpdatePeerErrorCode) Enum() *UpdatePeerErrorCode
- func (UpdatePeerErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdatePeerErrorCode) Number() protoreflect.EnumNumber
- func (x UpdatePeerErrorCode) String() string
- func (UpdatePeerErrorCode) Type() protoreflect.EnumType
- type UpdatePeerRequest
- func (*UpdatePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePeerRequest) GetIdentifier() string
- func (*UpdatePeerRequest) ProtoMessage()
- func (x *UpdatePeerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePeerRequest) Reset()
- func (x *UpdatePeerRequest) String() string
Constants ¶
const ( Meshnet_EnableMeshnet_FullMethodName = "/meshpb.Meshnet/EnableMeshnet" Meshnet_IsEnabled_FullMethodName = "/meshpb.Meshnet/IsEnabled" Meshnet_DisableMeshnet_FullMethodName = "/meshpb.Meshnet/DisableMeshnet" Meshnet_RefreshMeshnet_FullMethodName = "/meshpb.Meshnet/RefreshMeshnet" Meshnet_GetInvites_FullMethodName = "/meshpb.Meshnet/GetInvites" Meshnet_Invite_FullMethodName = "/meshpb.Meshnet/Invite" Meshnet_RevokeInvite_FullMethodName = "/meshpb.Meshnet/RevokeInvite" Meshnet_AcceptInvite_FullMethodName = "/meshpb.Meshnet/AcceptInvite" Meshnet_DenyInvite_FullMethodName = "/meshpb.Meshnet/DenyInvite" Meshnet_GetPeers_FullMethodName = "/meshpb.Meshnet/GetPeers" Meshnet_RemovePeer_FullMethodName = "/meshpb.Meshnet/RemovePeer" Meshnet_ChangePeerNickname_FullMethodName = "/meshpb.Meshnet/ChangePeerNickname" Meshnet_ChangeMachineNickname_FullMethodName = "/meshpb.Meshnet/ChangeMachineNickname" Meshnet_AllowRouting_FullMethodName = "/meshpb.Meshnet/AllowRouting" Meshnet_DenyRouting_FullMethodName = "/meshpb.Meshnet/DenyRouting" Meshnet_AllowIncoming_FullMethodName = "/meshpb.Meshnet/AllowIncoming" Meshnet_DenyIncoming_FullMethodName = "/meshpb.Meshnet/DenyIncoming" Meshnet_AllowLocalNetwork_FullMethodName = "/meshpb.Meshnet/AllowLocalNetwork" Meshnet_DenyLocalNetwork_FullMethodName = "/meshpb.Meshnet/DenyLocalNetwork" Meshnet_Connect_FullMethodName = "/meshpb.Meshnet/Connect" Meshnet_ConnectCancel_FullMethodName = "/meshpb.Meshnet/ConnectCancel" Meshnet_NotifyNewTransfer_FullMethodName = "/meshpb.Meshnet/NotifyNewTransfer" Meshnet_GetPrivateKey_FullMethodName = "/meshpb.Meshnet/GetPrivateKey" )
Variables ¶
var ( RespondToInviteErrorCode_name = map[int32]string{ 0: "UNKNOWN", 1: "NO_SUCH_INVITATION", 2: "DEVICE_COUNT", } RespondToInviteErrorCode_value = map[string]int32{ "UNKNOWN": 0, "NO_SUCH_INVITATION": 1, "DEVICE_COUNT": 2, } )
Enum value maps for RespondToInviteErrorCode.
var ( InviteResponseErrorCode_name = map[int32]string{ 0: "ALREADY_EXISTS", 1: "INVALID_EMAIL", 2: "SAME_ACCOUNT_EMAIL", 3: "LIMIT_REACHED", 4: "PEER_COUNT", } InviteResponseErrorCode_value = map[string]int32{ "ALREADY_EXISTS": 0, "INVALID_EMAIL": 1, "SAME_ACCOUNT_EMAIL": 2, "LIMIT_REACHED": 3, "PEER_COUNT": 4, } )
Enum value maps for InviteResponseErrorCode.
var ( PeerStatus_name = map[int32]string{ 0: "DISCONNECTED", 1: "CONNECTED", } PeerStatus_value = map[string]int32{ "DISCONNECTED": 0, "CONNECTED": 1, } )
Enum value maps for PeerStatus.
var ( UpdatePeerErrorCode_name = map[int32]string{ 0: "PEER_NOT_FOUND", } UpdatePeerErrorCode_value = map[string]int32{ "PEER_NOT_FOUND": 0, } )
Enum value maps for UpdatePeerErrorCode.
var ( ChangeNicknameErrorCode_name = map[int32]string{ 0: "SAME_NICKNAME", 1: "NICKNAME_ALREADY_EMPTY", 2: "DOMAIN_NAME_EXISTS", 3: "RATE_LIMIT_REACH", 4: "NICKNAME_TOO_LONG", 5: "DUPLICATE_NICKNAME", 6: "CONTAINS_FORBIDDEN_WORD", 7: "SUFFIX_OR_PREFIX_ARE_INVALID", 8: "NICKNAME_HAS_DOUBLE_HYPHENS", 9: "INVALID_CHARS", } ChangeNicknameErrorCode_value = map[string]int32{ "SAME_NICKNAME": 0, "NICKNAME_ALREADY_EMPTY": 1, "DOMAIN_NAME_EXISTS": 2, "RATE_LIMIT_REACH": 3, "NICKNAME_TOO_LONG": 4, "DUPLICATE_NICKNAME": 5, "CONTAINS_FORBIDDEN_WORD": 6, "SUFFIX_OR_PREFIX_ARE_INVALID": 7, "NICKNAME_HAS_DOUBLE_HYPHENS": 8, "INVALID_CHARS": 9, } )
Enum value maps for ChangeNicknameErrorCode.
var ( AllowRoutingErrorCode_name = map[int32]string{ 0: "ROUTING_ALREADY_ALLOWED", } AllowRoutingErrorCode_value = map[string]int32{ "ROUTING_ALREADY_ALLOWED": 0, } )
Enum value maps for AllowRoutingErrorCode.
var ( DenyRoutingErrorCode_name = map[int32]string{ 0: "ROUTING_ALREADY_DENIED", } DenyRoutingErrorCode_value = map[string]int32{ "ROUTING_ALREADY_DENIED": 0, } )
Enum value maps for DenyRoutingErrorCode.
var ( AllowIncomingErrorCode_name = map[int32]string{ 0: "INCOMING_ALREADY_ALLOWED", } AllowIncomingErrorCode_value = map[string]int32{ "INCOMING_ALREADY_ALLOWED": 0, } )
Enum value maps for AllowIncomingErrorCode.
var ( DenyIncomingErrorCode_name = map[int32]string{ 0: "INCOMING_ALREADY_DENIED", } DenyIncomingErrorCode_value = map[string]int32{ "INCOMING_ALREADY_DENIED": 0, } )
Enum value maps for DenyIncomingErrorCode.
var ( AllowLocalNetworkErrorCode_name = map[int32]string{ 0: "LOCAL_NETWORK_ALREADY_ALLOWED", } AllowLocalNetworkErrorCode_value = map[string]int32{ "LOCAL_NETWORK_ALREADY_ALLOWED": 0, } )
Enum value maps for AllowLocalNetworkErrorCode.
var ( DenyLocalNetworkErrorCode_name = map[int32]string{ 0: "LOCAL_NETWORK_ALREADY_DENIED", } DenyLocalNetworkErrorCode_value = map[string]int32{ "LOCAL_NETWORK_ALREADY_DENIED": 0, } )
Enum value maps for DenyLocalNetworkErrorCode.
var (0: "SEND_ALREADY_ALLOWED", } "SEND_ALREADY_ALLOWED": 0, } )
Enum value maps for AllowFileshareErrorCode.
var (0: "SEND_ALREADY_DENIED", } "SEND_ALREADY_DENIED": 0, } )
Enum value maps for DenyFileshareErrorCode.
var (0: "AUTOMATIC_FILESHARE_ALREADY_ENABLED", } "AUTOMATIC_FILESHARE_ALREADY_ENABLED": 0, } )
Enum value maps for EnableAutomaticFileshareErrorCode.
var (0: "AUTOMATIC_FILESHARE_ALREADY_DISABLED", } "AUTOMATIC_FILESHARE_ALREADY_DISABLED": 0, } )
Enum value maps for DisableAutomaticFileshareErrorCode.
var ( ConnectErrorCode_name = map[int32]string{ 0: "PEER_DOES_NOT_ALLOW_ROUTING", 1: "ALREADY_CONNECTED", 2: "CONNECT_FAILED", 3: "PEER_NO_IP", 4: "ALREADY_CONNECTING", 5: "CANCELED", } ConnectErrorCode_value = map[string]int32{ "PEER_DOES_NOT_ALLOW_ROUTING": 0, "ALREADY_CONNECTED": 1, "CONNECT_FAILED": 2, "PEER_NO_IP": 3, "ALREADY_CONNECTING": 4, "CANCELED": 5, } )
Enum value maps for ConnectErrorCode.
var ( ServiceErrorCode_name = map[int32]string{ 0: "NOT_LOGGED_IN", 1: "API_FAILURE", 2: "CONFIG_FAILURE", } ServiceErrorCode_value = map[string]int32{ "NOT_LOGGED_IN": 0, "API_FAILURE": 1, "CONFIG_FAILURE": 2, } )
Enum value maps for ServiceErrorCode.
var ( MeshnetErrorCode_name = map[int32]string{ 0: "NOT_REGISTERED", 1: "LIB_FAILURE", 3: "ALREADY_ENABLED", 4: "ALREADY_DISABLED", 5: "NOT_ENABLED", 6: "TECH_FAILURE", 7: "TUNNEL_CLOSED", 8: "CONFLICT_WITH_PQ", 9: "CONFLICT_WITH_PQ_SERVER", } MeshnetErrorCode_value = map[string]int32{ "NOT_REGISTERED": 0, "LIB_FAILURE": 1, "ALREADY_ENABLED": 3, "ALREADY_DISABLED": 4, "NOT_ENABLED": 5, "TECH_FAILURE": 6, "TUNNEL_CLOSED": 7, "CONFLICT_WITH_PQ": 8, "CONFLICT_WITH_PQ_SERVER": 9, } )
Enum value maps for MeshnetErrorCode.
var File_empty_proto protoreflect.FileDescriptor
var File_fsnotify_proto protoreflect.FileDescriptor
var File_invite_proto protoreflect.FileDescriptor
var File_peer_proto protoreflect.FileDescriptor
var File_service_response_proto protoreflect.FileDescriptor
var Meshnet_ServiceDesc = grpc.ServiceDesc{ ServiceName: "meshpb.Meshnet", HandlerType: (*MeshnetServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EnableMeshnet", Handler: _Meshnet_EnableMeshnet_Handler, }, { MethodName: "IsEnabled", Handler: _Meshnet_IsEnabled_Handler, }, { MethodName: "DisableMeshnet", Handler: _Meshnet_DisableMeshnet_Handler, }, { MethodName: "RefreshMeshnet", Handler: _Meshnet_RefreshMeshnet_Handler, }, { MethodName: "GetInvites", Handler: _Meshnet_GetInvites_Handler, }, { MethodName: "Invite", Handler: _Meshnet_Invite_Handler, }, { MethodName: "RevokeInvite", Handler: _Meshnet_RevokeInvite_Handler, }, { MethodName: "AcceptInvite", Handler: _Meshnet_AcceptInvite_Handler, }, { MethodName: "DenyInvite", Handler: _Meshnet_DenyInvite_Handler, }, { MethodName: "GetPeers", Handler: _Meshnet_GetPeers_Handler, }, { MethodName: "RemovePeer", Handler: _Meshnet_RemovePeer_Handler, }, { MethodName: "ChangePeerNickname", Handler: _Meshnet_ChangePeerNickname_Handler, }, { MethodName: "ChangeMachineNickname", Handler: _Meshnet_ChangeMachineNickname_Handler, }, { MethodName: "AllowRouting", Handler: _Meshnet_AllowRouting_Handler, }, { MethodName: "DenyRouting", Handler: _Meshnet_DenyRouting_Handler, }, { MethodName: "AllowIncoming", Handler: _Meshnet_AllowIncoming_Handler, }, { MethodName: "DenyIncoming", Handler: _Meshnet_DenyIncoming_Handler, }, { MethodName: "AllowLocalNetwork", Handler: _Meshnet_AllowLocalNetwork_Handler, }, { MethodName: "DenyLocalNetwork", Handler: _Meshnet_DenyLocalNetwork_Handler, }, { MethodName: "AllowFileshare", Handler: _Meshnet_AllowFileshare_Handler, }, { MethodName: "DenyFileshare", Handler: _Meshnet_DenyFileshare_Handler, }, { MethodName: "EnableAutomaticFileshare", Handler: _Meshnet_EnableAutomaticFileshare_Handler, }, { MethodName: "DisableAutomaticFileshare", Handler: _Meshnet_DisableAutomaticFileshare_Handler, }, { MethodName: "Connect", Handler: _Meshnet_Connect_Handler, }, { MethodName: "ConnectCancel", Handler: _Meshnet_ConnectCancel_Handler, }, { MethodName: "NotifyNewTransfer", Handler: _Meshnet_NotifyNewTransfer_Handler, }, { MethodName: "GetPrivateKey", Handler: _Meshnet_GetPrivateKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
Meshnet_ServiceDesc is the grpc.ServiceDesc for Meshnet service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMeshnetServer ¶
func RegisterMeshnetServer(s grpc.ServiceRegistrar, srv MeshnetServer)
Types ¶
type AllowFileshareErrorCode ¶
type AllowFileshareErrorCode int32
const (
)func (AllowFileshareErrorCode) Descriptor ¶
func (AllowFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AllowFileshareErrorCode) Enum ¶
func (x AllowFileshareErrorCode) Enum() *AllowFileshareErrorCode
func (AllowFileshareErrorCode) EnumDescriptor
deprecated
func (AllowFileshareErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowFileshareErrorCode.Descriptor instead.
func (AllowFileshareErrorCode) Number ¶
func (x AllowFileshareErrorCode) Number() protoreflect.EnumNumber
func (AllowFileshareErrorCode) String ¶
func (x AllowFileshareErrorCode) String() string
func (AllowFileshareErrorCode) Type ¶
func (AllowFileshareErrorCode) Type() protoreflect.EnumType
type AllowFileshareResponse ¶
type AllowFileshareResponse struct { // // *AllowFileshareResponse_Empty // *AllowFileshareResponse_UpdatePeerErrorCode // *AllowFileshareResponse_AllowSendErrorCode // *AllowFileshareResponse_ServiceErrorCode // *AllowFileshareResponse_MeshnetErrorCode Response isAllowFileshareResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
AllowSendFileResponse defines a response for allow send file request
func (*AllowFileshareResponse) Descriptor
deprecated
func (*AllowFileshareResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllowFileshareResponse.ProtoReflect.Descriptor instead.
func (*AllowFileshareResponse) GetAllowSendErrorCode ¶
func (x *AllowFileshareResponse) GetAllowSendErrorCode() AllowFileshareErrorCode
func (*AllowFileshareResponse) GetEmpty ¶
func (x *AllowFileshareResponse) GetEmpty() *Empty
func (*AllowFileshareResponse) GetMeshnetErrorCode ¶
func (x *AllowFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*AllowFileshareResponse) GetResponse ¶
func (m *AllowFileshareResponse) GetResponse() isAllowFileshareResponse_Response
func (*AllowFileshareResponse) GetServiceErrorCode ¶
func (x *AllowFileshareResponse) GetServiceErrorCode() ServiceErrorCode
func (*AllowFileshareResponse) GetUpdatePeerErrorCode ¶
func (x *AllowFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*AllowFileshareResponse) ProtoMessage ¶
func (*AllowFileshareResponse) ProtoMessage()
func (*AllowFileshareResponse) ProtoReflect ¶
func (x *AllowFileshareResponse) ProtoReflect() protoreflect.Message
func (*AllowFileshareResponse) Reset ¶
func (x *AllowFileshareResponse) Reset()
func (*AllowFileshareResponse) String ¶
func (x *AllowFileshareResponse) String() string
type AllowFileshareResponse_AllowSendErrorCode ¶
type AllowFileshareResponse_AllowSendErrorCode struct {
}type AllowFileshareResponse_Empty ¶
type AllowFileshareResponse_Empty struct {
}type AllowFileshareResponse_MeshnetErrorCode ¶
type AllowFileshareResponse_MeshnetErrorCode struct {
}type AllowFileshareResponse_ServiceErrorCode ¶
type AllowFileshareResponse_ServiceErrorCode struct {
}type AllowFileshareResponse_UpdatePeerErrorCode ¶
type AllowFileshareResponse_UpdatePeerErrorCode struct {
}type AllowIncomingErrorCode ¶
type AllowIncomingErrorCode int32
AllowIncomingErrorCode defines an error code which is specific to allow incoming traffic
const (
AllowIncomingErrorCode_INCOMING_ALREADY_ALLOWED AllowIncomingErrorCode = 0
)
func (AllowIncomingErrorCode) Descriptor ¶
func (AllowIncomingErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AllowIncomingErrorCode) Enum ¶
func (x AllowIncomingErrorCode) Enum() *AllowIncomingErrorCode
func (AllowIncomingErrorCode) EnumDescriptor
deprecated
func (AllowIncomingErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowIncomingErrorCode.Descriptor instead.
func (AllowIncomingErrorCode) Number ¶
func (x AllowIncomingErrorCode) Number() protoreflect.EnumNumber
func (AllowIncomingErrorCode) String ¶
func (x AllowIncomingErrorCode) String() string
func (AllowIncomingErrorCode) Type ¶
func (AllowIncomingErrorCode) Type() protoreflect.EnumType
type AllowIncomingResponse ¶
type AllowIncomingResponse struct { // Types that are assignable to Response: // // *AllowIncomingResponse_Empty // *AllowIncomingResponse_UpdatePeerErrorCode // *AllowIncomingResponse_AllowIncomingErrorCode // *AllowIncomingResponse_ServiceErrorCode // *AllowIncomingResponse_MeshnetErrorCode Response isAllowIncomingResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
AllowIncomingResponse defines a response for allow incoming traffic request
func (*AllowIncomingResponse) Descriptor
deprecated
func (*AllowIncomingResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllowIncomingResponse.ProtoReflect.Descriptor instead.
func (*AllowIncomingResponse) GetAllowIncomingErrorCode ¶
func (x *AllowIncomingResponse) GetAllowIncomingErrorCode() AllowIncomingErrorCode
func (*AllowIncomingResponse) GetEmpty ¶
func (x *AllowIncomingResponse) GetEmpty() *Empty
func (*AllowIncomingResponse) GetMeshnetErrorCode ¶
func (x *AllowIncomingResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*AllowIncomingResponse) GetResponse ¶
func (m *AllowIncomingResponse) GetResponse() isAllowIncomingResponse_Response
func (*AllowIncomingResponse) GetServiceErrorCode ¶
func (x *AllowIncomingResponse) GetServiceErrorCode() ServiceErrorCode
func (*AllowIncomingResponse) GetUpdatePeerErrorCode ¶
func (x *AllowIncomingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*AllowIncomingResponse) ProtoMessage ¶
func (*AllowIncomingResponse) ProtoMessage()
func (*AllowIncomingResponse) ProtoReflect ¶
func (x *AllowIncomingResponse) ProtoReflect() protoreflect.Message
func (*AllowIncomingResponse) Reset ¶
func (x *AllowIncomingResponse) Reset()
func (*AllowIncomingResponse) String ¶
func (x *AllowIncomingResponse) String() string
type AllowIncomingResponse_AllowIncomingErrorCode ¶
type AllowIncomingResponse_AllowIncomingErrorCode struct {
AllowIncomingErrorCode AllowIncomingErrorCode `` /* 130-byte string literal not displayed */
}
type AllowIncomingResponse_Empty ¶
type AllowIncomingResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type AllowIncomingResponse_MeshnetErrorCode ¶
type AllowIncomingResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type AllowIncomingResponse_ServiceErrorCode ¶
type AllowIncomingResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type AllowIncomingResponse_UpdatePeerErrorCode ¶
type AllowIncomingResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type AllowLocalNetworkErrorCode ¶
type AllowLocalNetworkErrorCode int32
AllowLocalNetworkErrorCode defines an error code which is specific to allow local network traffic
const (
AllowLocalNetworkErrorCode_LOCAL_NETWORK_ALREADY_ALLOWED AllowLocalNetworkErrorCode = 0
)
func (AllowLocalNetworkErrorCode) Descriptor ¶
func (AllowLocalNetworkErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AllowLocalNetworkErrorCode) Enum ¶
func (x AllowLocalNetworkErrorCode) Enum() *AllowLocalNetworkErrorCode
func (AllowLocalNetworkErrorCode) EnumDescriptor
deprecated
func (AllowLocalNetworkErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowLocalNetworkErrorCode.Descriptor instead.
func (AllowLocalNetworkErrorCode) Number ¶
func (x AllowLocalNetworkErrorCode) Number() protoreflect.EnumNumber
func (AllowLocalNetworkErrorCode) String ¶
func (x AllowLocalNetworkErrorCode) String() string
func (AllowLocalNetworkErrorCode) Type ¶
func (AllowLocalNetworkErrorCode) Type() protoreflect.EnumType
type AllowLocalNetworkResponse ¶
type AllowLocalNetworkResponse struct { // Types that are assignable to Response: // // *AllowLocalNetworkResponse_Empty // *AllowLocalNetworkResponse_UpdatePeerErrorCode // *AllowLocalNetworkResponse_AllowLocalNetworkErrorCode // *AllowLocalNetworkResponse_ServiceErrorCode // *AllowLocalNetworkResponse_MeshnetErrorCode Response isAllowLocalNetworkResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
AllowLocalNetworkResponse defines a response for allow local network traffic request
func (*AllowLocalNetworkResponse) Descriptor
deprecated
func (*AllowLocalNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllowLocalNetworkResponse.ProtoReflect.Descriptor instead.
func (*AllowLocalNetworkResponse) GetAllowLocalNetworkErrorCode ¶
func (x *AllowLocalNetworkResponse) GetAllowLocalNetworkErrorCode() AllowLocalNetworkErrorCode
func (*AllowLocalNetworkResponse) GetEmpty ¶
func (x *AllowLocalNetworkResponse) GetEmpty() *Empty
func (*AllowLocalNetworkResponse) GetMeshnetErrorCode ¶
func (x *AllowLocalNetworkResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*AllowLocalNetworkResponse) GetResponse ¶
func (m *AllowLocalNetworkResponse) GetResponse() isAllowLocalNetworkResponse_Response
func (*AllowLocalNetworkResponse) GetServiceErrorCode ¶
func (x *AllowLocalNetworkResponse) GetServiceErrorCode() ServiceErrorCode
func (*AllowLocalNetworkResponse) GetUpdatePeerErrorCode ¶
func (x *AllowLocalNetworkResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*AllowLocalNetworkResponse) ProtoMessage ¶
func (*AllowLocalNetworkResponse) ProtoMessage()
func (*AllowLocalNetworkResponse) ProtoReflect ¶
func (x *AllowLocalNetworkResponse) ProtoReflect() protoreflect.Message
func (*AllowLocalNetworkResponse) Reset ¶
func (x *AllowLocalNetworkResponse) Reset()
func (*AllowLocalNetworkResponse) String ¶
func (x *AllowLocalNetworkResponse) String() string
type AllowLocalNetworkResponse_AllowLocalNetworkErrorCode ¶
type AllowLocalNetworkResponse_AllowLocalNetworkErrorCode struct {
AllowLocalNetworkErrorCode AllowLocalNetworkErrorCode `` /* 143-byte string literal not displayed */
}
type AllowLocalNetworkResponse_Empty ¶
type AllowLocalNetworkResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type AllowLocalNetworkResponse_MeshnetErrorCode ¶
type AllowLocalNetworkResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type AllowLocalNetworkResponse_ServiceErrorCode ¶
type AllowLocalNetworkResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type AllowLocalNetworkResponse_UpdatePeerErrorCode ¶
type AllowLocalNetworkResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type AllowRoutingErrorCode ¶
type AllowRoutingErrorCode int32
AllowRoutingErrorCode defines an error code which is specific to allow routing
const (
AllowRoutingErrorCode_ROUTING_ALREADY_ALLOWED AllowRoutingErrorCode = 0
)
func (AllowRoutingErrorCode) Descriptor ¶
func (AllowRoutingErrorCode) Descriptor() protoreflect.EnumDescriptor
func (AllowRoutingErrorCode) Enum ¶
func (x AllowRoutingErrorCode) Enum() *AllowRoutingErrorCode
func (AllowRoutingErrorCode) EnumDescriptor
deprecated
func (AllowRoutingErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AllowRoutingErrorCode.Descriptor instead.
func (AllowRoutingErrorCode) Number ¶
func (x AllowRoutingErrorCode) Number() protoreflect.EnumNumber
func (AllowRoutingErrorCode) String ¶
func (x AllowRoutingErrorCode) String() string
func (AllowRoutingErrorCode) Type ¶
func (AllowRoutingErrorCode) Type() protoreflect.EnumType
type AllowRoutingResponse ¶
type AllowRoutingResponse struct { // Types that are assignable to Response: // // *AllowRoutingResponse_Empty // *AllowRoutingResponse_UpdatePeerErrorCode // *AllowRoutingResponse_AllowRoutingErrorCode // *AllowRoutingResponse_ServiceErrorCode // *AllowRoutingResponse_MeshnetErrorCode Response isAllowRoutingResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
AllowRoutingResponse defines a response for allow routing request
func (*AllowRoutingResponse) Descriptor
deprecated
func (*AllowRoutingResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllowRoutingResponse.ProtoReflect.Descriptor instead.
func (*AllowRoutingResponse) GetAllowRoutingErrorCode ¶
func (x *AllowRoutingResponse) GetAllowRoutingErrorCode() AllowRoutingErrorCode
func (*AllowRoutingResponse) GetEmpty ¶
func (x *AllowRoutingResponse) GetEmpty() *Empty
func (*AllowRoutingResponse) GetMeshnetErrorCode ¶
func (x *AllowRoutingResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*AllowRoutingResponse) GetResponse ¶
func (m *AllowRoutingResponse) GetResponse() isAllowRoutingResponse_Response
func (*AllowRoutingResponse) GetServiceErrorCode ¶
func (x *AllowRoutingResponse) GetServiceErrorCode() ServiceErrorCode
func (*AllowRoutingResponse) GetUpdatePeerErrorCode ¶
func (x *AllowRoutingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*AllowRoutingResponse) ProtoMessage ¶
func (*AllowRoutingResponse) ProtoMessage()
func (*AllowRoutingResponse) ProtoReflect ¶
func (x *AllowRoutingResponse) ProtoReflect() protoreflect.Message
func (*AllowRoutingResponse) Reset ¶
func (x *AllowRoutingResponse) Reset()
func (*AllowRoutingResponse) String ¶
func (x *AllowRoutingResponse) String() string
type AllowRoutingResponse_AllowRoutingErrorCode ¶
type AllowRoutingResponse_AllowRoutingErrorCode struct {
AllowRoutingErrorCode AllowRoutingErrorCode `` /* 127-byte string literal not displayed */
}
type AllowRoutingResponse_Empty ¶
type AllowRoutingResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type AllowRoutingResponse_MeshnetErrorCode ¶
type AllowRoutingResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type AllowRoutingResponse_ServiceErrorCode ¶
type AllowRoutingResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type AllowRoutingResponse_UpdatePeerErrorCode ¶
type AllowRoutingResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type ChangeMachineNicknameRequest ¶
type ChangeMachineNicknameRequest struct { Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // contains filtered or unexported fields }
ChangeMachineNicknameRequest defines a request to change the nickname for the current machine from meshnet
func (*ChangeMachineNicknameRequest) Descriptor
deprecated
func (*ChangeMachineNicknameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeMachineNicknameRequest.ProtoReflect.Descriptor instead.
func (*ChangeMachineNicknameRequest) GetNickname ¶
func (x *ChangeMachineNicknameRequest) GetNickname() string
func (*ChangeMachineNicknameRequest) ProtoMessage ¶
func (*ChangeMachineNicknameRequest) ProtoMessage()
func (*ChangeMachineNicknameRequest) ProtoReflect ¶
func (x *ChangeMachineNicknameRequest) ProtoReflect() protoreflect.Message
func (*ChangeMachineNicknameRequest) Reset ¶
func (x *ChangeMachineNicknameRequest) Reset()
func (*ChangeMachineNicknameRequest) String ¶
func (x *ChangeMachineNicknameRequest) String() string
type ChangeNicknameErrorCode ¶
type ChangeNicknameErrorCode int32
ChangeNicknameErrorCode defines the errors that occur at meshnet nickname changes
const ( ChangeNicknameErrorCode_SAME_NICKNAME ChangeNicknameErrorCode = 0 ChangeNicknameErrorCode_NICKNAME_ALREADY_EMPTY ChangeNicknameErrorCode = 1 ChangeNicknameErrorCode_DOMAIN_NAME_EXISTS ChangeNicknameErrorCode = 2 ChangeNicknameErrorCode_RATE_LIMIT_REACH ChangeNicknameErrorCode = 3 ChangeNicknameErrorCode_NICKNAME_TOO_LONG ChangeNicknameErrorCode = 4 ChangeNicknameErrorCode_DUPLICATE_NICKNAME ChangeNicknameErrorCode = 5 ChangeNicknameErrorCode_CONTAINS_FORBIDDEN_WORD ChangeNicknameErrorCode = 6 ChangeNicknameErrorCode_SUFFIX_OR_PREFIX_ARE_INVALID ChangeNicknameErrorCode = 7 ChangeNicknameErrorCode_NICKNAME_HAS_DOUBLE_HYPHENS ChangeNicknameErrorCode = 8 ChangeNicknameErrorCode_INVALID_CHARS ChangeNicknameErrorCode = 9 )
func (ChangeNicknameErrorCode) Descriptor ¶
func (ChangeNicknameErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ChangeNicknameErrorCode) Enum ¶
func (x ChangeNicknameErrorCode) Enum() *ChangeNicknameErrorCode
func (ChangeNicknameErrorCode) EnumDescriptor
deprecated
func (ChangeNicknameErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChangeNicknameErrorCode.Descriptor instead.
func (ChangeNicknameErrorCode) Number ¶
func (x ChangeNicknameErrorCode) Number() protoreflect.EnumNumber
func (ChangeNicknameErrorCode) String ¶
func (x ChangeNicknameErrorCode) String() string
func (ChangeNicknameErrorCode) Type ¶
func (ChangeNicknameErrorCode) Type() protoreflect.EnumType
type ChangeNicknameResponse ¶
type ChangeNicknameResponse struct { // Types that are assignable to Response: // // *ChangeNicknameResponse_Empty // *ChangeNicknameResponse_UpdatePeerErrorCode // *ChangeNicknameResponse_ServiceErrorCode // *ChangeNicknameResponse_MeshnetErrorCode // *ChangeNicknameResponse_ChangeNicknameErrorCode Response isChangeNicknameResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
ChangeNicknameResponse defines a response to change(set/remove) the nickname for a peer or for current machine
func (*ChangeNicknameResponse) Descriptor
deprecated
func (*ChangeNicknameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeNicknameResponse.ProtoReflect.Descriptor instead.
func (*ChangeNicknameResponse) GetChangeNicknameErrorCode ¶
func (x *ChangeNicknameResponse) GetChangeNicknameErrorCode() ChangeNicknameErrorCode
func (*ChangeNicknameResponse) GetEmpty ¶
func (x *ChangeNicknameResponse) GetEmpty() *Empty
func (*ChangeNicknameResponse) GetMeshnetErrorCode ¶
func (x *ChangeNicknameResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*ChangeNicknameResponse) GetResponse ¶
func (m *ChangeNicknameResponse) GetResponse() isChangeNicknameResponse_Response
func (*ChangeNicknameResponse) GetServiceErrorCode ¶
func (x *ChangeNicknameResponse) GetServiceErrorCode() ServiceErrorCode
func (*ChangeNicknameResponse) GetUpdatePeerErrorCode ¶
func (x *ChangeNicknameResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*ChangeNicknameResponse) ProtoMessage ¶
func (*ChangeNicknameResponse) ProtoMessage()
func (*ChangeNicknameResponse) ProtoReflect ¶
func (x *ChangeNicknameResponse) ProtoReflect() protoreflect.Message
func (*ChangeNicknameResponse) Reset ¶
func (x *ChangeNicknameResponse) Reset()
func (*ChangeNicknameResponse) String ¶
func (x *ChangeNicknameResponse) String() string
type ChangeNicknameResponse_ChangeNicknameErrorCode ¶
type ChangeNicknameResponse_ChangeNicknameErrorCode struct {
ChangeNicknameErrorCode ChangeNicknameErrorCode `` /* 133-byte string literal not displayed */
}
type ChangeNicknameResponse_Empty ¶
type ChangeNicknameResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type ChangeNicknameResponse_MeshnetErrorCode ¶
type ChangeNicknameResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,4,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type ChangeNicknameResponse_ServiceErrorCode ¶
type ChangeNicknameResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,3,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type ChangeNicknameResponse_UpdatePeerErrorCode ¶
type ChangeNicknameResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type ChangePeerNicknameRequest ¶
type ChangePeerNicknameRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // contains filtered or unexported fields }
ChangePeerNicknameRequest defines a request to change the nickname for a meshnet peer
func (*ChangePeerNicknameRequest) Descriptor
deprecated
func (*ChangePeerNicknameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePeerNicknameRequest.ProtoReflect.Descriptor instead.
func (*ChangePeerNicknameRequest) GetIdentifier ¶
func (x *ChangePeerNicknameRequest) GetIdentifier() string
func (*ChangePeerNicknameRequest) GetNickname ¶
func (x *ChangePeerNicknameRequest) GetNickname() string
func (*ChangePeerNicknameRequest) ProtoMessage ¶
func (*ChangePeerNicknameRequest) ProtoMessage()
func (*ChangePeerNicknameRequest) ProtoReflect ¶
func (x *ChangePeerNicknameRequest) ProtoReflect() protoreflect.Message
func (*ChangePeerNicknameRequest) Reset ¶
func (x *ChangePeerNicknameRequest) Reset()
func (*ChangePeerNicknameRequest) String ¶
func (x *ChangePeerNicknameRequest) String() string
type ConnectErrorCode ¶
type ConnectErrorCode int32
const ( ConnectErrorCode_PEER_DOES_NOT_ALLOW_ROUTING ConnectErrorCode = 0 ConnectErrorCode_ALREADY_CONNECTED ConnectErrorCode = 1 ConnectErrorCode_CONNECT_FAILED ConnectErrorCode = 2 ConnectErrorCode_PEER_NO_IP ConnectErrorCode = 3 ConnectErrorCode_ALREADY_CONNECTING ConnectErrorCode = 4 ConnectErrorCode_CANCELED ConnectErrorCode = 5 )
func (ConnectErrorCode) Descriptor ¶
func (ConnectErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ConnectErrorCode) Enum ¶
func (x ConnectErrorCode) Enum() *ConnectErrorCode
func (ConnectErrorCode) EnumDescriptor
deprecated
func (ConnectErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectErrorCode.Descriptor instead.
func (ConnectErrorCode) Number ¶
func (x ConnectErrorCode) Number() protoreflect.EnumNumber
func (ConnectErrorCode) String ¶
func (x ConnectErrorCode) String() string
func (ConnectErrorCode) Type ¶
func (ConnectErrorCode) Type() protoreflect.EnumType
type ConnectResponse ¶
type ConnectResponse struct { // Types that are assignable to Response: // // *ConnectResponse_Empty // *ConnectResponse_UpdatePeerErrorCode // *ConnectResponse_ConnectErrorCode // *ConnectResponse_ServiceErrorCode // *ConnectResponse_MeshnetErrorCode Response isConnectResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ConnectResponse) Descriptor
deprecated
func (*ConnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.
func (*ConnectResponse) GetConnectErrorCode ¶
func (x *ConnectResponse) GetConnectErrorCode() ConnectErrorCode
func (*ConnectResponse) GetEmpty ¶
func (x *ConnectResponse) GetEmpty() *Empty
func (*ConnectResponse) GetMeshnetErrorCode ¶
func (x *ConnectResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*ConnectResponse) GetResponse ¶
func (m *ConnectResponse) GetResponse() isConnectResponse_Response
func (*ConnectResponse) GetServiceErrorCode ¶
func (x *ConnectResponse) GetServiceErrorCode() ServiceErrorCode
func (*ConnectResponse) GetUpdatePeerErrorCode ¶
func (x *ConnectResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*ConnectResponse) ProtoMessage ¶
func (*ConnectResponse) ProtoMessage()
func (*ConnectResponse) ProtoReflect ¶
func (x *ConnectResponse) ProtoReflect() protoreflect.Message
func (*ConnectResponse) Reset ¶
func (x *ConnectResponse) Reset()
func (*ConnectResponse) String ¶
func (x *ConnectResponse) String() string
type ConnectResponse_ConnectErrorCode ¶
type ConnectResponse_ConnectErrorCode struct {
ConnectErrorCode ConnectErrorCode `protobuf:"varint,3,opt,name=connect_error_code,json=connectErrorCode,proto3,enum=meshpb.ConnectErrorCode,oneof"`
}
type ConnectResponse_Empty ¶
type ConnectResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type ConnectResponse_MeshnetErrorCode ¶
type ConnectResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type ConnectResponse_ServiceErrorCode ¶
type ConnectResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type ConnectResponse_UpdatePeerErrorCode ¶
type ConnectResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type DenyFileshareErrorCode ¶
type DenyFileshareErrorCode int32
const (
)func (DenyFileshareErrorCode) Descriptor ¶
func (DenyFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
func (DenyFileshareErrorCode) Enum ¶
func (x DenyFileshareErrorCode) Enum() *DenyFileshareErrorCode
func (DenyFileshareErrorCode) EnumDescriptor
deprecated
func (DenyFileshareErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DenyFileshareErrorCode.Descriptor instead.
func (DenyFileshareErrorCode) Number ¶
func (x DenyFileshareErrorCode) Number() protoreflect.EnumNumber
func (DenyFileshareErrorCode) String ¶
func (x DenyFileshareErrorCode) String() string
func (DenyFileshareErrorCode) Type ¶
func (DenyFileshareErrorCode) Type() protoreflect.EnumType
type DenyFileshareResponse ¶
type DenyFileshareResponse struct { // // *DenyFileshareResponse_Empty // *DenyFileshareResponse_UpdatePeerErrorCode // *DenyFileshareResponse_DenySendErrorCode // *DenyFileshareResponse_ServiceErrorCode // *DenyFileshareResponse_MeshnetErrorCode Response isDenyFileshareResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
DenySendFileResponse defines a response for deny send file request
func (*DenyFileshareResponse) Descriptor
deprecated
func (*DenyFileshareResponse) Descriptor() ([]byte, []int)
Deprecated: Use DenyFileshareResponse.ProtoReflect.Descriptor instead.
func (*DenyFileshareResponse) GetDenySendErrorCode ¶
func (x *DenyFileshareResponse) GetDenySendErrorCode() DenyFileshareErrorCode
func (*DenyFileshareResponse) GetEmpty ¶
func (x *DenyFileshareResponse) GetEmpty() *Empty
func (*DenyFileshareResponse) GetMeshnetErrorCode ¶
func (x *DenyFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*DenyFileshareResponse) GetResponse ¶
func (m *DenyFileshareResponse) GetResponse() isDenyFileshareResponse_Response
func (*DenyFileshareResponse) GetServiceErrorCode ¶
func (x *DenyFileshareResponse) GetServiceErrorCode() ServiceErrorCode
func (*DenyFileshareResponse) GetUpdatePeerErrorCode ¶
func (x *DenyFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*DenyFileshareResponse) ProtoMessage ¶
func (*DenyFileshareResponse) ProtoMessage()
func (*DenyFileshareResponse) ProtoReflect ¶
func (x *DenyFileshareResponse) ProtoReflect() protoreflect.Message
func (*DenyFileshareResponse) Reset ¶
func (x *DenyFileshareResponse) Reset()
func (*DenyFileshareResponse) String ¶
func (x *DenyFileshareResponse) String() string
type DenyFileshareResponse_DenySendErrorCode ¶
type DenyFileshareResponse_DenySendErrorCode struct {
}type DenyFileshareResponse_Empty ¶
type DenyFileshareResponse_Empty struct {
}type DenyFileshareResponse_MeshnetErrorCode ¶
type DenyFileshareResponse_MeshnetErrorCode struct {
}type DenyFileshareResponse_ServiceErrorCode ¶
type DenyFileshareResponse_ServiceErrorCode struct {
}type DenyFileshareResponse_UpdatePeerErrorCode ¶
type DenyFileshareResponse_UpdatePeerErrorCode struct {
}type DenyIncomingErrorCode ¶
type DenyIncomingErrorCode int32
DenyIncomingErrorCode defines an error code which is specific to deny incoming traffic
const (
DenyIncomingErrorCode_INCOMING_ALREADY_DENIED DenyIncomingErrorCode = 0
)
func (DenyIncomingErrorCode) Descriptor ¶
func (DenyIncomingErrorCode) Descriptor() protoreflect.EnumDescriptor
func (DenyIncomingErrorCode) Enum ¶
func (x DenyIncomingErrorCode) Enum() *DenyIncomingErrorCode
func (DenyIncomingErrorCode) EnumDescriptor
deprecated
func (DenyIncomingErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DenyIncomingErrorCode.Descriptor instead.
func (DenyIncomingErrorCode) Number ¶
func (x DenyIncomingErrorCode) Number() protoreflect.EnumNumber
func (DenyIncomingErrorCode) String ¶
func (x DenyIncomingErrorCode) String() string
func (DenyIncomingErrorCode) Type ¶
func (DenyIncomingErrorCode) Type() protoreflect.EnumType
type DenyIncomingResponse ¶
type DenyIncomingResponse struct { // Types that are assignable to Response: // // *DenyIncomingResponse_Empty // *DenyIncomingResponse_UpdatePeerErrorCode // *DenyIncomingResponse_DenyIncomingErrorCode // *DenyIncomingResponse_ServiceErrorCode // *DenyIncomingResponse_MeshnetErrorCode Response isDenyIncomingResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
DenyIncomingResponse defines a response for deny incoming traffic request
func (*DenyIncomingResponse) Descriptor
deprecated
func (*DenyIncomingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DenyIncomingResponse.ProtoReflect.Descriptor instead.
func (*DenyIncomingResponse) GetDenyIncomingErrorCode ¶
func (x *DenyIncomingResponse) GetDenyIncomingErrorCode() DenyIncomingErrorCode
func (*DenyIncomingResponse) GetEmpty ¶
func (x *DenyIncomingResponse) GetEmpty() *Empty
func (*DenyIncomingResponse) GetMeshnetErrorCode ¶
func (x *DenyIncomingResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*DenyIncomingResponse) GetResponse ¶
func (m *DenyIncomingResponse) GetResponse() isDenyIncomingResponse_Response
func (*DenyIncomingResponse) GetServiceErrorCode ¶
func (x *DenyIncomingResponse) GetServiceErrorCode() ServiceErrorCode
func (*DenyIncomingResponse) GetUpdatePeerErrorCode ¶
func (x *DenyIncomingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*DenyIncomingResponse) ProtoMessage ¶
func (*DenyIncomingResponse) ProtoMessage()
func (*DenyIncomingResponse) ProtoReflect ¶
func (x *DenyIncomingResponse) ProtoReflect() protoreflect.Message
func (*DenyIncomingResponse) Reset ¶
func (x *DenyIncomingResponse) Reset()
func (*DenyIncomingResponse) String ¶
func (x *DenyIncomingResponse) String() string
type DenyIncomingResponse_DenyIncomingErrorCode ¶
type DenyIncomingResponse_DenyIncomingErrorCode struct {
DenyIncomingErrorCode DenyIncomingErrorCode `` /* 127-byte string literal not displayed */
}
type DenyIncomingResponse_Empty ¶
type DenyIncomingResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type DenyIncomingResponse_MeshnetErrorCode ¶
type DenyIncomingResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type DenyIncomingResponse_ServiceErrorCode ¶
type DenyIncomingResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type DenyIncomingResponse_UpdatePeerErrorCode ¶
type DenyIncomingResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type DenyInviteRequest ¶
type DenyInviteRequest struct { // email is the email of the invitation sender Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
DenyInviteRequest defines a denying response request for a meshnet invitation
func (*DenyInviteRequest) Descriptor
deprecated
func (*DenyInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DenyInviteRequest.ProtoReflect.Descriptor instead.
func (*DenyInviteRequest) GetEmail ¶
func (x *DenyInviteRequest) GetEmail() string
func (*DenyInviteRequest) ProtoMessage ¶
func (*DenyInviteRequest) ProtoMessage()
func (*DenyInviteRequest) ProtoReflect ¶
func (x *DenyInviteRequest) ProtoReflect() protoreflect.Message
func (*DenyInviteRequest) Reset ¶
func (x *DenyInviteRequest) Reset()
func (*DenyInviteRequest) String ¶
func (x *DenyInviteRequest) String() string
type DenyLocalNetworkErrorCode ¶
type DenyLocalNetworkErrorCode int32
DenyLocalNetworkErrorCode defines an error code which is specific to deny local network traffic
const (
DenyLocalNetworkErrorCode_LOCAL_NETWORK_ALREADY_DENIED DenyLocalNetworkErrorCode = 0
)
func (DenyLocalNetworkErrorCode) Descriptor ¶
func (DenyLocalNetworkErrorCode) Descriptor() protoreflect.EnumDescriptor
func (DenyLocalNetworkErrorCode) Enum ¶
func (x DenyLocalNetworkErrorCode) Enum() *DenyLocalNetworkErrorCode
func (DenyLocalNetworkErrorCode) EnumDescriptor
deprecated
func (DenyLocalNetworkErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DenyLocalNetworkErrorCode.Descriptor instead.
func (DenyLocalNetworkErrorCode) Number ¶
func (x DenyLocalNetworkErrorCode) Number() protoreflect.EnumNumber
func (DenyLocalNetworkErrorCode) String ¶
func (x DenyLocalNetworkErrorCode) String() string
func (DenyLocalNetworkErrorCode) Type ¶
func (DenyLocalNetworkErrorCode) Type() protoreflect.EnumType
type DenyLocalNetworkResponse ¶
type DenyLocalNetworkResponse struct { // Types that are assignable to Response: // // *DenyLocalNetworkResponse_Empty // *DenyLocalNetworkResponse_UpdatePeerErrorCode // *DenyLocalNetworkResponse_DenyLocalNetworkErrorCode // *DenyLocalNetworkResponse_ServiceErrorCode // *DenyLocalNetworkResponse_MeshnetErrorCode Response isDenyLocalNetworkResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
DenyIncomingResponse defines a response for deny local network traffic request
func (*DenyLocalNetworkResponse) Descriptor
deprecated
func (*DenyLocalNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use DenyLocalNetworkResponse.ProtoReflect.Descriptor instead.
func (*DenyLocalNetworkResponse) GetDenyLocalNetworkErrorCode ¶
func (x *DenyLocalNetworkResponse) GetDenyLocalNetworkErrorCode() DenyLocalNetworkErrorCode
func (*DenyLocalNetworkResponse) GetEmpty ¶
func (x *DenyLocalNetworkResponse) GetEmpty() *Empty
func (*DenyLocalNetworkResponse) GetMeshnetErrorCode ¶
func (x *DenyLocalNetworkResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*DenyLocalNetworkResponse) GetResponse ¶
func (m *DenyLocalNetworkResponse) GetResponse() isDenyLocalNetworkResponse_Response
func (*DenyLocalNetworkResponse) GetServiceErrorCode ¶
func (x *DenyLocalNetworkResponse) GetServiceErrorCode() ServiceErrorCode
func (*DenyLocalNetworkResponse) GetUpdatePeerErrorCode ¶
func (x *DenyLocalNetworkResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*DenyLocalNetworkResponse) ProtoMessage ¶
func (*DenyLocalNetworkResponse) ProtoMessage()
func (*DenyLocalNetworkResponse) ProtoReflect ¶
func (x *DenyLocalNetworkResponse) ProtoReflect() protoreflect.Message
func (*DenyLocalNetworkResponse) Reset ¶
func (x *DenyLocalNetworkResponse) Reset()
func (*DenyLocalNetworkResponse) String ¶
func (x *DenyLocalNetworkResponse) String() string
type DenyLocalNetworkResponse_DenyLocalNetworkErrorCode ¶
type DenyLocalNetworkResponse_DenyLocalNetworkErrorCode struct {
DenyLocalNetworkErrorCode DenyLocalNetworkErrorCode `` /* 140-byte string literal not displayed */
}
type DenyLocalNetworkResponse_Empty ¶
type DenyLocalNetworkResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type DenyLocalNetworkResponse_MeshnetErrorCode ¶
type DenyLocalNetworkResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type DenyLocalNetworkResponse_ServiceErrorCode ¶
type DenyLocalNetworkResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type DenyLocalNetworkResponse_UpdatePeerErrorCode ¶
type DenyLocalNetworkResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type DenyRoutingErrorCode ¶
type DenyRoutingErrorCode int32
DenyRoutingErrorCode defines an error code which is specific to deny routing
const (
DenyRoutingErrorCode_ROUTING_ALREADY_DENIED DenyRoutingErrorCode = 0
)
func (DenyRoutingErrorCode) Descriptor ¶
func (DenyRoutingErrorCode) Descriptor() protoreflect.EnumDescriptor
func (DenyRoutingErrorCode) Enum ¶
func (x DenyRoutingErrorCode) Enum() *DenyRoutingErrorCode
func (DenyRoutingErrorCode) EnumDescriptor
deprecated
func (DenyRoutingErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DenyRoutingErrorCode.Descriptor instead.
func (DenyRoutingErrorCode) Number ¶
func (x DenyRoutingErrorCode) Number() protoreflect.EnumNumber
func (DenyRoutingErrorCode) String ¶
func (x DenyRoutingErrorCode) String() string
func (DenyRoutingErrorCode) Type ¶
func (DenyRoutingErrorCode) Type() protoreflect.EnumType
type DenyRoutingResponse ¶
type DenyRoutingResponse struct { // Types that are assignable to Response: // // *DenyRoutingResponse_Empty // *DenyRoutingResponse_UpdatePeerErrorCode // *DenyRoutingResponse_DenyRoutingErrorCode // *DenyRoutingResponse_ServiceErrorCode // *DenyRoutingResponse_MeshnetErrorCode Response isDenyRoutingResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
DenyRoutingResponse defines a response for allow routing request
func (*DenyRoutingResponse) Descriptor
deprecated
func (*DenyRoutingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DenyRoutingResponse.ProtoReflect.Descriptor instead.
func (*DenyRoutingResponse) GetDenyRoutingErrorCode ¶
func (x *DenyRoutingResponse) GetDenyRoutingErrorCode() DenyRoutingErrorCode
func (*DenyRoutingResponse) GetEmpty ¶
func (x *DenyRoutingResponse) GetEmpty() *Empty
func (*DenyRoutingResponse) GetMeshnetErrorCode ¶
func (x *DenyRoutingResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*DenyRoutingResponse) GetResponse ¶
func (m *DenyRoutingResponse) GetResponse() isDenyRoutingResponse_Response
func (*DenyRoutingResponse) GetServiceErrorCode ¶
func (x *DenyRoutingResponse) GetServiceErrorCode() ServiceErrorCode
func (*DenyRoutingResponse) GetUpdatePeerErrorCode ¶
func (x *DenyRoutingResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*DenyRoutingResponse) ProtoMessage ¶
func (*DenyRoutingResponse) ProtoMessage()
func (*DenyRoutingResponse) ProtoReflect ¶
func (x *DenyRoutingResponse) ProtoReflect() protoreflect.Message
func (*DenyRoutingResponse) Reset ¶
func (x *DenyRoutingResponse) Reset()
func (*DenyRoutingResponse) String ¶
func (x *DenyRoutingResponse) String() string
type DenyRoutingResponse_DenyRoutingErrorCode ¶
type DenyRoutingResponse_DenyRoutingErrorCode struct {
DenyRoutingErrorCode DenyRoutingErrorCode `protobuf:"varint,3,opt,name=deny_routing_error_code,json=denyRoutingErrorCode,proto3,enum=meshpb.DenyRoutingErrorCode,oneof"`
}
type DenyRoutingResponse_Empty ¶
type DenyRoutingResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type DenyRoutingResponse_MeshnetErrorCode ¶
type DenyRoutingResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,5,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type DenyRoutingResponse_ServiceErrorCode ¶
type DenyRoutingResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,4,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type DenyRoutingResponse_UpdatePeerErrorCode ¶
type DenyRoutingResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type DisableAutomaticFileshareErrorCode ¶
type DisableAutomaticFileshareErrorCode int32
const (
)func (DisableAutomaticFileshareErrorCode) Descriptor ¶
func (DisableAutomaticFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
func (DisableAutomaticFileshareErrorCode) Enum ¶
func (x DisableAutomaticFileshareErrorCode) Enum() *DisableAutomaticFileshareErrorCode
func (DisableAutomaticFileshareErrorCode) EnumDescriptor
deprecated
func (DisableAutomaticFileshareErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DisableAutomaticFileshareErrorCode.Descriptor instead.
func (DisableAutomaticFileshareErrorCode) Number ¶
func (x DisableAutomaticFileshareErrorCode) Number() protoreflect.EnumNumber
func (DisableAutomaticFileshareErrorCode) String ¶
func (x DisableAutomaticFileshareErrorCode) String() string
func (DisableAutomaticFileshareErrorCode) Type ¶
func (DisableAutomaticFileshareErrorCode) Type() protoreflect.EnumType
type DisableAutomaticFileshareResponse ¶
type DisableAutomaticFileshareResponse struct { // // *DisableAutomaticFileshareResponse_Empty // *DisableAutomaticFileshareResponse_UpdatePeerErrorCode // *DisableAutomaticFileshareResponse_DisableAutomaticFileshareErrorCode // *DisableAutomaticFileshareResponse_ServiceErrorCode // *DisableAutomaticFileshareResponse_MeshnetErrorCode Response isDisableAutomaticFileshareResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
DenySendFileResponse defines a response for deny send file request
func (*DisableAutomaticFileshareResponse) Descriptor
deprecated
func (*DisableAutomaticFileshareResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableAutomaticFileshareResponse.ProtoReflect.Descriptor instead.
func (*DisableAutomaticFileshareResponse) GetDisableAutomaticFileshareErrorCode ¶
func (x *DisableAutomaticFileshareResponse) GetDisableAutomaticFileshareErrorCode() DisableAutomaticFileshareErrorCode
func (*DisableAutomaticFileshareResponse) GetEmpty ¶
func (x *DisableAutomaticFileshareResponse) GetEmpty() *Empty
func (*DisableAutomaticFileshareResponse) GetMeshnetErrorCode ¶
func (x *DisableAutomaticFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*DisableAutomaticFileshareResponse) GetResponse ¶
func (m *DisableAutomaticFileshareResponse) GetResponse() isDisableAutomaticFileshareResponse_Response
func (*DisableAutomaticFileshareResponse) GetServiceErrorCode ¶
func (x *DisableAutomaticFileshareResponse) GetServiceErrorCode() ServiceErrorCode
func (*DisableAutomaticFileshareResponse) GetUpdatePeerErrorCode ¶
func (x *DisableAutomaticFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*DisableAutomaticFileshareResponse) ProtoMessage ¶
func (*DisableAutomaticFileshareResponse) ProtoMessage()
func (*DisableAutomaticFileshareResponse) ProtoReflect ¶
func (x *DisableAutomaticFileshareResponse) ProtoReflect() protoreflect.Message
func (*DisableAutomaticFileshareResponse) Reset ¶
func (x *DisableAutomaticFileshareResponse) Reset()
func (*DisableAutomaticFileshareResponse) String ¶
func (x *DisableAutomaticFileshareResponse) String() string
type DisableAutomaticFileshareResponse_DisableAutomaticFileshareErrorCode ¶
type DisableAutomaticFileshareResponse_DisableAutomaticFileshareErrorCode struct {
}type DisableAutomaticFileshareResponse_Empty ¶
type DisableAutomaticFileshareResponse_Empty struct {
}type DisableAutomaticFileshareResponse_MeshnetErrorCode ¶
type DisableAutomaticFileshareResponse_MeshnetErrorCode struct {
}type DisableAutomaticFileshareResponse_ServiceErrorCode ¶
type DisableAutomaticFileshareResponse_ServiceErrorCode struct {
}type DisableAutomaticFileshareResponse_UpdatePeerErrorCode ¶
type DisableAutomaticFileshareResponse_UpdatePeerErrorCode struct {
}type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty is just an empty structure
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EnableAutomaticFileshareErrorCode ¶
type EnableAutomaticFileshareErrorCode int32
const (
)func (EnableAutomaticFileshareErrorCode) Descriptor ¶
func (EnableAutomaticFileshareErrorCode) Descriptor() protoreflect.EnumDescriptor
func (EnableAutomaticFileshareErrorCode) Enum ¶
func (x EnableAutomaticFileshareErrorCode) Enum() *EnableAutomaticFileshareErrorCode
func (EnableAutomaticFileshareErrorCode) EnumDescriptor
deprecated
func (EnableAutomaticFileshareErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnableAutomaticFileshareErrorCode.Descriptor instead.
func (EnableAutomaticFileshareErrorCode) Number ¶
func (x EnableAutomaticFileshareErrorCode) Number() protoreflect.EnumNumber
func (EnableAutomaticFileshareErrorCode) String ¶
func (x EnableAutomaticFileshareErrorCode) String() string
func (EnableAutomaticFileshareErrorCode) Type ¶
func (EnableAutomaticFileshareErrorCode) Type() protoreflect.EnumType
type EnableAutomaticFileshareResponse ¶
type EnableAutomaticFileshareResponse struct { // // *EnableAutomaticFileshareResponse_Empty // *EnableAutomaticFileshareResponse_UpdatePeerErrorCode // *EnableAutomaticFileshareResponse_EnableAutomaticFileshareErrorCode // *EnableAutomaticFileshareResponse_ServiceErrorCode // *EnableAutomaticFileshareResponse_MeshnetErrorCode Response isEnableAutomaticFileshareResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
AllowSendFileResponse defines a response for allow send file request
func (*EnableAutomaticFileshareResponse) Descriptor
deprecated
func (*EnableAutomaticFileshareResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableAutomaticFileshareResponse.ProtoReflect.Descriptor instead.
func (*EnableAutomaticFileshareResponse) GetEmpty ¶
func (x *EnableAutomaticFileshareResponse) GetEmpty() *Empty
func (*EnableAutomaticFileshareResponse) GetEnableAutomaticFileshareErrorCode ¶
func (x *EnableAutomaticFileshareResponse) GetEnableAutomaticFileshareErrorCode() EnableAutomaticFileshareErrorCode
func (*EnableAutomaticFileshareResponse) GetMeshnetErrorCode ¶
func (x *EnableAutomaticFileshareResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*EnableAutomaticFileshareResponse) GetResponse ¶
func (m *EnableAutomaticFileshareResponse) GetResponse() isEnableAutomaticFileshareResponse_Response
func (*EnableAutomaticFileshareResponse) GetServiceErrorCode ¶
func (x *EnableAutomaticFileshareResponse) GetServiceErrorCode() ServiceErrorCode
func (*EnableAutomaticFileshareResponse) GetUpdatePeerErrorCode ¶
func (x *EnableAutomaticFileshareResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*EnableAutomaticFileshareResponse) ProtoMessage ¶
func (*EnableAutomaticFileshareResponse) ProtoMessage()
func (*EnableAutomaticFileshareResponse) ProtoReflect ¶
func (x *EnableAutomaticFileshareResponse) ProtoReflect() protoreflect.Message
func (*EnableAutomaticFileshareResponse) Reset ¶
func (x *EnableAutomaticFileshareResponse) Reset()
func (*EnableAutomaticFileshareResponse) String ¶
func (x *EnableAutomaticFileshareResponse) String() string
type EnableAutomaticFileshareResponse_Empty ¶
type EnableAutomaticFileshareResponse_Empty struct {
}type EnableAutomaticFileshareResponse_EnableAutomaticFileshareErrorCode ¶
type EnableAutomaticFileshareResponse_EnableAutomaticFileshareErrorCode struct {
}type EnableAutomaticFileshareResponse_MeshnetErrorCode ¶
type EnableAutomaticFileshareResponse_MeshnetErrorCode struct {
}type EnableAutomaticFileshareResponse_ServiceErrorCode ¶
type EnableAutomaticFileshareResponse_ServiceErrorCode struct {
}type EnableAutomaticFileshareResponse_UpdatePeerErrorCode ¶
type EnableAutomaticFileshareResponse_UpdatePeerErrorCode struct {
}type EnabledStatus ¶
type EnabledStatus struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Uid uint32 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*EnabledStatus) Descriptor
deprecated
func (*EnabledStatus) Descriptor() ([]byte, []int)
Deprecated: Use EnabledStatus.ProtoReflect.Descriptor instead.
func (*EnabledStatus) GetUid ¶
func (x *EnabledStatus) GetUid() uint32
func (*EnabledStatus) GetValue ¶
func (x *EnabledStatus) GetValue() bool
func (*EnabledStatus) ProtoMessage ¶
func (*EnabledStatus) ProtoMessage()
func (*EnabledStatus) ProtoReflect ¶
func (x *EnabledStatus) ProtoReflect() protoreflect.Message
func (*EnabledStatus) Reset ¶
func (x *EnabledStatus) Reset()
func (*EnabledStatus) String ¶
func (x *EnabledStatus) String() string
type GetInvitesResponse ¶
type GetInvitesResponse struct { // Types that are assignable to Response: // // *GetInvitesResponse_Invites // *GetInvitesResponse_ServiceErrorCode // *GetInvitesResponse_MeshnetErrorCode Response isGetInvitesResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
GetInvitesResponse defines a response for GetInvites request
func (*GetInvitesResponse) Descriptor
deprecated
func (*GetInvitesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInvitesResponse.ProtoReflect.Descriptor instead.
func (*GetInvitesResponse) GetInvites ¶
func (x *GetInvitesResponse) GetInvites() *InvitesList
func (*GetInvitesResponse) GetMeshnetErrorCode ¶
func (x *GetInvitesResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*GetInvitesResponse) GetResponse ¶
func (m *GetInvitesResponse) GetResponse() isGetInvitesResponse_Response
func (*GetInvitesResponse) GetServiceErrorCode ¶
func (x *GetInvitesResponse) GetServiceErrorCode() ServiceErrorCode
func (*GetInvitesResponse) ProtoMessage ¶
func (*GetInvitesResponse) ProtoMessage()
func (*GetInvitesResponse) ProtoReflect ¶
func (x *GetInvitesResponse) ProtoReflect() protoreflect.Message
func (*GetInvitesResponse) Reset ¶
func (x *GetInvitesResponse) Reset()
func (*GetInvitesResponse) String ¶
func (x *GetInvitesResponse) String() string
type GetInvitesResponse_Invites ¶
type GetInvitesResponse_Invites struct {
Invites *InvitesList `protobuf:"bytes,1,opt,name=invites,proto3,oneof"`
}
type GetInvitesResponse_MeshnetErrorCode ¶
type GetInvitesResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,3,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type GetInvitesResponse_ServiceErrorCode ¶
type GetInvitesResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,2,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type GetPeersResponse ¶
type GetPeersResponse struct { // Types that are assignable to Response: // // *GetPeersResponse_Peers // *GetPeersResponse_ServiceErrorCode // *GetPeersResponse_MeshnetErrorCode Response isGetPeersResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
GetPeersResponse defines
func (*GetPeersResponse) Descriptor
deprecated
func (*GetPeersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPeersResponse.ProtoReflect.Descriptor instead.
func (*GetPeersResponse) GetMeshnetErrorCode ¶
func (x *GetPeersResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*GetPeersResponse) GetPeers ¶
func (x *GetPeersResponse) GetPeers() *PeerList
func (*GetPeersResponse) GetResponse ¶
func (m *GetPeersResponse) GetResponse() isGetPeersResponse_Response
func (*GetPeersResponse) GetServiceErrorCode ¶
func (x *GetPeersResponse) GetServiceErrorCode() ServiceErrorCode
func (*GetPeersResponse) ProtoMessage ¶
func (*GetPeersResponse) ProtoMessage()
func (*GetPeersResponse) ProtoReflect ¶
func (x *GetPeersResponse) ProtoReflect() protoreflect.Message
func (*GetPeersResponse) Reset ¶
func (x *GetPeersResponse) Reset()
func (*GetPeersResponse) String ¶
func (x *GetPeersResponse) String() string
type GetPeersResponse_MeshnetErrorCode ¶
type GetPeersResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,3,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type GetPeersResponse_Peers ¶
type GetPeersResponse_Peers struct {
Peers *PeerList `protobuf:"bytes,1,opt,name=peers,proto3,oneof"`
}
type GetPeersResponse_ServiceErrorCode ¶
type GetPeersResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,2,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type Invite ¶
type Invite struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"` // contains filtered or unexported fields }
Invite defines the structure of the meshnet invite
func (*Invite) Descriptor
deprecated
func (*Invite) GetExpiresAt ¶
func (x *Invite) GetExpiresAt() *timestamppb.Timestamp
func (*Invite) ProtoMessage ¶
func (*Invite) ProtoMessage()
func (*Invite) ProtoReflect ¶
func (x *Invite) ProtoReflect() protoreflect.Message
type InviteRequest ¶
type InviteRequest struct { // email is the email of the invitation sender Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // allowIncomingTraffic defines that another peer is allowed // to send traffic to this device AllowIncomingTraffic bool `protobuf:"varint,2,opt,name=allowIncomingTraffic,proto3" json:"allowIncomingTraffic,omitempty"` // AllowTrafficRouting defines that another peer is allowed to // route traffic through this device AllowTrafficRouting bool `protobuf:"varint,3,opt,name=allowTrafficRouting,proto3" json:"allowTrafficRouting,omitempty"` // AllowLocalNetwork defines that another peer is allowed to // access device's local network when routing traffic through this device AllowLocalNetwork bool `protobuf:"varint,4,opt,name=allowLocalNetwork,proto3" json:"allowLocalNetwork,omitempty"` AllowFileshare bool `protobuf:"varint,5,opt,name=allowFileshare,proto3" json:"allowFileshare,omitempty"` // contains filtered or unexported fields }
InviteRequest defines an accepting response request for a meshnet invitation InviteRequest is the same as the accepting to the invitation. Both specify the email and allow traffic flags
func (*InviteRequest) Descriptor
deprecated
func (*InviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteRequest.ProtoReflect.Descriptor instead.
func (*InviteRequest) GetAllowFileshare ¶
func (x *InviteRequest) GetAllowFileshare() bool
func (*InviteRequest) GetAllowIncomingTraffic ¶
func (x *InviteRequest) GetAllowIncomingTraffic() bool
func (*InviteRequest) GetAllowLocalNetwork ¶
func (x *InviteRequest) GetAllowLocalNetwork() bool
func (*InviteRequest) GetAllowTrafficRouting ¶
func (x *InviteRequest) GetAllowTrafficRouting() bool
func (*InviteRequest) GetEmail ¶
func (x *InviteRequest) GetEmail() string
func (*InviteRequest) ProtoMessage ¶
func (*InviteRequest) ProtoMessage()
func (*InviteRequest) ProtoReflect ¶
func (x *InviteRequest) ProtoReflect() protoreflect.Message
func (*InviteRequest) Reset ¶
func (x *InviteRequest) Reset()
func (*InviteRequest) String ¶
func (x *InviteRequest) String() string
type InviteResponse ¶
type InviteResponse struct { // Types that are assignable to Response: // // *InviteResponse_Empty // *InviteResponse_InviteResponseErrorCode // *InviteResponse_ServiceErrorCode // *InviteResponse_MeshnetErrorCode Response isInviteResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
InviteResponse defines the response to the invite send
func (*InviteResponse) Descriptor
deprecated
func (*InviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use InviteResponse.ProtoReflect.Descriptor instead.
func (*InviteResponse) GetEmpty ¶
func (x *InviteResponse) GetEmpty() *Empty
func (*InviteResponse) GetInviteResponseErrorCode ¶
func (x *InviteResponse) GetInviteResponseErrorCode() InviteResponseErrorCode
func (*InviteResponse) GetMeshnetErrorCode ¶
func (x *InviteResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*InviteResponse) GetResponse ¶
func (m *InviteResponse) GetResponse() isInviteResponse_Response
func (*InviteResponse) GetServiceErrorCode ¶
func (x *InviteResponse) GetServiceErrorCode() ServiceErrorCode
func (*InviteResponse) ProtoMessage ¶
func (*InviteResponse) ProtoMessage()
func (*InviteResponse) ProtoReflect ¶
func (x *InviteResponse) ProtoReflect() protoreflect.Message
func (*InviteResponse) Reset ¶
func (x *InviteResponse) Reset()
func (*InviteResponse) String ¶
func (x *InviteResponse) String() string
type InviteResponseErrorCode ¶
type InviteResponseErrorCode int32
InviteResponseCode defines a response code specific to the invitation send action
const ( // ALREADY_EXISTS defines that the invitation to the specified // email already exists InviteResponseErrorCode_ALREADY_EXISTS InviteResponseErrorCode = 0 // INVALID_EMAIL defines that the given email is invalid, // therefore, cannot receive an invitation InviteResponseErrorCode_INVALID_EMAIL InviteResponseErrorCode = 1 // SAME_ACCOUNT_EMAIL defines that the given email is for the same account, // cannot send invite to myself InviteResponseErrorCode_SAME_ACCOUNT_EMAIL InviteResponseErrorCode = 2 // LIMIT_REACHED defines that the weekly invitation limit (20) // has been reached InviteResponseErrorCode_LIMIT_REACHED InviteResponseErrorCode = 3 // PEER_COUNT defines that no more devices can be invited InviteResponseErrorCode_PEER_COUNT InviteResponseErrorCode = 4 )
func (InviteResponseErrorCode) Descriptor ¶
func (InviteResponseErrorCode) Descriptor() protoreflect.EnumDescriptor
func (InviteResponseErrorCode) Enum ¶
func (x InviteResponseErrorCode) Enum() *InviteResponseErrorCode
func (InviteResponseErrorCode) EnumDescriptor
deprecated
func (InviteResponseErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use InviteResponseErrorCode.Descriptor instead.
func (InviteResponseErrorCode) Number ¶
func (x InviteResponseErrorCode) Number() protoreflect.EnumNumber
func (InviteResponseErrorCode) String ¶
func (x InviteResponseErrorCode) String() string
func (InviteResponseErrorCode) Type ¶
func (InviteResponseErrorCode) Type() protoreflect.EnumType
type InviteResponse_Empty ¶
type InviteResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type InviteResponse_InviteResponseErrorCode ¶
type InviteResponse_InviteResponseErrorCode struct {
InviteResponseErrorCode InviteResponseErrorCode `` /* 133-byte string literal not displayed */
}
type InviteResponse_MeshnetErrorCode ¶
type InviteResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,4,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type InviteResponse_ServiceErrorCode ¶
type InviteResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,3,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type InvitesList ¶
type InvitesList struct { Sent []*Invite `protobuf:"bytes,1,rep,name=sent,proto3" json:"sent,omitempty"` Received []*Invite `protobuf:"bytes,2,rep,name=received,proto3" json:"received,omitempty"` // contains filtered or unexported fields }
InvitesList defines the list of sent and received invitations
func (*InvitesList) Descriptor
deprecated
func (*InvitesList) Descriptor() ([]byte, []int)
Deprecated: Use InvitesList.ProtoReflect.Descriptor instead.
func (*InvitesList) GetReceived ¶
func (x *InvitesList) GetReceived() []*Invite
func (*InvitesList) GetSent ¶
func (x *InvitesList) GetSent() []*Invite
func (*InvitesList) ProtoMessage ¶
func (*InvitesList) ProtoMessage()
func (*InvitesList) ProtoReflect ¶
func (x *InvitesList) ProtoReflect() protoreflect.Message
func (*InvitesList) Reset ¶
func (x *InvitesList) Reset()
func (*InvitesList) String ¶
func (x *InvitesList) String() string
type IsEnabledResponse ¶
type IsEnabledResponse struct { // Types that are assignable to Response: // // *IsEnabledResponse_Status // *IsEnabledResponse_ErrorCode Response isIsEnabledResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*IsEnabledResponse) Descriptor
deprecated
func (*IsEnabledResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsEnabledResponse.ProtoReflect.Descriptor instead.
func (*IsEnabledResponse) GetErrorCode ¶
func (x *IsEnabledResponse) GetErrorCode() ServiceErrorCode
func (*IsEnabledResponse) GetResponse ¶
func (m *IsEnabledResponse) GetResponse() isIsEnabledResponse_Response
func (*IsEnabledResponse) GetStatus ¶
func (x *IsEnabledResponse) GetStatus() *EnabledStatus
func (*IsEnabledResponse) ProtoMessage ¶
func (*IsEnabledResponse) ProtoMessage()
func (*IsEnabledResponse) ProtoReflect ¶
func (x *IsEnabledResponse) ProtoReflect() protoreflect.Message
func (*IsEnabledResponse) Reset ¶
func (x *IsEnabledResponse) Reset()
func (*IsEnabledResponse) String ¶
func (x *IsEnabledResponse) String() string
type IsEnabledResponse_ErrorCode ¶
type IsEnabledResponse_ErrorCode struct {
ErrorCode ServiceErrorCode `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type IsEnabledResponse_Status ¶
type IsEnabledResponse_Status struct {
Status *EnabledStatus `protobuf:"bytes,1,opt,name=status,proto3,oneof"`
}
type MeshnetClient ¶
type MeshnetClient interface { // EnableMeshnet enables the meshnet on this device EnableMeshnet(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MeshnetResponse, error) // IsEnabled retrieves whether meshnet is enabled IsEnabled(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*IsEnabledResponse, error) // DisableMeshnet disables the meshnet on this device DisableMeshnet(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MeshnetResponse, error) RefreshMeshnet(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MeshnetResponse, error) // GetInvites retrieves a list of all the invites related to // this device GetInvites(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetInvitesResponse, error) // Invite sends the invite to the specified email to join the // meshnet. Invite(ctx context.Context, in *InviteRequest, opts ...grpc.CallOption) (*InviteResponse, error) // Invite sends the invite to the specified email to join the // meshnet. RevokeInvite(ctx context.Context, in *DenyInviteRequest, opts ...grpc.CallOption) (*RespondToInviteResponse, error) // AcceptInvite accepts the invite to join someone's meshnet AcceptInvite(ctx context.Context, in *InviteRequest, opts ...grpc.CallOption) (*RespondToInviteResponse, error) // AcceptInvite denies the invite to join someone's meshnet DenyInvite(ctx context.Context, in *DenyInviteRequest, opts ...grpc.CallOption) (*RespondToInviteResponse, error) // GetPeers retries the list of all meshnet peers related to // this device GetPeers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetPeersResponse, error) // RemovePeer removes a peer from the meshnet RemovePeer(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*RemovePeerResponse, error) // ChangePeerNickname changes(set/remove) the nickname for a meshnet peer ChangePeerNickname(ctx context.Context, in *ChangePeerNicknameRequest, opts ...grpc.CallOption) (*ChangeNicknameResponse, error) // ChangeMachineNickname changes the current machine meshnet nickname ChangeMachineNickname(ctx context.Context, in *ChangeMachineNicknameRequest, opts ...grpc.CallOption) (*ChangeNicknameResponse, error) // AllowRouting allows a peer to route traffic through this // device AllowRouting(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*AllowRoutingResponse, error) // DenyRouting allows a peer to route traffic through this // device DenyRouting(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*DenyRoutingResponse, error) // AllowIncoming allows a peer to send traffic to this device AllowIncoming(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*AllowIncomingResponse, error) // DenyIncoming denies a peer to send traffic to this device DenyIncoming(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*DenyIncomingResponse, error) // AllowLocalNetwork allows a peer to access local network when // routing through this device AllowLocalNetwork(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*AllowLocalNetworkResponse, error) // DenyLocalNetwork denies a peer to access local network when // routing through this device DenyLocalNetwork(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*DenyLocalNetworkResponse, error) AllowFileshare(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*AllowFileshareResponse, error) DenyFileshare(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*DenyFileshareResponse, error) EnableAutomaticFileshare(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*EnableAutomaticFileshareResponse, error) // DisableAutomaticFileshare from peer Connect(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*ConnectResponse, error) ConnectCancel(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*ConnectResponse, error) // NotifyNewTransfer notifies meshnet service about a newly created transaction so it can // notify a corresponding meshnet peer NotifyNewTransfer(ctx context.Context, in *NewTransferNotification, opts ...grpc.CallOption) (*NotifyNewTransferResponse, error) // GetPrivateKey is used to send self private key over to fileshare daemon GetPrivateKey(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PrivateKeyResponse, error) }
MeshnetClient is the client API for Meshnet 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.
Meshnet defines a service which handles the meshnet functionality on a single device
func NewMeshnetClient ¶
func NewMeshnetClient(cc grpc.ClientConnInterface) MeshnetClient
type MeshnetErrorCode ¶
type MeshnetErrorCode int32
MeshnetErrorCode defines a set of meshnet specific error codes.
const ( MeshnetErrorCode_NOT_REGISTERED MeshnetErrorCode = 0 MeshnetErrorCode_LIB_FAILURE MeshnetErrorCode = 1 MeshnetErrorCode_ALREADY_ENABLED MeshnetErrorCode = 3 MeshnetErrorCode_ALREADY_DISABLED MeshnetErrorCode = 4 MeshnetErrorCode_NOT_ENABLED MeshnetErrorCode = 5 MeshnetErrorCode_TECH_FAILURE MeshnetErrorCode = 6 MeshnetErrorCode_TUNNEL_CLOSED MeshnetErrorCode = 7 MeshnetErrorCode_CONFLICT_WITH_PQ MeshnetErrorCode = 8 MeshnetErrorCode_CONFLICT_WITH_PQ_SERVER MeshnetErrorCode = 9 )
func (MeshnetErrorCode) Descriptor ¶
func (MeshnetErrorCode) Descriptor() protoreflect.EnumDescriptor
func (MeshnetErrorCode) Enum ¶
func (x MeshnetErrorCode) Enum() *MeshnetErrorCode
func (MeshnetErrorCode) EnumDescriptor
deprecated
func (MeshnetErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MeshnetErrorCode.Descriptor instead.
func (MeshnetErrorCode) Number ¶
func (x MeshnetErrorCode) Number() protoreflect.EnumNumber
func (MeshnetErrorCode) String ¶
func (x MeshnetErrorCode) String() string
func (MeshnetErrorCode) Type ¶
func (MeshnetErrorCode) Type() protoreflect.EnumType
type MeshnetResponse ¶
type MeshnetResponse struct { // Types that are assignable to Response: // // *MeshnetResponse_Empty // *MeshnetResponse_ServiceError // *MeshnetResponse_MeshnetError Response isMeshnetResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
MeshnetErrorCode is one of the: - Empty response - Service error - Meshnet error
func (*MeshnetResponse) Descriptor
deprecated
func (*MeshnetResponse) Descriptor() ([]byte, []int)
Deprecated: Use MeshnetResponse.ProtoReflect.Descriptor instead.
func (*MeshnetResponse) GetEmpty ¶
func (x *MeshnetResponse) GetEmpty() *Empty
func (*MeshnetResponse) GetMeshnetError ¶
func (x *MeshnetResponse) GetMeshnetError() MeshnetErrorCode
func (*MeshnetResponse) GetResponse ¶
func (m *MeshnetResponse) GetResponse() isMeshnetResponse_Response
func (*MeshnetResponse) GetServiceError ¶
func (x *MeshnetResponse) GetServiceError() ServiceErrorCode
func (*MeshnetResponse) ProtoMessage ¶
func (*MeshnetResponse) ProtoMessage()
func (*MeshnetResponse) ProtoReflect ¶
func (x *MeshnetResponse) ProtoReflect() protoreflect.Message
func (*MeshnetResponse) Reset ¶
func (x *MeshnetResponse) Reset()
func (*MeshnetResponse) String ¶
func (x *MeshnetResponse) String() string
type MeshnetResponse_Empty ¶
type MeshnetResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type MeshnetResponse_MeshnetError ¶
type MeshnetResponse_MeshnetError struct {
MeshnetError MeshnetErrorCode `protobuf:"varint,3,opt,name=meshnet_error,json=meshnetError,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type MeshnetResponse_ServiceError ¶
type MeshnetResponse_ServiceError struct {
ServiceError ServiceErrorCode `protobuf:"varint,2,opt,name=service_error,json=serviceError,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type MeshnetServer ¶
type MeshnetServer interface { // EnableMeshnet enables the meshnet on this device EnableMeshnet(context.Context, *Empty) (*MeshnetResponse, error) // IsEnabled retrieves whether meshnet is enabled IsEnabled(context.Context, *Empty) (*IsEnabledResponse, error) // DisableMeshnet disables the meshnet on this device DisableMeshnet(context.Context, *Empty) (*MeshnetResponse, error) RefreshMeshnet(context.Context, *Empty) (*MeshnetResponse, error) // GetInvites retrieves a list of all the invites related to // this device GetInvites(context.Context, *Empty) (*GetInvitesResponse, error) // Invite sends the invite to the specified email to join the // meshnet. Invite(context.Context, *InviteRequest) (*InviteResponse, error) // Invite sends the invite to the specified email to join the // meshnet. RevokeInvite(context.Context, *DenyInviteRequest) (*RespondToInviteResponse, error) // AcceptInvite accepts the invite to join someone's meshnet AcceptInvite(context.Context, *InviteRequest) (*RespondToInviteResponse, error) // AcceptInvite denies the invite to join someone's meshnet DenyInvite(context.Context, *DenyInviteRequest) (*RespondToInviteResponse, error) // GetPeers retries the list of all meshnet peers related to // this device GetPeers(context.Context, *Empty) (*GetPeersResponse, error) // RemovePeer removes a peer from the meshnet RemovePeer(context.Context, *UpdatePeerRequest) (*RemovePeerResponse, error) // ChangePeerNickname changes(set/remove) the nickname for a meshnet peer ChangePeerNickname(context.Context, *ChangePeerNicknameRequest) (*ChangeNicknameResponse, error) // ChangeMachineNickname changes the current machine meshnet nickname ChangeMachineNickname(context.Context, *ChangeMachineNicknameRequest) (*ChangeNicknameResponse, error) // AllowRouting allows a peer to route traffic through this // device AllowRouting(context.Context, *UpdatePeerRequest) (*AllowRoutingResponse, error) // DenyRouting allows a peer to route traffic through this // device DenyRouting(context.Context, *UpdatePeerRequest) (*DenyRoutingResponse, error) // AllowIncoming allows a peer to send traffic to this device AllowIncoming(context.Context, *UpdatePeerRequest) (*AllowIncomingResponse, error) // DenyIncoming denies a peer to send traffic to this device DenyIncoming(context.Context, *UpdatePeerRequest) (*DenyIncomingResponse, error) // AllowLocalNetwork allows a peer to access local network when // routing through this device AllowLocalNetwork(context.Context, *UpdatePeerRequest) (*AllowLocalNetworkResponse, error) // DenyLocalNetwork denies a peer to access local network when // routing through this device DenyLocalNetwork(context.Context, *UpdatePeerRequest) (*DenyLocalNetworkResponse, error) AllowFileshare(context.Context, *UpdatePeerRequest) (*AllowFileshareResponse, error) DenyFileshare(context.Context, *UpdatePeerRequest) (*DenyFileshareResponse, error) EnableAutomaticFileshare(context.Context, *UpdatePeerRequest) (*EnableAutomaticFileshareResponse, error) // DisableAutomaticFileshare from peer Connect(context.Context, *UpdatePeerRequest) (*ConnectResponse, error) ConnectCancel(context.Context, *UpdatePeerRequest) (*ConnectResponse, error) // NotifyNewTransfer notifies meshnet service about a newly created transaction so it can // notify a corresponding meshnet peer NotifyNewTransfer(context.Context, *NewTransferNotification) (*NotifyNewTransferResponse, error) // GetPrivateKey is used to send self private key over to fileshare daemon GetPrivateKey(context.Context, *Empty) (*PrivateKeyResponse, error) // contains filtered or unexported methods }
MeshnetServer is the server API for Meshnet service. All implementations must embed UnimplementedMeshnetServer for forward compatibility.
Meshnet defines a service which handles the meshnet functionality on a single device
type NewTransferNotification ¶
type NewTransferNotification struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // Identifier of a device Os string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` // Operating system of a peer FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // Name of a file which is being sent. Empty if file_count > 1 FileCount int32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"` // Amount of files being sent TransferId string `protobuf:"bytes,5,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"` // Transfer ID // contains filtered or unexported fields }
NewTransferNotification defines a notification structure about a new transfer
func (*NewTransferNotification) Descriptor
deprecated
func (*NewTransferNotification) Descriptor() ([]byte, []int)
Deprecated: Use NewTransferNotification.ProtoReflect.Descriptor instead.
func (*NewTransferNotification) GetFileCount ¶
func (x *NewTransferNotification) GetFileCount() int32
func (*NewTransferNotification) GetFileName ¶
func (x *NewTransferNotification) GetFileName() string
func (*NewTransferNotification) GetIdentifier ¶
func (x *NewTransferNotification) GetIdentifier() string
func (*NewTransferNotification) GetOs ¶
func (x *NewTransferNotification) GetOs() string
func (*NewTransferNotification) GetTransferId ¶
func (x *NewTransferNotification) GetTransferId() string
func (*NewTransferNotification) ProtoMessage ¶
func (*NewTransferNotification) ProtoMessage()
func (*NewTransferNotification) ProtoReflect ¶
func (x *NewTransferNotification) ProtoReflect() protoreflect.Message
func (*NewTransferNotification) Reset ¶
func (x *NewTransferNotification) Reset()
func (*NewTransferNotification) String ¶
func (x *NewTransferNotification) String() string
type NotifyNewTransferResponse ¶
type NotifyNewTransferResponse struct { // Types that are assignable to Response: // // *NotifyNewTransferResponse_Empty // *NotifyNewTransferResponse_UpdatePeerErrorCode // *NotifyNewTransferResponse_ServiceErrorCode // *NotifyNewTransferResponse_MeshnetErrorCode Response isNotifyNewTransferResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
NotifyNewTransferResponse defines a response of new transfer notification
func (*NotifyNewTransferResponse) Descriptor
deprecated
func (*NotifyNewTransferResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyNewTransferResponse.ProtoReflect.Descriptor instead.
func (*NotifyNewTransferResponse) GetEmpty ¶
func (x *NotifyNewTransferResponse) GetEmpty() *Empty
func (*NotifyNewTransferResponse) GetMeshnetErrorCode ¶
func (x *NotifyNewTransferResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*NotifyNewTransferResponse) GetResponse ¶
func (m *NotifyNewTransferResponse) GetResponse() isNotifyNewTransferResponse_Response
func (*NotifyNewTransferResponse) GetServiceErrorCode ¶
func (x *NotifyNewTransferResponse) GetServiceErrorCode() ServiceErrorCode
func (*NotifyNewTransferResponse) GetUpdatePeerErrorCode ¶
func (x *NotifyNewTransferResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*NotifyNewTransferResponse) ProtoMessage ¶
func (*NotifyNewTransferResponse) ProtoMessage()
func (*NotifyNewTransferResponse) ProtoReflect ¶
func (x *NotifyNewTransferResponse) ProtoReflect() protoreflect.Message
func (*NotifyNewTransferResponse) Reset ¶
func (x *NotifyNewTransferResponse) Reset()
func (*NotifyNewTransferResponse) String ¶
func (x *NotifyNewTransferResponse) String() string
type NotifyNewTransferResponse_Empty ¶
type NotifyNewTransferResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type NotifyNewTransferResponse_MeshnetErrorCode ¶
type NotifyNewTransferResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,4,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type NotifyNewTransferResponse_ServiceErrorCode ¶
type NotifyNewTransferResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,3,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type NotifyNewTransferResponse_UpdatePeerErrorCode ¶
type NotifyNewTransferResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type Peer ¶
type Peer struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` Endpoints []string `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"` Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` OsVersion string `protobuf:"bytes,6,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` Hostname string `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"` Distro string `protobuf:"bytes,8,opt,name=distro,proto3" json:"distro,omitempty"` Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"` IsInboundAllowed bool `protobuf:"varint,10,opt,name=is_inbound_allowed,json=isInboundAllowed,proto3" json:"is_inbound_allowed,omitempty"` IsRoutable bool `protobuf:"varint,11,opt,name=is_routable,json=isRoutable,proto3" json:"is_routable,omitempty"` IsLocalNetworkAllowed bool `` /* 130-byte string literal not displayed */ DoIAllowInbound bool `protobuf:"varint,12,opt,name=do_i_allow_inbound,json=doIAllowInbound,proto3" json:"do_i_allow_inbound,omitempty"` DoIAllowRouting bool `protobuf:"varint,13,opt,name=do_i_allow_routing,json=doIAllowRouting,proto3" json:"do_i_allow_routing,omitempty"` DoIAllowLocalNetwork bool `` /* 129-byte string literal not displayed */ AlwaysAcceptFiles bool `protobuf:"varint,19,opt,name=always_accept_files,json=alwaysAcceptFiles,proto3" json:"always_accept_files,omitempty"` Status PeerStatus `protobuf:"varint,14,opt,name=status,proto3,enum=meshpb.PeerStatus" json:"status,omitempty"` Nickname string `protobuf:"bytes,20,opt,name=nickname,proto3" json:"nickname,omitempty"` // contains filtered or unexported fields }
Peer defines a single meshnet peer
func (*Peer) Descriptor
deprecated
func (*Peer) GetAlwaysAcceptFiles ¶
func (*Peer) GetDoIAllowFileshare ¶
func (*Peer) GetDoIAllowInbound ¶
func (*Peer) GetDoIAllowLocalNetwork ¶
func (*Peer) GetDoIAllowRouting ¶
func (*Peer) GetEndpoints ¶
func (*Peer) GetHostname ¶
func (*Peer) GetIdentifier ¶
func (*Peer) GetIsFileshareAllowed ¶
func (*Peer) GetIsInboundAllowed ¶
func (*Peer) GetIsLocalNetworkAllowed ¶
func (*Peer) GetIsRoutable ¶
func (*Peer) GetNickname ¶
func (*Peer) GetOsVersion ¶
func (*Peer) GetStatus ¶
func (x *Peer) GetStatus() PeerStatus
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
type PeerList ¶
type PeerList struct { Self *Peer `protobuf:"bytes,1,opt,name=self,proto3" json:"self,omitempty"` Local []*Peer `protobuf:"bytes,2,rep,name=local,proto3" json:"local,omitempty"` External []*Peer `protobuf:"bytes,3,rep,name=external,proto3" json:"external,omitempty"` // contains filtered or unexported fields }
PeerList defines a list of all the peers related to the device
func (*PeerList) Descriptor
deprecated
func (*PeerList) GetExternal ¶
func (*PeerList) ProtoMessage ¶
func (*PeerList) ProtoMessage()
func (*PeerList) ProtoReflect ¶
func (x *PeerList) ProtoReflect() protoreflect.Message
type PeerStatus ¶
type PeerStatus int32
PeerStatus defines the current connection status with the peer
const ( PeerStatus_DISCONNECTED PeerStatus = 0 PeerStatus_CONNECTED PeerStatus = 1 )
func (PeerStatus) Descriptor ¶
func (PeerStatus) Descriptor() protoreflect.EnumDescriptor
func (PeerStatus) Enum ¶
func (x PeerStatus) Enum() *PeerStatus
func (PeerStatus) EnumDescriptor
deprecated
func (PeerStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeerStatus.Descriptor instead.
func (PeerStatus) Number ¶
func (x PeerStatus) Number() protoreflect.EnumNumber
func (PeerStatus) String ¶
func (x PeerStatus) String() string
func (PeerStatus) Type ¶
func (PeerStatus) Type() protoreflect.EnumType
type PrivateKeyResponse ¶
type PrivateKeyResponse struct { // Types that are assignable to Response: // // *PrivateKeyResponse_PrivateKey // *PrivateKeyResponse_ServiceErrorCode Response isPrivateKeyResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*PrivateKeyResponse) Descriptor
deprecated
func (*PrivateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrivateKeyResponse.ProtoReflect.Descriptor instead.
func (*PrivateKeyResponse) GetPrivateKey ¶
func (x *PrivateKeyResponse) GetPrivateKey() string
func (*PrivateKeyResponse) GetResponse ¶
func (m *PrivateKeyResponse) GetResponse() isPrivateKeyResponse_Response
func (*PrivateKeyResponse) GetServiceErrorCode ¶
func (x *PrivateKeyResponse) GetServiceErrorCode() ServiceErrorCode
func (*PrivateKeyResponse) ProtoMessage ¶
func (*PrivateKeyResponse) ProtoMessage()
func (*PrivateKeyResponse) ProtoReflect ¶
func (x *PrivateKeyResponse) ProtoReflect() protoreflect.Message
func (*PrivateKeyResponse) Reset ¶
func (x *PrivateKeyResponse) Reset()
func (*PrivateKeyResponse) String ¶
func (x *PrivateKeyResponse) String() string
type PrivateKeyResponse_PrivateKey ¶
type PrivateKeyResponse_PrivateKey struct {
PrivateKey string `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3,oneof"`
}
type PrivateKeyResponse_ServiceErrorCode ¶
type PrivateKeyResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,2,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type RemovePeerResponse ¶
type RemovePeerResponse struct { // Types that are assignable to Response: // // *RemovePeerResponse_Empty // *RemovePeerResponse_UpdatePeerErrorCode // *RemovePeerResponse_ServiceErrorCode // *RemovePeerResponse_MeshnetErrorCode Response isRemovePeerResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
RemovePeerResponse defines a peer removal response
func (*RemovePeerResponse) Descriptor
deprecated
func (*RemovePeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePeerResponse.ProtoReflect.Descriptor instead.
func (*RemovePeerResponse) GetEmpty ¶
func (x *RemovePeerResponse) GetEmpty() *Empty
func (*RemovePeerResponse) GetMeshnetErrorCode ¶
func (x *RemovePeerResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*RemovePeerResponse) GetResponse ¶
func (m *RemovePeerResponse) GetResponse() isRemovePeerResponse_Response
func (*RemovePeerResponse) GetServiceErrorCode ¶
func (x *RemovePeerResponse) GetServiceErrorCode() ServiceErrorCode
func (*RemovePeerResponse) GetUpdatePeerErrorCode ¶
func (x *RemovePeerResponse) GetUpdatePeerErrorCode() UpdatePeerErrorCode
func (*RemovePeerResponse) ProtoMessage ¶
func (*RemovePeerResponse) ProtoMessage()
func (*RemovePeerResponse) ProtoReflect ¶
func (x *RemovePeerResponse) ProtoReflect() protoreflect.Message
func (*RemovePeerResponse) Reset ¶
func (x *RemovePeerResponse) Reset()
func (*RemovePeerResponse) String ¶
func (x *RemovePeerResponse) String() string
type RemovePeerResponse_Empty ¶
type RemovePeerResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type RemovePeerResponse_MeshnetErrorCode ¶
type RemovePeerResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,4,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type RemovePeerResponse_ServiceErrorCode ¶
type RemovePeerResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,3,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type RemovePeerResponse_UpdatePeerErrorCode ¶
type RemovePeerResponse_UpdatePeerErrorCode struct {
UpdatePeerErrorCode UpdatePeerErrorCode `protobuf:"varint,2,opt,name=update_peer_error_code,json=updatePeerErrorCode,proto3,enum=meshpb.UpdatePeerErrorCode,oneof"`
}
type RespondToInviteErrorCode ¶
type RespondToInviteErrorCode int32
RespondToInviteErrorCode defines the error of meshnet service response to the invitation response
const ( // UNKNOWN defines that the exact error was not determined RespondToInviteErrorCode_UNKNOWN RespondToInviteErrorCode = 0 // NO_SUCH_INVITATION defines that the request was not handled // successfully RespondToInviteErrorCode_NO_SUCH_INVITATION RespondToInviteErrorCode = 1 // DEVICE_COUNT defines that no more devices can be added RespondToInviteErrorCode_DEVICE_COUNT RespondToInviteErrorCode = 2 )
func (RespondToInviteErrorCode) Descriptor ¶
func (RespondToInviteErrorCode) Descriptor() protoreflect.EnumDescriptor
func (RespondToInviteErrorCode) Enum ¶
func (x RespondToInviteErrorCode) Enum() *RespondToInviteErrorCode
func (RespondToInviteErrorCode) EnumDescriptor
deprecated
func (RespondToInviteErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RespondToInviteErrorCode.Descriptor instead.
func (RespondToInviteErrorCode) Number ¶
func (x RespondToInviteErrorCode) Number() protoreflect.EnumNumber
func (RespondToInviteErrorCode) String ¶
func (x RespondToInviteErrorCode) String() string
func (RespondToInviteErrorCode) Type ¶
func (RespondToInviteErrorCode) Type() protoreflect.EnumType
type RespondToInviteResponse ¶
type RespondToInviteResponse struct { // Types that are assignable to Response: // // *RespondToInviteResponse_Empty // *RespondToInviteResponse_RespondToInviteErrorCode // *RespondToInviteResponse_ServiceErrorCode // *RespondToInviteResponse_MeshnetErrorCode Response isRespondToInviteResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
RespondToInviteResponse defines an empty gRPC response with the status
func (*RespondToInviteResponse) Descriptor
deprecated
func (*RespondToInviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RespondToInviteResponse.ProtoReflect.Descriptor instead.
func (*RespondToInviteResponse) GetEmpty ¶
func (x *RespondToInviteResponse) GetEmpty() *Empty
func (*RespondToInviteResponse) GetMeshnetErrorCode ¶
func (x *RespondToInviteResponse) GetMeshnetErrorCode() MeshnetErrorCode
func (*RespondToInviteResponse) GetRespondToInviteErrorCode ¶
func (x *RespondToInviteResponse) GetRespondToInviteErrorCode() RespondToInviteErrorCode
func (*RespondToInviteResponse) GetResponse ¶
func (m *RespondToInviteResponse) GetResponse() isRespondToInviteResponse_Response
func (*RespondToInviteResponse) GetServiceErrorCode ¶
func (x *RespondToInviteResponse) GetServiceErrorCode() ServiceErrorCode
func (*RespondToInviteResponse) ProtoMessage ¶
func (*RespondToInviteResponse) ProtoMessage()
func (*RespondToInviteResponse) ProtoReflect ¶
func (x *RespondToInviteResponse) ProtoReflect() protoreflect.Message
func (*RespondToInviteResponse) Reset ¶
func (x *RespondToInviteResponse) Reset()
func (*RespondToInviteResponse) String ¶
func (x *RespondToInviteResponse) String() string
type RespondToInviteResponse_Empty ¶
type RespondToInviteResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type RespondToInviteResponse_MeshnetErrorCode ¶
type RespondToInviteResponse_MeshnetErrorCode struct {
MeshnetErrorCode MeshnetErrorCode `protobuf:"varint,4,opt,name=meshnet_error_code,json=meshnetErrorCode,proto3,enum=meshpb.MeshnetErrorCode,oneof"`
}
type RespondToInviteResponse_RespondToInviteErrorCode ¶
type RespondToInviteResponse_RespondToInviteErrorCode struct {
RespondToInviteErrorCode RespondToInviteErrorCode `` /* 137-byte string literal not displayed */
}
type RespondToInviteResponse_ServiceErrorCode ¶
type RespondToInviteResponse_ServiceErrorCode struct {
ServiceErrorCode ServiceErrorCode `protobuf:"varint,3,opt,name=service_error_code,json=serviceErrorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type ServiceBoolResponse ¶
type ServiceBoolResponse struct { // Types that are assignable to Response: // // *ServiceBoolResponse_Value // *ServiceBoolResponse_ErrorCode Response isServiceBoolResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
ServiceBoolResponse is either a bool response or a service error
func (*ServiceBoolResponse) Descriptor
deprecated
func (*ServiceBoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceBoolResponse.ProtoReflect.Descriptor instead.
func (*ServiceBoolResponse) GetErrorCode ¶
func (x *ServiceBoolResponse) GetErrorCode() ServiceErrorCode
func (*ServiceBoolResponse) GetResponse ¶
func (m *ServiceBoolResponse) GetResponse() isServiceBoolResponse_Response
func (*ServiceBoolResponse) GetValue ¶
func (x *ServiceBoolResponse) GetValue() bool
func (*ServiceBoolResponse) ProtoMessage ¶
func (*ServiceBoolResponse) ProtoMessage()
func (*ServiceBoolResponse) ProtoReflect ¶
func (x *ServiceBoolResponse) ProtoReflect() protoreflect.Message
func (*ServiceBoolResponse) Reset ¶
func (x *ServiceBoolResponse) Reset()
func (*ServiceBoolResponse) String ¶
func (x *ServiceBoolResponse) String() string
type ServiceBoolResponse_ErrorCode ¶
type ServiceBoolResponse_ErrorCode struct {
ErrorCode ServiceErrorCode `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type ServiceBoolResponse_Value ¶
type ServiceBoolResponse_Value struct {
Value bool `protobuf:"varint,1,opt,name=value,proto3,oneof"`
}
type ServiceErrorCode ¶
type ServiceErrorCode int32
ServiceErrorCode defines a set of error codes which handling does not depend on any specific command used.
const ( ServiceErrorCode_NOT_LOGGED_IN ServiceErrorCode = 0 ServiceErrorCode_API_FAILURE ServiceErrorCode = 1 ServiceErrorCode_CONFIG_FAILURE ServiceErrorCode = 2 )
func (ServiceErrorCode) Descriptor ¶
func (ServiceErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ServiceErrorCode) Enum ¶
func (x ServiceErrorCode) Enum() *ServiceErrorCode
func (ServiceErrorCode) EnumDescriptor
deprecated
func (ServiceErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceErrorCode.Descriptor instead.
func (ServiceErrorCode) Number ¶
func (x ServiceErrorCode) Number() protoreflect.EnumNumber
func (ServiceErrorCode) String ¶
func (x ServiceErrorCode) String() string
func (ServiceErrorCode) Type ¶
func (ServiceErrorCode) Type() protoreflect.EnumType
type ServiceResponse ¶
type ServiceResponse struct { // Types that are assignable to Response: // // *ServiceResponse_Empty // *ServiceResponse_ErrorCode Response isServiceResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
ServiceResponse is either an empty response or a service error
func (*ServiceResponse) Descriptor
deprecated
func (*ServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
func (*ServiceResponse) GetEmpty ¶
func (x *ServiceResponse) GetEmpty() *Empty
func (*ServiceResponse) GetErrorCode ¶
func (x *ServiceResponse) GetErrorCode() ServiceErrorCode
func (*ServiceResponse) GetResponse ¶
func (m *ServiceResponse) GetResponse() isServiceResponse_Response
func (*ServiceResponse) ProtoMessage ¶
func (*ServiceResponse) ProtoMessage()
func (*ServiceResponse) ProtoReflect ¶
func (x *ServiceResponse) ProtoReflect() protoreflect.Message
func (*ServiceResponse) Reset ¶
func (x *ServiceResponse) Reset()
func (*ServiceResponse) String ¶
func (x *ServiceResponse) String() string
type ServiceResponse_Empty ¶
type ServiceResponse_Empty struct {
Empty *Empty `protobuf:"bytes,1,opt,name=empty,proto3,oneof"`
}
type ServiceResponse_ErrorCode ¶
type ServiceResponse_ErrorCode struct {
ErrorCode ServiceErrorCode `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=meshpb.ServiceErrorCode,oneof"`
}
type UnimplementedMeshnetServer ¶
type UnimplementedMeshnetServer struct{}
UnimplementedMeshnetServer 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 (UnimplementedMeshnetServer) AcceptInvite ¶
func (UnimplementedMeshnetServer) AcceptInvite(context.Context, *InviteRequest) (*RespondToInviteResponse, error)
func (UnimplementedMeshnetServer) AllowFileshare ¶
func (UnimplementedMeshnetServer) AllowFileshare(context.Context, *UpdatePeerRequest) (*AllowFileshareResponse, error)
func (UnimplementedMeshnetServer) AllowIncoming ¶
func (UnimplementedMeshnetServer) AllowIncoming(context.Context, *UpdatePeerRequest) (*AllowIncomingResponse, error)
func (UnimplementedMeshnetServer) AllowLocalNetwork ¶
func (UnimplementedMeshnetServer) AllowLocalNetwork(context.Context, *UpdatePeerRequest) (*AllowLocalNetworkResponse, error)
func (UnimplementedMeshnetServer) AllowRouting ¶
func (UnimplementedMeshnetServer) AllowRouting(context.Context, *UpdatePeerRequest) (*AllowRoutingResponse, error)
func (UnimplementedMeshnetServer) ChangeMachineNickname ¶
func (UnimplementedMeshnetServer) ChangeMachineNickname(context.Context, *ChangeMachineNicknameRequest) (*ChangeNicknameResponse, error)
func (UnimplementedMeshnetServer) ChangePeerNickname ¶
func (UnimplementedMeshnetServer) ChangePeerNickname(context.Context, *ChangePeerNicknameRequest) (*ChangeNicknameResponse, error)
func (UnimplementedMeshnetServer) Connect ¶
func (UnimplementedMeshnetServer) Connect(context.Context, *UpdatePeerRequest) (*ConnectResponse, error)
func (UnimplementedMeshnetServer) ConnectCancel ¶
func (UnimplementedMeshnetServer) ConnectCancel(context.Context, *UpdatePeerRequest) (*ConnectResponse, error)
func (UnimplementedMeshnetServer) DenyFileshare ¶
func (UnimplementedMeshnetServer) DenyFileshare(context.Context, *UpdatePeerRequest) (*DenyFileshareResponse, error)
func (UnimplementedMeshnetServer) DenyIncoming ¶
func (UnimplementedMeshnetServer) DenyIncoming(context.Context, *UpdatePeerRequest) (*DenyIncomingResponse, error)
func (UnimplementedMeshnetServer) DenyInvite ¶
func (UnimplementedMeshnetServer) DenyInvite(context.Context, *DenyInviteRequest) (*RespondToInviteResponse, error)
func (UnimplementedMeshnetServer) DenyLocalNetwork ¶
func (UnimplementedMeshnetServer) DenyLocalNetwork(context.Context, *UpdatePeerRequest) (*DenyLocalNetworkResponse, error)
func (UnimplementedMeshnetServer) DenyRouting ¶
func (UnimplementedMeshnetServer) DenyRouting(context.Context, *UpdatePeerRequest) (*DenyRoutingResponse, error)
func (UnimplementedMeshnetServer) DisableAutomaticFileshare ¶
func (UnimplementedMeshnetServer) DisableAutomaticFileshare(context.Context, *UpdatePeerRequest) (*DisableAutomaticFileshareResponse, error)
func (UnimplementedMeshnetServer) DisableMeshnet ¶
func (UnimplementedMeshnetServer) DisableMeshnet(context.Context, *Empty) (*MeshnetResponse, error)
func (UnimplementedMeshnetServer) EnableAutomaticFileshare ¶
func (UnimplementedMeshnetServer) EnableAutomaticFileshare(context.Context, *UpdatePeerRequest) (*EnableAutomaticFileshareResponse, error)
func (UnimplementedMeshnetServer) EnableMeshnet ¶
func (UnimplementedMeshnetServer) EnableMeshnet(context.Context, *Empty) (*MeshnetResponse, error)
func (UnimplementedMeshnetServer) GetInvites ¶
func (UnimplementedMeshnetServer) GetInvites(context.Context, *Empty) (*GetInvitesResponse, error)
func (UnimplementedMeshnetServer) GetPeers ¶
func (UnimplementedMeshnetServer) GetPeers(context.Context, *Empty) (*GetPeersResponse, error)
func (UnimplementedMeshnetServer) GetPrivateKey ¶
func (UnimplementedMeshnetServer) GetPrivateKey(context.Context, *Empty) (*PrivateKeyResponse, error)
func (UnimplementedMeshnetServer) Invite ¶
func (UnimplementedMeshnetServer) Invite(context.Context, *InviteRequest) (*InviteResponse, error)
func (UnimplementedMeshnetServer) IsEnabled ¶
func (UnimplementedMeshnetServer) IsEnabled(context.Context, *Empty) (*IsEnabledResponse, error)
func (UnimplementedMeshnetServer) NotifyNewTransfer ¶
func (UnimplementedMeshnetServer) NotifyNewTransfer(context.Context, *NewTransferNotification) (*NotifyNewTransferResponse, error)
func (UnimplementedMeshnetServer) RefreshMeshnet ¶
func (UnimplementedMeshnetServer) RefreshMeshnet(context.Context, *Empty) (*MeshnetResponse, error)
func (UnimplementedMeshnetServer) RemovePeer ¶
func (UnimplementedMeshnetServer) RemovePeer(context.Context, *UpdatePeerRequest) (*RemovePeerResponse, error)
func (UnimplementedMeshnetServer) RevokeInvite ¶
func (UnimplementedMeshnetServer) RevokeInvite(context.Context, *DenyInviteRequest) (*RespondToInviteResponse, error)
type UnsafeMeshnetServer ¶
type UnsafeMeshnetServer interface {
// contains filtered or unexported methods
}
UnsafeMeshnetServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MeshnetServer will result in compilation errors.
type UpdatePeerErrorCode ¶
type UpdatePeerErrorCode int32
UpdatePeerErrorCode defines an error code on updating a peer within the meshnet
const (
UpdatePeerErrorCode_PEER_NOT_FOUND UpdatePeerErrorCode = 0
)
func (UpdatePeerErrorCode) Descriptor ¶
func (UpdatePeerErrorCode) Descriptor() protoreflect.EnumDescriptor
func (UpdatePeerErrorCode) Enum ¶
func (x UpdatePeerErrorCode) Enum() *UpdatePeerErrorCode
func (UpdatePeerErrorCode) EnumDescriptor
deprecated
func (UpdatePeerErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdatePeerErrorCode.Descriptor instead.
func (UpdatePeerErrorCode) Number ¶
func (x UpdatePeerErrorCode) Number() protoreflect.EnumNumber
func (UpdatePeerErrorCode) String ¶
func (x UpdatePeerErrorCode) String() string
func (UpdatePeerErrorCode) Type ¶
func (UpdatePeerErrorCode) Type() protoreflect.EnumType
type UpdatePeerRequest ¶
type UpdatePeerRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
UpdatePeerRequest defines a request to remove a peer from a meshnet
func (*UpdatePeerRequest) Descriptor
deprecated
func (*UpdatePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePeerRequest.ProtoReflect.Descriptor instead.
func (*UpdatePeerRequest) GetIdentifier ¶
func (x *UpdatePeerRequest) GetIdentifier() string
func (*UpdatePeerRequest) ProtoMessage ¶
func (*UpdatePeerRequest) ProtoMessage()
func (*UpdatePeerRequest) ProtoReflect ¶
func (x *UpdatePeerRequest) ProtoReflect() protoreflect.Message
func (*UpdatePeerRequest) Reset ¶
func (x *UpdatePeerRequest) Reset()
func (*UpdatePeerRequest) String ¶
func (x *UpdatePeerRequest) String() string