Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteCertificate(env *Env) error
- func GenerateCertificate(env *Env, save bool) (*keys.CertificateKey, error)
- func IsPortInUse(port int) bool
- func NewServiceFn(env *Env, build Build, cert *keys.CertificateKey, lgi LogInterceptor) (ServeFn, CloseFn, error)
- func RegisterRPCServer(s *grpc.Server, srv RPCServer)
- func Run(build Build)
- func RunClient(build Build)
- func SetLogger(l Logger)
- func Uninstall(out io.Writer, env *Env) error
- type AdminCheckRequest
- func (*AdminCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminCheckRequest) GetCheck() string
- func (x *AdminCheckRequest) GetSigner() string
- func (*AdminCheckRequest) ProtoMessage()
- func (x *AdminCheckRequest) ProtoReflect() protoreflect.Message
- func (x *AdminCheckRequest) Reset()
- func (x *AdminCheckRequest) String() string
- type AdminCheckResponse
- type AdminSignURLRequest
- func (*AdminSignURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminSignURLRequest) GetMethod() string
- func (x *AdminSignURLRequest) GetSigner() string
- func (x *AdminSignURLRequest) GetURL() string
- func (*AdminSignURLRequest) ProtoMessage()
- func (x *AdminSignURLRequest) ProtoReflect() protoreflect.Message
- func (x *AdminSignURLRequest) Reset()
- func (x *AdminSignURLRequest) String() string
- type AdminSignURLResponse
- func (*AdminSignURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminSignURLResponse) GetAuth() string
- func (x *AdminSignURLResponse) GetCURL() string
- func (x *AdminSignURLResponse) GetURL() string
- func (*AdminSignURLResponse) ProtoMessage()
- func (x *AdminSignURLResponse) ProtoReflect() protoreflect.Message
- func (x *AdminSignURLResponse) Reset()
- func (x *AdminSignURLResponse) String() string
- type AuthDeprovisionRequest
- func (*AuthDeprovisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthDeprovisionRequest) GetID() string
- func (*AuthDeprovisionRequest) ProtoMessage()
- func (x *AuthDeprovisionRequest) ProtoReflect() protoreflect.Message
- func (x *AuthDeprovisionRequest) Reset()
- func (x *AuthDeprovisionRequest) String() string
- type AuthDeprovisionResponse
- type AuthLockRequest
- type AuthLockResponse
- type AuthPasswordChangeRequest
- func (*AuthPasswordChangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthPasswordChangeRequest) GetNew() string
- func (x *AuthPasswordChangeRequest) GetOld() string
- func (*AuthPasswordChangeRequest) ProtoMessage()
- func (x *AuthPasswordChangeRequest) ProtoReflect() protoreflect.Message
- func (x *AuthPasswordChangeRequest) Reset()
- func (x *AuthPasswordChangeRequest) String() string
- type AuthPasswordChangeResponse
- type AuthProvision
- func (*AuthProvision) Descriptor() ([]byte, []int)deprecated
- func (x *AuthProvision) GetAAGUID() string
- func (x *AuthProvision) GetCreatedAt() int64
- func (x *AuthProvision) GetID() string
- func (x *AuthProvision) GetNoPin() bool
- func (x *AuthProvision) GetType() AuthType
- func (*AuthProvision) ProtoMessage()
- func (x *AuthProvision) ProtoReflect() protoreflect.Message
- func (x *AuthProvision) Reset()
- func (x *AuthProvision) String() string
- type AuthProvisionRequest
- func (*AuthProvisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthProvisionRequest) GetDevice() string
- func (x *AuthProvisionRequest) GetGenerate() bool
- func (x *AuthProvisionRequest) GetSecret() string
- func (x *AuthProvisionRequest) GetType() AuthType
- func (*AuthProvisionRequest) ProtoMessage()
- func (x *AuthProvisionRequest) ProtoReflect() protoreflect.Message
- func (x *AuthProvisionRequest) Reset()
- func (x *AuthProvisionRequest) String() string
- type AuthProvisionResponse
- func (*AuthProvisionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthProvisionResponse) GetProvision() *AuthProvision
- func (*AuthProvisionResponse) ProtoMessage()
- func (x *AuthProvisionResponse) ProtoReflect() protoreflect.Message
- func (x *AuthProvisionResponse) Reset()
- func (x *AuthProvisionResponse) String() string
- type AuthProvisionsRequest
- type AuthProvisionsResponse
- func (*AuthProvisionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthProvisionsResponse) GetProvisions() []*AuthProvision
- func (*AuthProvisionsResponse) ProtoMessage()
- func (x *AuthProvisionsResponse) ProtoReflect() protoreflect.Message
- func (x *AuthProvisionsResponse) Reset()
- func (x *AuthProvisionsResponse) String() string
- type AuthRecoverRequest
- func (*AuthRecoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRecoverRequest) GetNewPassword() string
- func (x *AuthRecoverRequest) GetPaperKey() string
- func (*AuthRecoverRequest) ProtoMessage()
- func (x *AuthRecoverRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRecoverRequest) Reset()
- func (x *AuthRecoverRequest) String() string
- type AuthRecoverResponse
- func (*AuthRecoverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRecoverResponse) GetAuthToken() string
- func (*AuthRecoverResponse) ProtoMessage()
- func (x *AuthRecoverResponse) ProtoReflect() protoreflect.Message
- func (x *AuthRecoverResponse) Reset()
- func (x *AuthRecoverResponse) String() string
- type AuthResetRequest
- type AuthResetResponse
- type AuthSetupRequest
- func (*AuthSetupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthSetupRequest) GetDevice() string
- func (x *AuthSetupRequest) GetSecret() string
- func (x *AuthSetupRequest) GetType() AuthType
- func (*AuthSetupRequest) ProtoMessage()
- func (x *AuthSetupRequest) ProtoReflect() protoreflect.Message
- func (x *AuthSetupRequest) Reset()
- func (x *AuthSetupRequest) String() string
- type AuthSetupResponse
- type AuthStatus
- type AuthType
- type AuthUnlockRequest
- func (*AuthUnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthUnlockRequest) GetClient() string
- func (x *AuthUnlockRequest) GetSecret() string
- func (x *AuthUnlockRequest) GetType() AuthType
- func (*AuthUnlockRequest) ProtoMessage()
- func (x *AuthUnlockRequest) ProtoReflect() protoreflect.Message
- func (x *AuthUnlockRequest) Reset()
- func (x *AuthUnlockRequest) String() string
- type AuthUnlockResponse
- func (*AuthUnlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthUnlockResponse) GetAuthToken() string
- func (*AuthUnlockResponse) ProtoMessage()
- func (x *AuthUnlockResponse) ProtoReflect() protoreflect.Message
- func (x *AuthUnlockResponse) Reset()
- func (x *AuthUnlockResponse) String() string
- type AuthVaultRequest
- type AuthVaultResponse
- type Build
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetID() string
- func (x *Channel) GetIndex() int64
- func (x *Channel) GetName() string
- func (x *Channel) GetReadIndex() int64
- func (x *Channel) GetSnippet() string
- func (x *Channel) GetUpdatedAt() int64
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChannelCreateRequest
- func (*ChannelCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelCreateRequest) GetName() string
- func (x *ChannelCreateRequest) GetUser() string
- func (*ChannelCreateRequest) ProtoMessage()
- func (x *ChannelCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelCreateRequest) Reset()
- func (x *ChannelCreateRequest) String() string
- type ChannelCreateResponse
- func (*ChannelCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelCreateResponse) GetChannel() *Channel
- func (*ChannelCreateResponse) ProtoMessage()
- func (x *ChannelCreateResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelCreateResponse) Reset()
- func (x *ChannelCreateResponse) String() string
- type ChannelInviteRequest
- func (*ChannelInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelInviteRequest) GetChannel() string
- func (x *ChannelInviteRequest) GetRecipients() []string
- func (x *ChannelInviteRequest) GetSender() string
- func (*ChannelInviteRequest) ProtoMessage()
- func (x *ChannelInviteRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelInviteRequest) Reset()
- func (x *ChannelInviteRequest) String() string
- type ChannelInviteResponse
- func (*ChannelInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelInviteResponse) GetMessage() *Message
- func (*ChannelInviteResponse) ProtoMessage()
- func (x *ChannelInviteResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelInviteResponse) Reset()
- func (x *ChannelInviteResponse) String() string
- type ChannelLeaveRequest
- func (*ChannelLeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelLeaveRequest) GetChannel() string
- func (*ChannelLeaveRequest) ProtoMessage()
- func (x *ChannelLeaveRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelLeaveRequest) Reset()
- func (x *ChannelLeaveRequest) String() string
- type ChannelLeaveResponse
- type ChannelReadRequest
- func (*ChannelReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelReadRequest) GetChannel() string
- func (x *ChannelReadRequest) GetIndex() int64
- func (*ChannelReadRequest) ProtoMessage()
- func (x *ChannelReadRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelReadRequest) Reset()
- func (x *ChannelReadRequest) String() string
- type ChannelReadResponse
- type ChannelsRequest
- type ChannelsResponse
- type Client
- type ClientConnectFn
- type CloseFn
- type Collection
- type CollectionsRequest
- func (*CollectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionsRequest) GetDB() string
- func (x *CollectionsRequest) GetParent() string
- func (*CollectionsRequest) ProtoMessage()
- func (x *CollectionsRequest) ProtoReflect() protoreflect.Message
- func (x *CollectionsRequest) Reset()
- func (x *CollectionsRequest) String() string
- type CollectionsResponse
- func (*CollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionsResponse) GetCollections() []*Collection
- func (*CollectionsResponse) ProtoMessage()
- func (x *CollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *CollectionsResponse) Reset()
- func (x *CollectionsResponse) String() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetApp() *Config_App
- func (x *Config) GetEncrypt() *Config_Encrypt
- func (x *Config) GetSign() *Config_Sign
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type ConfigGetRequest
- type ConfigGetResponse
- type ConfigSetRequest
- func (*ConfigSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSetRequest) GetConfig() *Config
- func (x *ConfigSetRequest) GetName() string
- func (*ConfigSetRequest) ProtoMessage()
- func (x *ConfigSetRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigSetRequest) Reset()
- func (x *ConfigSetRequest) String() string
- type ConfigSetResponse
- type Config_App
- func (*Config_App) Descriptor() ([]byte, []int)deprecated
- func (x *Config_App) GetHistory() []string
- func (x *Config_App) GetLocation() string
- func (x *Config_App) GetNavMinimized() bool
- func (*Config_App) ProtoMessage()
- func (x *Config_App) ProtoReflect() protoreflect.Message
- func (x *Config_App) Reset()
- func (x *Config_App) String() string
- type Config_Encrypt
- func (*Config_Encrypt) Descriptor() ([]byte, []int)deprecated
- func (x *Config_Encrypt) GetNoSenderRecipient() bool
- func (x *Config_Encrypt) GetNoSign() bool
- func (x *Config_Encrypt) GetRecipients() []string
- func (x *Config_Encrypt) GetSender() string
- func (*Config_Encrypt) ProtoMessage()
- func (x *Config_Encrypt) ProtoReflect() protoreflect.Message
- func (x *Config_Encrypt) Reset()
- func (x *Config_Encrypt) String() string
- type Config_Sign
- type ContextLogger
- type DecryptFileInput
- func (*DecryptFileInput) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptFileInput) GetIn() string
- func (x *DecryptFileInput) GetOut() string
- func (*DecryptFileInput) ProtoMessage()
- func (x *DecryptFileInput) ProtoReflect() protoreflect.Message
- func (x *DecryptFileInput) Reset()
- func (x *DecryptFileInput) String() string
- type DecryptFileOutput
- func (*DecryptFileOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptFileOutput) GetBytes() int32
- func (x *DecryptFileOutput) GetMode() EncryptMode
- func (x *DecryptFileOutput) GetOut() string
- func (x *DecryptFileOutput) GetSender() *Key
- func (x *DecryptFileOutput) GetTotal() int32
- func (*DecryptFileOutput) ProtoMessage()
- func (x *DecryptFileOutput) ProtoReflect() protoreflect.Message
- func (x *DecryptFileOutput) Reset()
- func (x *DecryptFileOutput) String() string
- type DecryptInput
- type DecryptOutput
- func (*DecryptOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptOutput) GetData() []byte
- func (x *DecryptOutput) GetMode() EncryptMode
- func (x *DecryptOutput) GetSender() *Key
- func (*DecryptOutput) ProtoMessage()
- func (x *DecryptOutput) ProtoReflect() protoreflect.Message
- func (x *DecryptOutput) Reset()
- func (x *DecryptOutput) String() string
- type DecryptRequest
- type DecryptResponse
- func (*DecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptResponse) GetData() []byte
- func (x *DecryptResponse) GetMode() EncryptMode
- func (x *DecryptResponse) GetSender() *Key
- func (*DecryptResponse) ProtoMessage()
- func (x *DecryptResponse) ProtoReflect() protoreflect.Message
- func (x *DecryptResponse) Reset()
- func (x *DecryptResponse) String() string
- type DecryptStreamClient
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetCreatedAt() int64
- func (x *Document) GetPath() string
- func (x *Document) GetUpdatedAt() int64
- func (x *Document) GetValue() string
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) String() string
- type DocumentDeleteRequest
- func (*DocumentDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentDeleteRequest) GetDB() string
- func (x *DocumentDeleteRequest) GetPath() string
- func (*DocumentDeleteRequest) ProtoMessage()
- func (x *DocumentDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentDeleteRequest) Reset()
- func (x *DocumentDeleteRequest) String() string
- type DocumentDeleteResponse
- type DocumentsRequest
- func (*DocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentsRequest) GetDB() string
- func (x *DocumentsRequest) GetPrefix() string
- func (*DocumentsRequest) ProtoMessage()
- func (x *DocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *DocumentsRequest) Reset()
- func (x *DocumentsRequest) String() string
- type DocumentsResponse
- func (*DocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentsResponse) GetDocuments() []*Document
- func (*DocumentsResponse) ProtoMessage()
- func (x *DocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *DocumentsResponse) Reset()
- func (x *DocumentsResponse) String() string
- type Encoding
- type EncryptFileInput
- func (*EncryptFileInput) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptFileInput) GetIn() string
- func (x *EncryptFileInput) GetOptions() *EncryptOptions
- func (x *EncryptFileInput) GetOut() string
- func (x *EncryptFileInput) GetRecipients() []string
- func (x *EncryptFileInput) GetSender() string
- func (*EncryptFileInput) ProtoMessage()
- func (x *EncryptFileInput) ProtoReflect() protoreflect.Message
- func (x *EncryptFileInput) Reset()
- func (x *EncryptFileInput) String() string
- type EncryptFileOutput
- func (*EncryptFileOutput) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptFileOutput) GetBytes() int32
- func (x *EncryptFileOutput) GetOut() string
- func (x *EncryptFileOutput) GetTotal() int32
- func (*EncryptFileOutput) ProtoMessage()
- func (x *EncryptFileOutput) ProtoReflect() protoreflect.Message
- func (x *EncryptFileOutput) Reset()
- func (x *EncryptFileOutput) String() string
- type EncryptInput
- func (*EncryptInput) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptInput) GetData() []byte
- func (x *EncryptInput) GetOptions() *EncryptOptions
- func (x *EncryptInput) GetRecipients() []string
- func (x *EncryptInput) GetSender() string
- func (*EncryptInput) ProtoMessage()
- func (x *EncryptInput) ProtoReflect() protoreflect.Message
- func (x *EncryptInput) Reset()
- func (x *EncryptInput) String() string
- type EncryptMode
- func (EncryptMode) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptMode) Enum() *EncryptMode
- func (EncryptMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptMode) Number() protoreflect.EnumNumber
- func (x EncryptMode) String() string
- func (EncryptMode) Type() protoreflect.EnumType
- type EncryptOptions
- func (*EncryptOptions) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptOptions) GetArmored() bool
- func (x *EncryptOptions) GetMode() EncryptMode
- func (x *EncryptOptions) GetNoSenderRecipient() bool
- func (x *EncryptOptions) GetNoSign() bool
- func (*EncryptOptions) ProtoMessage()
- func (x *EncryptOptions) ProtoReflect() protoreflect.Message
- func (x *EncryptOptions) Reset()
- func (x *EncryptOptions) String() string
- type EncryptOutput
- type EncryptRequest
- func (*EncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptRequest) GetData() []byte
- func (x *EncryptRequest) GetOptions() *EncryptOptions
- func (x *EncryptRequest) GetRecipients() []string
- func (x *EncryptRequest) GetSender() string
- func (*EncryptRequest) ProtoMessage()
- func (x *EncryptRequest) ProtoReflect() protoreflect.Message
- func (x *EncryptRequest) Reset()
- func (x *EncryptRequest) String() string
- type EncryptResponse
- func (*EncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptResponse) GetData() []byte
- func (x *EncryptResponse) GetInfo() string
- func (*EncryptResponse) ProtoMessage()
- func (x *EncryptResponse) ProtoReflect() protoreflect.Message
- func (x *EncryptResponse) Reset()
- func (x *EncryptResponse) String() string
- type Env
- func (c Env) AppDir() string
- func (c Env) AppName() string
- func (c Env) AppPath(file string, makeDir bool) (string, error)
- func (c Env) Export() ([]byte, error)
- func (c *Env) Get(key string, dflt string) string
- func (c *Env) GetBool(key string) bool
- func (c *Env) GetInt(key string, dflt int) int
- func (c Env) IsKey(s string) bool
- func (c *Env) Load() error
- func (c Env) LogsDir() string
- func (c Env) LogsPath(file string, makeDir bool) (string, error)
- func (c *Env) Path(makeDir bool) (string, error)
- func (c Env) Port() int
- func (c *Env) Reset() error
- func (c *Env) Save() error
- func (c Env) Server() string
- func (c *Env) Set(key string, value string)
- func (c *Env) SetBool(key string, b bool)
- func (c *Env) SetInt(key string, n int)
- type ExportType
- type Follow
- type FollowRequest
- func (*FollowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FollowRequest) GetRecipient() string
- func (x *FollowRequest) GetSender() string
- func (*FollowRequest) ProtoMessage()
- func (x *FollowRequest) ProtoReflect() protoreflect.Message
- func (x *FollowRequest) Reset()
- func (x *FollowRequest) String() string
- type FollowResponse
- type FollowsRequest
- func (*FollowsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsRequest) GetRecipient() string
- func (x *FollowsRequest) GetUpdate() bool
- func (*FollowsRequest) ProtoMessage()
- func (x *FollowsRequest) ProtoReflect() protoreflect.Message
- func (x *FollowsRequest) Reset()
- func (x *FollowsRequest) String() string
- type FollowsResponse
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetID() string
- func (x *Key) GetIsPrivate() bool
- func (x *Key) GetSaved() bool
- func (x *Key) GetSigchainLength() int32
- func (x *Key) GetSigchainUpdatedAt() int64
- func (x *Key) GetType() string
- func (x *Key) GetUser() *User
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (x *Key) String() string
- type KeyExportRequest
- func (*KeyExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyExportRequest) GetKID() string
- func (x *KeyExportRequest) GetNoPassword() bool
- func (x *KeyExportRequest) GetPassword() string
- func (x *KeyExportRequest) GetPublic() bool
- func (x *KeyExportRequest) GetType() ExportType
- func (*KeyExportRequest) ProtoMessage()
- func (x *KeyExportRequest) ProtoReflect() protoreflect.Message
- func (x *KeyExportRequest) Reset()
- func (x *KeyExportRequest) String() string
- type KeyExportResponse
- type KeyGenerateRequest
- func (*KeyGenerateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyGenerateRequest) GetType() string
- func (*KeyGenerateRequest) ProtoMessage()
- func (x *KeyGenerateRequest) ProtoReflect() protoreflect.Message
- func (x *KeyGenerateRequest) Reset()
- func (x *KeyGenerateRequest) String() string
- type KeyGenerateResponse
- func (*KeyGenerateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeyGenerateResponse) GetKID() string
- func (*KeyGenerateResponse) ProtoMessage()
- func (x *KeyGenerateResponse) ProtoReflect() protoreflect.Message
- func (x *KeyGenerateResponse) Reset()
- func (x *KeyGenerateResponse) String() string
- type KeyImportRequest
- func (*KeyImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyImportRequest) GetIn() []byte
- func (x *KeyImportRequest) GetPassword() string
- func (x *KeyImportRequest) GetUpdate() bool
- func (*KeyImportRequest) ProtoMessage()
- func (x *KeyImportRequest) ProtoReflect() protoreflect.Message
- func (x *KeyImportRequest) Reset()
- func (x *KeyImportRequest) String() string
- type KeyImportResponse
- type KeyRemoveRequest
- type KeyRemoveResponse
- type KeyRequest
- func (*KeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyRequest) GetKey() string
- func (x *KeyRequest) GetSearch() bool
- func (x *KeyRequest) GetUpdate() bool
- func (*KeyRequest) ProtoMessage()
- func (x *KeyRequest) ProtoReflect() protoreflect.Message
- func (x *KeyRequest) Reset()
- func (x *KeyRequest) String() string
- type KeyResponse
- type KeysRequest
- func (*KeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysRequest) GetQuery() string
- func (x *KeysRequest) GetSortDirection() SortDirection
- func (x *KeysRequest) GetSortField() string
- func (x *KeysRequest) GetTypes() []string
- func (*KeysRequest) ProtoMessage()
- func (x *KeysRequest) ProtoReflect() protoreflect.Message
- func (x *KeysRequest) Reset()
- func (x *KeysRequest) String() string
- type KeysResponse
- func (*KeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysResponse) GetKeys() []*Key
- func (x *KeysResponse) GetSortDirection() SortDirection
- func (x *KeysResponse) GetSortField() string
- func (*KeysResponse) ProtoMessage()
- func (x *KeysResponse) ProtoReflect() protoreflect.Message
- func (x *KeysResponse) Reset()
- func (x *KeysResponse) String() string
- type LogInterceptor
- type LogLevel
- type Logger
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetCreatedAt() int64
- func (x *Message) GetID() string
- func (x *Message) GetSender() *Key
- func (x *Message) GetStatus() MessageStatus
- func (x *Message) GetText() []string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageCreateRequest
- func (*MessageCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageCreateRequest) GetChannel() string
- func (x *MessageCreateRequest) GetID() string
- func (x *MessageCreateRequest) GetSender() string
- func (x *MessageCreateRequest) GetText() string
- func (*MessageCreateRequest) ProtoMessage()
- func (x *MessageCreateRequest) ProtoReflect() protoreflect.Message
- func (x *MessageCreateRequest) Reset()
- func (x *MessageCreateRequest) String() string
- type MessageCreateResponse
- func (*MessageCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageCreateResponse) GetMessage() *Message
- func (*MessageCreateResponse) ProtoMessage()
- func (x *MessageCreateResponse) ProtoReflect() protoreflect.Message
- func (x *MessageCreateResponse) Reset()
- func (x *MessageCreateResponse) String() string
- type MessagePrepareRequest
- func (*MessagePrepareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessagePrepareRequest) GetChannel() string
- func (x *MessagePrepareRequest) GetSender() string
- func (x *MessagePrepareRequest) GetText() string
- func (*MessagePrepareRequest) ProtoMessage()
- func (x *MessagePrepareRequest) ProtoReflect() protoreflect.Message
- func (x *MessagePrepareRequest) Reset()
- func (x *MessagePrepareRequest) String() string
- type MessagePrepareResponse
- func (*MessagePrepareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessagePrepareResponse) GetMessage() *Message
- func (*MessagePrepareResponse) ProtoMessage()
- func (x *MessagePrepareResponse) ProtoReflect() protoreflect.Message
- func (x *MessagePrepareResponse) Reset()
- func (x *MessagePrepareResponse) String() string
- type MessageStatus
- func (MessageStatus) Descriptor() protoreflect.EnumDescriptor
- func (x MessageStatus) Enum() *MessageStatus
- func (MessageStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageStatus) Number() protoreflect.EnumNumber
- func (x MessageStatus) String() string
- func (MessageStatus) Type() protoreflect.EnumType
- type MessagesRequest
- func (*MessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessagesRequest) GetChannel() string
- func (x *MessagesRequest) GetUpdate() bool
- func (*MessagesRequest) ProtoMessage()
- func (x *MessagesRequest) ProtoReflect() protoreflect.Message
- func (x *MessagesRequest) Reset()
- func (x *MessagesRequest) String() string
- type MessagesResponse
- type PullRequest
- type PullResponse
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushRequest) GetKey() string
- func (x *PushRequest) GetRemoteCheck() bool
- func (*PushRequest) ProtoMessage()
- func (x *PushRequest) ProtoReflect() protoreflect.Message
- func (x *PushRequest) Reset()
- func (x *PushRequest) String() string
- type PushResponse
- func (*PushResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushResponse) GetKID() string
- func (x *PushResponse) GetURLs() []string
- func (*PushResponse) ProtoMessage()
- func (x *PushResponse) ProtoReflect() protoreflect.Message
- func (x *PushResponse) Reset()
- func (x *PushResponse) String() string
- type RPCClient
- type RPCServer
- type RPC_DecryptFileClient
- type RPC_DecryptFileServer
- type RPC_DecryptStreamClient
- type RPC_DecryptStreamServer
- type RPC_EncryptFileClient
- type RPC_EncryptFileServer
- type RPC_EncryptStreamClient
- type RPC_EncryptStreamServer
- type RPC_RelayClient
- type RPC_RelayServer
- type RPC_SignFileClient
- type RPC_SignFileServer
- type RPC_SignStreamClient
- type RPC_SignStreamServer
- type RPC_VerifyDetachedFileClient
- type RPC_VerifyDetachedFileServer
- type RPC_VerifyDetachedStreamClient
- type RPC_VerifyDetachedStreamServer
- type RPC_VerifyFileClient
- type RPC_VerifyFileServer
- type RPC_VerifyStreamClient
- type RPC_VerifyStreamServer
- type RPC_WormholeClient
- type RPC_WormholeServer
- type RandPasswordRequest
- func (*RandPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RandPasswordRequest) GetLength() int32
- func (*RandPasswordRequest) ProtoMessage()
- func (x *RandPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *RandPasswordRequest) Reset()
- func (x *RandPasswordRequest) String() string
- type RandPasswordResponse
- func (*RandPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RandPasswordResponse) GetPassword() string
- func (*RandPasswordResponse) ProtoMessage()
- func (x *RandPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *RandPasswordResponse) Reset()
- func (x *RandPasswordResponse) String() string
- type RandRequest
- func (*RandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RandRequest) GetEncoding() Encoding
- func (x *RandRequest) GetLowercase() bool
- func (x *RandRequest) GetNoPadding() bool
- func (x *RandRequest) GetNumBytes() int32
- func (*RandRequest) ProtoMessage()
- func (x *RandRequest) ProtoReflect() protoreflect.Message
- func (x *RandRequest) Reset()
- func (x *RandRequest) String() string
- type RandResponse
- type RelayOutput
- func (*RelayOutput) Descriptor() ([]byte, []int)deprecated
- func (x *RelayOutput) GetChannel() string
- func (x *RelayOutput) GetIndex() int64
- func (x *RelayOutput) GetUser() string
- func (*RelayOutput) ProtoMessage()
- func (x *RelayOutput) ProtoReflect() protoreflect.Message
- func (x *RelayOutput) Reset()
- func (x *RelayOutput) String() string
- type RelayRequest
- func (*RelayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelayRequest) GetKeys() []string
- func (x *RelayRequest) GetUser() string
- func (*RelayRequest) ProtoMessage()
- func (x *RelayRequest) ProtoReflect() protoreflect.Message
- func (x *RelayRequest) Reset()
- func (x *RelayRequest) String() string
- type RuntimeStatusRequest
- type RuntimeStatusResponse
- func (*RuntimeStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeStatusResponse) GetAppName() string
- func (x *RuntimeStatusResponse) GetAuthStatus() AuthStatus
- func (x *RuntimeStatusResponse) GetExe() string
- func (x *RuntimeStatusResponse) GetFIDO2() bool
- func (x *RuntimeStatusResponse) GetSync() bool
- func (x *RuntimeStatusResponse) GetVersion() string
- func (*RuntimeStatusResponse) ProtoMessage()
- func (x *RuntimeStatusResponse) ProtoReflect() protoreflect.Message
- func (x *RuntimeStatusResponse) Reset()
- func (x *RuntimeStatusResponse) String() string
- type SearchRequest
- type SearchResponse
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetCreatedAt() int64
- func (x *Secret) GetID() string
- func (x *Secret) GetName() string
- func (x *Secret) GetNotes() string
- func (x *Secret) GetPassword() string
- func (x *Secret) GetType() SecretType
- func (x *Secret) GetURL() string
- func (x *Secret) GetUpdatedAt() int64
- func (x *Secret) GetUsername() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type SecretRemoveRequest
- func (*SecretRemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretRemoveRequest) GetID() string
- func (*SecretRemoveRequest) ProtoMessage()
- func (x *SecretRemoveRequest) ProtoReflect() protoreflect.Message
- func (x *SecretRemoveRequest) Reset()
- func (x *SecretRemoveRequest) String() string
- type SecretRemoveResponse
- type SecretRequest
- type SecretResponse
- type SecretSaveRequest
- type SecretSaveResponse
- func (*SecretSaveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecretSaveResponse) GetSecret() *Secret
- func (*SecretSaveResponse) ProtoMessage()
- func (x *SecretSaveResponse) ProtoReflect() protoreflect.Message
- func (x *SecretSaveResponse) Reset()
- func (x *SecretSaveResponse) String() string
- type SecretType
- type SecretsRequest
- func (*SecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsRequest) GetQuery() string
- func (x *SecretsRequest) GetSortDirection() SortDirection
- func (x *SecretsRequest) GetSortField() string
- func (*SecretsRequest) ProtoMessage()
- func (x *SecretsRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsRequest) Reset()
- func (x *SecretsRequest) String() string
- type SecretsResponse
- func (*SecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsResponse) GetSecrets() []*Secret
- func (x *SecretsResponse) GetSortDirection() SortDirection
- func (x *SecretsResponse) GetSortField() string
- func (*SecretsResponse) ProtoMessage()
- func (x *SecretsResponse) ProtoReflect() protoreflect.Message
- func (x *SecretsResponse) Reset()
- func (x *SecretsResponse) String() string
- type ServeFn
- type SigchainRequest
- type SigchainResponse
- func (*SigchainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SigchainResponse) GetKey() *Key
- func (x *SigchainResponse) GetStatements() []*Statement
- func (*SigchainResponse) ProtoMessage()
- func (x *SigchainResponse) ProtoReflect() protoreflect.Message
- func (x *SigchainResponse) Reset()
- func (x *SigchainResponse) String() string
- type SignFileInput
- func (*SignFileInput) Descriptor() ([]byte, []int)deprecated
- func (x *SignFileInput) GetArmored() bool
- func (x *SignFileInput) GetDetached() bool
- func (x *SignFileInput) GetIn() string
- func (x *SignFileInput) GetOut() string
- func (x *SignFileInput) GetSigner() string
- func (*SignFileInput) ProtoMessage()
- func (x *SignFileInput) ProtoReflect() protoreflect.Message
- func (x *SignFileInput) Reset()
- func (x *SignFileInput) String() string
- type SignFileOutput
- func (*SignFileOutput) Descriptor() ([]byte, []int)deprecated
- func (x *SignFileOutput) GetBytes() int32
- func (x *SignFileOutput) GetKID() string
- func (x *SignFileOutput) GetOut() string
- func (x *SignFileOutput) GetTotal() int32
- func (*SignFileOutput) ProtoMessage()
- func (x *SignFileOutput) ProtoReflect() protoreflect.Message
- func (x *SignFileOutput) Reset()
- func (x *SignFileOutput) String() string
- type SignInput
- func (*SignInput) Descriptor() ([]byte, []int)deprecated
- func (x *SignInput) GetArmored() bool
- func (x *SignInput) GetData() []byte
- func (x *SignInput) GetDetached() bool
- func (x *SignInput) GetIn() string
- func (x *SignInput) GetOut() string
- func (x *SignInput) GetSigner() string
- func (*SignInput) ProtoMessage()
- func (x *SignInput) ProtoReflect() protoreflect.Message
- func (x *SignInput) Reset()
- func (x *SignInput) String() string
- type SignOutput
- type SignRequest
- func (*SignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignRequest) GetArmored() bool
- func (x *SignRequest) GetData() []byte
- func (x *SignRequest) GetDetached() bool
- func (x *SignRequest) GetSigner() string
- func (*SignRequest) ProtoMessage()
- func (x *SignRequest) ProtoReflect() protoreflect.Message
- func (x *SignRequest) Reset()
- func (x *SignRequest) String() string
- type SignResponse
- func (*SignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignResponse) GetData() []byte
- func (x *SignResponse) GetKID() string
- func (*SignResponse) ProtoMessage()
- func (x *SignResponse) ProtoReflect() protoreflect.Message
- func (x *SignResponse) Reset()
- func (x *SignResponse) String() string
- type SortDirection
- func (SortDirection) Descriptor() protoreflect.EnumDescriptor
- func (x SortDirection) Enum() *SortDirection
- func (SortDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x SortDirection) Number() protoreflect.EnumNumber
- func (x SortDirection) String() string
- func (SortDirection) Type() protoreflect.EnumType
- type Statement
- func (*Statement) Descriptor() ([]byte, []int)deprecated
- func (x *Statement) GetData() []byte
- func (x *Statement) GetKID() string
- func (x *Statement) GetPrev() []byte
- func (x *Statement) GetRevoke() int32
- func (x *Statement) GetSeq() int32
- func (x *Statement) GetSig() []byte
- func (x *Statement) GetTimestamp() int64
- func (x *Statement) GetType() string
- func (*Statement) ProtoMessage()
- func (x *Statement) ProtoReflect() protoreflect.Message
- func (x *Statement) Reset()
- func (x *Statement) String() string
- type StatementCreateRequest
- func (*StatementCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatementCreateRequest) GetData() []byte
- func (x *StatementCreateRequest) GetKID() string
- func (x *StatementCreateRequest) GetLocal() bool
- func (*StatementCreateRequest) ProtoMessage()
- func (x *StatementCreateRequest) ProtoReflect() protoreflect.Message
- func (x *StatementCreateRequest) Reset()
- func (x *StatementCreateRequest) String() string
- type StatementCreateResponse
- func (*StatementCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatementCreateResponse) GetStatement() *Statement
- func (*StatementCreateResponse) ProtoMessage()
- func (x *StatementCreateResponse) ProtoReflect() protoreflect.Message
- func (x *StatementCreateResponse) Reset()
- func (x *StatementCreateResponse) String() string
- type StatementRequest
- func (*StatementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatementRequest) GetKID() string
- func (x *StatementRequest) GetSeq() int32
- func (*StatementRequest) ProtoMessage()
- func (x *StatementRequest) ProtoReflect() protoreflect.Message
- func (x *StatementRequest) Reset()
- func (x *StatementRequest) String() string
- type StatementResponse
- func (*StatementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatementResponse) GetStatement() *Statement
- func (*StatementResponse) ProtoMessage()
- func (x *StatementResponse) ProtoReflect() protoreflect.Message
- func (x *StatementResponse) Reset()
- func (x *StatementResponse) String() string
- type StatementRevokeRequest
- func (*StatementRevokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatementRevokeRequest) GetKID() string
- func (x *StatementRevokeRequest) GetLocal() bool
- func (x *StatementRevokeRequest) GetSeq() int32
- func (*StatementRevokeRequest) ProtoMessage()
- func (x *StatementRevokeRequest) ProtoReflect() protoreflect.Message
- func (x *StatementRevokeRequest) Reset()
- func (x *StatementRevokeRequest) String() string
- type StatementRevokeResponse
- func (*StatementRevokeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatementRevokeResponse) GetStatement() *Statement
- func (*StatementRevokeResponse) ProtoMessage()
- func (x *StatementRevokeResponse) ProtoReflect() protoreflect.Message
- func (x *StatementRevokeResponse) Reset()
- func (x *StatementRevokeResponse) String() string
- type UnimplementedRPCServer
- func (*UnimplementedRPCServer) AdminCheck(context.Context, *AdminCheckRequest) (*AdminCheckResponse, error)
- func (*UnimplementedRPCServer) AdminSignURL(context.Context, *AdminSignURLRequest) (*AdminSignURLResponse, error)
- func (*UnimplementedRPCServer) AuthDeprovision(context.Context, *AuthDeprovisionRequest) (*AuthDeprovisionResponse, error)
- func (*UnimplementedRPCServer) AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error)
- func (*UnimplementedRPCServer) AuthPasswordChange(context.Context, *AuthPasswordChangeRequest) (*AuthPasswordChangeResponse, error)
- func (*UnimplementedRPCServer) AuthProvision(context.Context, *AuthProvisionRequest) (*AuthProvisionResponse, error)
- func (*UnimplementedRPCServer) AuthProvisions(context.Context, *AuthProvisionsRequest) (*AuthProvisionsResponse, error)
- func (*UnimplementedRPCServer) AuthRecover(context.Context, *AuthRecoverRequest) (*AuthRecoverResponse, error)
- func (*UnimplementedRPCServer) AuthReset(context.Context, *AuthResetRequest) (*AuthResetResponse, error)
- func (*UnimplementedRPCServer) AuthSetup(context.Context, *AuthSetupRequest) (*AuthSetupResponse, error)
- func (*UnimplementedRPCServer) AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error)
- func (*UnimplementedRPCServer) AuthVault(context.Context, *AuthVaultRequest) (*AuthVaultResponse, error)
- func (*UnimplementedRPCServer) ChannelCreate(context.Context, *ChannelCreateRequest) (*ChannelCreateResponse, error)
- func (*UnimplementedRPCServer) ChannelInvite(context.Context, *ChannelInviteRequest) (*ChannelInviteResponse, error)
- func (*UnimplementedRPCServer) ChannelLeave(context.Context, *ChannelLeaveRequest) (*ChannelLeaveResponse, error)
- func (*UnimplementedRPCServer) ChannelRead(context.Context, *ChannelReadRequest) (*ChannelReadResponse, error)
- func (*UnimplementedRPCServer) Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error)
- func (*UnimplementedRPCServer) Collections(context.Context, *CollectionsRequest) (*CollectionsResponse, error)
- func (*UnimplementedRPCServer) ConfigGet(context.Context, *ConfigGetRequest) (*ConfigGetResponse, error)
- func (*UnimplementedRPCServer) ConfigSet(context.Context, *ConfigSetRequest) (*ConfigSetResponse, error)
- func (*UnimplementedRPCServer) Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error)
- func (*UnimplementedRPCServer) DecryptFile(RPC_DecryptFileServer) error
- func (*UnimplementedRPCServer) DecryptStream(RPC_DecryptStreamServer) error
- func (*UnimplementedRPCServer) DocumentDelete(context.Context, *DocumentDeleteRequest) (*DocumentDeleteResponse, error)
- func (*UnimplementedRPCServer) Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error)
- func (*UnimplementedRPCServer) Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error)
- func (*UnimplementedRPCServer) EncryptFile(RPC_EncryptFileServer) error
- func (*UnimplementedRPCServer) EncryptStream(RPC_EncryptStreamServer) error
- func (*UnimplementedRPCServer) Follow(context.Context, *FollowRequest) (*FollowResponse, error)
- func (*UnimplementedRPCServer) Follows(context.Context, *FollowsRequest) (*FollowsResponse, error)
- func (*UnimplementedRPCServer) Key(context.Context, *KeyRequest) (*KeyResponse, error)
- func (*UnimplementedRPCServer) KeyExport(context.Context, *KeyExportRequest) (*KeyExportResponse, error)
- func (*UnimplementedRPCServer) KeyGenerate(context.Context, *KeyGenerateRequest) (*KeyGenerateResponse, error)
- func (*UnimplementedRPCServer) KeyImport(context.Context, *KeyImportRequest) (*KeyImportResponse, error)
- func (*UnimplementedRPCServer) KeyRemove(context.Context, *KeyRemoveRequest) (*KeyRemoveResponse, error)
- func (*UnimplementedRPCServer) Keys(context.Context, *KeysRequest) (*KeysResponse, error)
- func (*UnimplementedRPCServer) MessageCreate(context.Context, *MessageCreateRequest) (*MessageCreateResponse, error)
- func (*UnimplementedRPCServer) MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error)
- func (*UnimplementedRPCServer) Messages(context.Context, *MessagesRequest) (*MessagesResponse, error)
- func (*UnimplementedRPCServer) Pull(context.Context, *PullRequest) (*PullResponse, error)
- func (*UnimplementedRPCServer) Push(context.Context, *PushRequest) (*PushResponse, error)
- func (*UnimplementedRPCServer) Rand(context.Context, *RandRequest) (*RandResponse, error)
- func (*UnimplementedRPCServer) RandPassword(context.Context, *RandPasswordRequest) (*RandPasswordResponse, error)
- func (*UnimplementedRPCServer) Relay(*RelayRequest, RPC_RelayServer) error
- func (*UnimplementedRPCServer) RuntimeStatus(context.Context, *RuntimeStatusRequest) (*RuntimeStatusResponse, error)
- func (*UnimplementedRPCServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
- func (*UnimplementedRPCServer) Secret(context.Context, *SecretRequest) (*SecretResponse, error)
- func (*UnimplementedRPCServer) SecretRemove(context.Context, *SecretRemoveRequest) (*SecretRemoveResponse, error)
- func (*UnimplementedRPCServer) SecretSave(context.Context, *SecretSaveRequest) (*SecretSaveResponse, error)
- func (*UnimplementedRPCServer) Secrets(context.Context, *SecretsRequest) (*SecretsResponse, error)
- func (*UnimplementedRPCServer) Sigchain(context.Context, *SigchainRequest) (*SigchainResponse, error)
- func (*UnimplementedRPCServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
- func (*UnimplementedRPCServer) SignFile(RPC_SignFileServer) error
- func (*UnimplementedRPCServer) SignStream(RPC_SignStreamServer) error
- func (*UnimplementedRPCServer) Statement(context.Context, *StatementRequest) (*StatementResponse, error)
- func (*UnimplementedRPCServer) StatementCreate(context.Context, *StatementCreateRequest) (*StatementCreateResponse, error)
- func (*UnimplementedRPCServer) StatementRevoke(context.Context, *StatementRevokeRequest) (*StatementRevokeResponse, error)
- func (*UnimplementedRPCServer) User(context.Context, *UserRequest) (*UserResponse, error)
- func (*UnimplementedRPCServer) UserAdd(context.Context, *UserAddRequest) (*UserAddResponse, error)
- func (*UnimplementedRPCServer) UserSearch(context.Context, *UserSearchRequest) (*UserSearchResponse, error)
- func (*UnimplementedRPCServer) UserService(context.Context, *UserServiceRequest) (*UserServiceResponse, error)
- func (*UnimplementedRPCServer) UserSign(context.Context, *UserSignRequest) (*UserSignResponse, error)
- func (*UnimplementedRPCServer) VaultAuth(context.Context, *VaultAuthRequest) (*VaultAuthResponse, error)
- func (*UnimplementedRPCServer) VaultStatus(context.Context, *VaultStatusRequest) (*VaultStatusResponse, error)
- func (*UnimplementedRPCServer) VaultSync(context.Context, *VaultSyncRequest) (*VaultSyncResponse, error)
- func (*UnimplementedRPCServer) VaultUnsync(context.Context, *VaultUnsyncRequest) (*VaultUnsyncResponse, error)
- func (*UnimplementedRPCServer) VaultUpdate(context.Context, *VaultUpdateRequest) (*VaultUpdateResponse, error)
- func (*UnimplementedRPCServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
- func (*UnimplementedRPCServer) VerifyDetached(context.Context, *VerifyDetachedRequest) (*VerifyDetachedResponse, error)
- func (*UnimplementedRPCServer) VerifyDetachedFile(RPC_VerifyDetachedFileServer) error
- func (*UnimplementedRPCServer) VerifyDetachedStream(RPC_VerifyDetachedStreamServer) error
- func (*UnimplementedRPCServer) VerifyFile(RPC_VerifyFileServer) error
- func (*UnimplementedRPCServer) VerifyStream(RPC_VerifyStreamServer) error
- func (*UnimplementedRPCServer) Wormhole(RPC_WormholeServer) error
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetErr() string
- func (x *User) GetID() string
- func (x *User) GetKID() string
- func (x *User) GetName() string
- func (x *User) GetProxied() bool
- func (x *User) GetSeq() int32
- func (x *User) GetService() string
- func (x *User) GetStatus() UserStatus
- func (x *User) GetTimestamp() int64
- func (x *User) GetURL() string
- func (x *User) GetVerifiedAt() int64
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (u *User) SigchainURL() string
- func (x *User) String() string
- type UserAddRequest
- func (*UserAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserAddRequest) GetKID() string
- func (x *UserAddRequest) GetLocal() bool
- func (x *UserAddRequest) GetName() string
- func (x *UserAddRequest) GetService() string
- func (x *UserAddRequest) GetURL() string
- func (*UserAddRequest) ProtoMessage()
- func (x *UserAddRequest) ProtoReflect() protoreflect.Message
- func (x *UserAddRequest) Reset()
- func (x *UserAddRequest) String() string
- type UserAddResponse
- func (*UserAddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserAddResponse) GetStatement() *Statement
- func (x *UserAddResponse) GetUser() *User
- func (*UserAddResponse) ProtoMessage()
- func (x *UserAddResponse) ProtoReflect() protoreflect.Message
- func (x *UserAddResponse) Reset()
- func (x *UserAddResponse) String() string
- type UserRequest
- type UserResponse
- type UserSearchRequest
- func (*UserSearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserSearchRequest) GetLimit() int32
- func (x *UserSearchRequest) GetLocal() bool
- func (x *UserSearchRequest) GetQuery() string
- func (*UserSearchRequest) ProtoMessage()
- func (x *UserSearchRequest) ProtoReflect() protoreflect.Message
- func (x *UserSearchRequest) Reset()
- func (x *UserSearchRequest) String() string
- type UserSearchResponse
- func (*UserSearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserSearchResponse) GetUsers() []*User
- func (*UserSearchResponse) ProtoMessage()
- func (x *UserSearchResponse) ProtoReflect() protoreflect.Message
- func (x *UserSearchResponse) Reset()
- func (x *UserSearchResponse) String() string
- type UserServiceRequest
- func (*UserServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserServiceRequest) GetKID() string
- func (x *UserServiceRequest) GetService() string
- func (*UserServiceRequest) ProtoMessage()
- func (x *UserServiceRequest) ProtoReflect() protoreflect.Message
- func (x *UserServiceRequest) Reset()
- func (x *UserServiceRequest) String() string
- type UserServiceResponse
- func (*UserServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserServiceResponse) GetService() string
- func (*UserServiceResponse) ProtoMessage()
- func (x *UserServiceResponse) ProtoReflect() protoreflect.Message
- func (x *UserServiceResponse) Reset()
- func (x *UserServiceResponse) String() string
- type UserSignRequest
- func (*UserSignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserSignRequest) GetKID() string
- func (x *UserSignRequest) GetName() string
- func (x *UserSignRequest) GetService() string
- func (*UserSignRequest) ProtoMessage()
- func (x *UserSignRequest) ProtoReflect() protoreflect.Message
- func (x *UserSignRequest) Reset()
- func (x *UserSignRequest) String() string
- type UserSignResponse
- func (*UserSignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserSignResponse) GetMessage() string
- func (x *UserSignResponse) GetName() string
- func (*UserSignResponse) ProtoMessage()
- func (x *UserSignResponse) ProtoReflect() protoreflect.Message
- func (x *UserSignResponse) Reset()
- func (x *UserSignResponse) String() string
- type UserStatus
- type VaultAuthRequest
- type VaultAuthResponse
- type VaultStatusRequest
- type VaultStatusResponse
- func (*VaultStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VaultStatusResponse) GetKID() string
- func (x *VaultStatusResponse) GetSyncedAt() int64
- func (*VaultStatusResponse) ProtoMessage()
- func (x *VaultStatusResponse) ProtoReflect() protoreflect.Message
- func (x *VaultStatusResponse) Reset()
- func (x *VaultStatusResponse) String() string
- type VaultSyncRequest
- type VaultSyncResponse
- type VaultUnsyncRequest
- type VaultUnsyncResponse
- type VaultUpdateRequest
- type VaultUpdateResponse
- type VerifyDetachedFileInput
- func (*VerifyDetachedFileInput) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyDetachedFileInput) GetIn() string
- func (x *VerifyDetachedFileInput) GetSig() []byte
- func (*VerifyDetachedFileInput) ProtoMessage()
- func (x *VerifyDetachedFileInput) ProtoReflect() protoreflect.Message
- func (x *VerifyDetachedFileInput) Reset()
- func (x *VerifyDetachedFileInput) String() string
- type VerifyDetachedInput
- func (*VerifyDetachedInput) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyDetachedInput) GetData() []byte
- func (x *VerifyDetachedInput) GetSig() []byte
- func (*VerifyDetachedInput) ProtoMessage()
- func (x *VerifyDetachedInput) ProtoReflect() protoreflect.Message
- func (x *VerifyDetachedInput) Reset()
- func (x *VerifyDetachedInput) String() string
- type VerifyDetachedRequest
- func (*VerifyDetachedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyDetachedRequest) GetData() []byte
- func (x *VerifyDetachedRequest) GetSig() []byte
- func (*VerifyDetachedRequest) ProtoMessage()
- func (x *VerifyDetachedRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyDetachedRequest) Reset()
- func (x *VerifyDetachedRequest) String() string
- type VerifyDetachedResponse
- func (*VerifyDetachedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyDetachedResponse) GetSigner() *Key
- func (*VerifyDetachedResponse) ProtoMessage()
- func (x *VerifyDetachedResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyDetachedResponse) Reset()
- func (x *VerifyDetachedResponse) String() string
- type VerifyFileInput
- func (*VerifyFileInput) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyFileInput) GetIn() string
- func (x *VerifyFileInput) GetOut() string
- func (*VerifyFileInput) ProtoMessage()
- func (x *VerifyFileInput) ProtoReflect() protoreflect.Message
- func (x *VerifyFileInput) Reset()
- func (x *VerifyFileInput) String() string
- type VerifyFileOutput
- func (*VerifyFileOutput) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyFileOutput) GetOut() string
- func (x *VerifyFileOutput) GetSigner() *Key
- func (*VerifyFileOutput) ProtoMessage()
- func (x *VerifyFileOutput) ProtoReflect() protoreflect.Message
- func (x *VerifyFileOutput) Reset()
- func (x *VerifyFileOutput) String() string
- type VerifyInput
- type VerifyOutput
- func (*VerifyOutput) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyOutput) GetData() []byte
- func (x *VerifyOutput) GetSigner() *Key
- func (*VerifyOutput) ProtoMessage()
- func (x *VerifyOutput) ProtoReflect() protoreflect.Message
- func (x *VerifyOutput) Reset()
- func (x *VerifyOutput) String() string
- type VerifyRequest
- type VerifyResponse
- func (*VerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyResponse) GetData() []byte
- func (x *VerifyResponse) GetSigner() *Key
- func (*VerifyResponse) ProtoMessage()
- func (x *VerifyResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyResponse) Reset()
- func (x *VerifyResponse) String() string
- type VerifyStreamClient
- type WormholeInput
- func (*WormholeInput) Descriptor() ([]byte, []int)deprecated
- func (x *WormholeInput) GetID() string
- func (x *WormholeInput) GetInvite() string
- func (x *WormholeInput) GetRecipient() string
- func (x *WormholeInput) GetSender() string
- func (x *WormholeInput) GetText() string
- func (*WormholeInput) ProtoMessage()
- func (x *WormholeInput) ProtoReflect() protoreflect.Message
- func (x *WormholeInput) Reset()
- func (x *WormholeInput) String() string
- type WormholeMessage
- func (*WormholeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *WormholeMessage) GetCreatedAt() int64
- func (x *WormholeMessage) GetID() string
- func (x *WormholeMessage) GetRecipient() *Key
- func (x *WormholeMessage) GetSender() *Key
- func (x *WormholeMessage) GetStatus() WormholeMessageStatus
- func (x *WormholeMessage) GetText() string
- func (*WormholeMessage) ProtoMessage()
- func (x *WormholeMessage) ProtoReflect() protoreflect.Message
- func (x *WormholeMessage) Reset()
- func (x *WormholeMessage) String() string
- type WormholeMessageStatus
- func (WormholeMessageStatus) Descriptor() protoreflect.EnumDescriptor
- func (x WormholeMessageStatus) Enum() *WormholeMessageStatus
- func (WormholeMessageStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x WormholeMessageStatus) Number() protoreflect.EnumNumber
- func (x WormholeMessageStatus) String() string
- func (WormholeMessageStatus) Type() protoreflect.EnumType
- type WormholeOutput
- func (*WormholeOutput) Descriptor() ([]byte, []int)deprecated
- func (x *WormholeOutput) GetMessage() *WormholeMessage
- func (x *WormholeOutput) GetStatus() WormholeStatus
- func (*WormholeOutput) ProtoMessage()
- func (x *WormholeOutput) ProtoReflect() protoreflect.Message
- func (x *WormholeOutput) Reset()
- func (x *WormholeOutput) String() string
- type WormholeStatus
- func (WormholeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x WormholeStatus) Enum() *WormholeStatus
- func (WormholeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x WormholeStatus) Number() protoreflect.EnumNumber
- func (x WormholeStatus) String() string
- func (WormholeStatus) Type() protoreflect.EnumType
Constants ¶
const VersionDev = "0.0.0-dev"
VersionDev is default for dev environment.
Variables ¶
var ( EncryptMode_name = map[int32]string{ 0: "DEFAULT_ENCRYPT", 1: "SALTPACK_ENCRYPT", 3: "SALTPACK_SIGNCRYPT", } EncryptMode_value = map[string]int32{ "DEFAULT_ENCRYPT": 0, "SALTPACK_ENCRYPT": 1, "SALTPACK_SIGNCRYPT": 3, } )
Enum value maps for EncryptMode.
var ( AuthStatus_name = map[int32]string{ 0: "AUTH_UNKNOWN", 1: "AUTH_SETUP_NEEDED", 2: "AUTH_UNLOCKED", 3: "AUTH_LOCKED", } AuthStatus_value = map[string]int32{ "AUTH_UNKNOWN": 0, "AUTH_SETUP_NEEDED": 1, "AUTH_UNLOCKED": 2, "AUTH_LOCKED": 3, } )
Enum value maps for AuthStatus.
var ( AuthType_name = map[int32]string{ 0: "UNKNOWN_AUTH", 10: "PASSWORD_AUTH", 11: "PAPER_KEY_AUTH", 20: "FIDO2_HMAC_SECRET_AUTH", } AuthType_value = map[string]int32{ "UNKNOWN_AUTH": 0, "PASSWORD_AUTH": 10, "PAPER_KEY_AUTH": 11, "FIDO2_HMAC_SECRET_AUTH": 20, } )
Enum value maps for AuthType.
var ( ExportType_name = map[int32]string{ 0: "DEFAULT_EXPORT_TYPE", 1: "SSH_EXPORT_TYPE", } ExportType_value = map[string]int32{ "DEFAULT_EXPORT_TYPE": 0, "SSH_EXPORT_TYPE": 1, } )
Enum value maps for ExportType.
var ( SortDirection_name = map[int32]string{ 0: "ASC", 1: "DESC", } SortDirection_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for SortDirection.
var ( SecretType_name = map[int32]string{ 0: "UNKNOWN_SECRET_TYPE", 10: "PASSWORD_SECRET", 11: "CONTACT_SECRET", 12: "CARD_SECRET", 13: "NOTE_SECRET", } SecretType_value = map[string]int32{ "UNKNOWN_SECRET_TYPE": 0, "PASSWORD_SECRET": 10, "CONTACT_SECRET": 11, "CARD_SECRET": 12, "NOTE_SECRET": 13, } )
Enum value maps for SecretType.
var ( Encoding_name = map[int32]string{ 0: "HEX", 1: "BASE62", 2: "BASE58", 3: "BASE32", 4: "BASE16", 5: "BASE64", 6: "SALTPACK", 7: "BIP39", } Encoding_value = map[string]int32{ "HEX": 0, "BASE62": 1, "BASE58": 2, "BASE32": 3, "BASE16": 4, "BASE64": 5, "SALTPACK": 6, "BIP39": 7, } )
Enum value maps for Encoding.
var ( UserStatus_name = map[int32]string{ 0: "USER_UNKNOWN", 1: "USER_OK", 20: "USER_RESOURCE_NOT_FOUND", 30: "USER_CONTENT_NOT_FOUND", 31: "USER_CONTENT_INVALID", 40: "USER_CONN_FAILURE", 50: "USER_FAILURE", } UserStatus_value = map[string]int32{ "USER_UNKNOWN": 0, "USER_OK": 1, "USER_RESOURCE_NOT_FOUND": 20, "USER_CONTENT_NOT_FOUND": 30, "USER_CONTENT_INVALID": 31, "USER_CONN_FAILURE": 40, "USER_FAILURE": 50, } )
Enum value maps for UserStatus.
var ( MessageStatus_name = map[int32]string{ 0: "MESSAGE_SENT", 1: "MESSAGE_PENDING", 2: "MESSAGE_ERROR", } MessageStatus_value = map[string]int32{ "MESSAGE_SENT": 0, "MESSAGE_PENDING": 1, "MESSAGE_ERROR": 2, } )
Enum value maps for MessageStatus.
var ( WormholeStatus_name = map[int32]string{ 0: "WORMHOLE_DEFAULT", 10: "WORMHOLE_STARTING", 20: "WORMHOLE_OFFERING", 21: "WORMHOLE_ANSWERING", 40: "WORMHOLE_HANDSHAKE", 100: "WORMHOLE_CONNECTED", 200: "WORMHOLE_CLOSED", } WormholeStatus_value = map[string]int32{ "WORMHOLE_DEFAULT": 0, "WORMHOLE_STARTING": 10, "WORMHOLE_OFFERING": 20, "WORMHOLE_ANSWERING": 21, "WORMHOLE_HANDSHAKE": 40, "WORMHOLE_CONNECTED": 100, "WORMHOLE_CLOSED": 200, } )
Enum value maps for WormholeStatus.
var ( WormholeMessageStatus_name = map[int32]string{ 0: "WORMHOLE_MESSAGE_SENT", 1: "WORMHOLE_MESSAGE_PENDING", 2: "WORMHOLE_MESSAGE_ACK", } WormholeMessageStatus_value = map[string]int32{ "WORMHOLE_MESSAGE_SENT": 0, "WORMHOLE_MESSAGE_PENDING": 1, "WORMHOLE_MESSAGE_ACK": 2, } )
Enum value maps for WormholeMessageStatus.
var ErrInvalidAuth = status.Error(codes.Unauthenticated, "invalid auth")
ErrInvalidAuth if invalid auth.
var ErrInvalidPassword = status.Error(codes.Unauthenticated, "invalid password")
ErrInvalidPassword if invalid password.
var ErrWormholeTimedOut = errors.New("wormhole timed out")
ErrWormholeTimedOut is timed out.
var File_rpc_proto protoreflect.FileDescriptor
Functions ¶
func DeleteCertificate ¶
DeleteCertificate removes saved certificate.
func GenerateCertificate ¶
func GenerateCertificate(env *Env, save bool) (*keys.CertificateKey, error)
GenerateCertificate generates a certificate key and saves it to the support dir.
func IsPortInUse ¶
IsPortInUse returns true if port is currently in use.
func NewServiceFn ¶
func NewServiceFn(env *Env, build Build, cert *keys.CertificateKey, lgi LogInterceptor) (ServeFn, CloseFn, error)
NewServiceFn ...
func RegisterRPCServer ¶
Types ¶
type AdminCheckRequest ¶
type AdminCheckRequest struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Check string `protobuf:"bytes,2,opt,name=check,proto3" json:"check,omitempty"` // contains filtered or unexported fields }
func (*AdminCheckRequest) Descriptor
deprecated
func (*AdminCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminCheckRequest.ProtoReflect.Descriptor instead.
func (*AdminCheckRequest) GetCheck ¶
func (x *AdminCheckRequest) GetCheck() string
func (*AdminCheckRequest) GetSigner ¶
func (x *AdminCheckRequest) GetSigner() string
func (*AdminCheckRequest) ProtoMessage ¶
func (*AdminCheckRequest) ProtoMessage()
func (*AdminCheckRequest) ProtoReflect ¶
func (x *AdminCheckRequest) ProtoReflect() protoreflect.Message
func (*AdminCheckRequest) Reset ¶
func (x *AdminCheckRequest) Reset()
func (*AdminCheckRequest) String ¶
func (x *AdminCheckRequest) String() string
type AdminCheckResponse ¶
type AdminCheckResponse struct {
// contains filtered or unexported fields
}
func (*AdminCheckResponse) Descriptor
deprecated
func (*AdminCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminCheckResponse.ProtoReflect.Descriptor instead.
func (*AdminCheckResponse) ProtoMessage ¶
func (*AdminCheckResponse) ProtoMessage()
func (*AdminCheckResponse) ProtoReflect ¶
func (x *AdminCheckResponse) ProtoReflect() protoreflect.Message
func (*AdminCheckResponse) Reset ¶
func (x *AdminCheckResponse) Reset()
func (*AdminCheckResponse) String ¶
func (x *AdminCheckResponse) String() string
type AdminSignURLRequest ¶
type AdminSignURLRequest struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` URL string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*AdminSignURLRequest) Descriptor
deprecated
func (*AdminSignURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminSignURLRequest.ProtoReflect.Descriptor instead.
func (*AdminSignURLRequest) GetMethod ¶
func (x *AdminSignURLRequest) GetMethod() string
func (*AdminSignURLRequest) GetSigner ¶
func (x *AdminSignURLRequest) GetSigner() string
func (*AdminSignURLRequest) GetURL ¶
func (x *AdminSignURLRequest) GetURL() string
func (*AdminSignURLRequest) ProtoMessage ¶
func (*AdminSignURLRequest) ProtoMessage()
func (*AdminSignURLRequest) ProtoReflect ¶
func (x *AdminSignURLRequest) ProtoReflect() protoreflect.Message
func (*AdminSignURLRequest) Reset ¶
func (x *AdminSignURLRequest) Reset()
func (*AdminSignURLRequest) String ¶
func (x *AdminSignURLRequest) String() string
type AdminSignURLResponse ¶
type AdminSignURLResponse struct { Auth string `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` URL string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` CURL string `protobuf:"bytes,3,opt,name=curl,proto3" json:"curl,omitempty"` // contains filtered or unexported fields }
func (*AdminSignURLResponse) Descriptor
deprecated
func (*AdminSignURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminSignURLResponse.ProtoReflect.Descriptor instead.
func (*AdminSignURLResponse) GetAuth ¶
func (x *AdminSignURLResponse) GetAuth() string
func (*AdminSignURLResponse) GetCURL ¶
func (x *AdminSignURLResponse) GetCURL() string
func (*AdminSignURLResponse) GetURL ¶
func (x *AdminSignURLResponse) GetURL() string
func (*AdminSignURLResponse) ProtoMessage ¶
func (*AdminSignURLResponse) ProtoMessage()
func (*AdminSignURLResponse) ProtoReflect ¶
func (x *AdminSignURLResponse) ProtoReflect() protoreflect.Message
func (*AdminSignURLResponse) Reset ¶
func (x *AdminSignURLResponse) Reset()
func (*AdminSignURLResponse) String ¶
func (x *AdminSignURLResponse) String() string
type AuthDeprovisionRequest ¶
type AuthDeprovisionRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AuthDeprovisionRequest) Descriptor
deprecated
func (*AuthDeprovisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthDeprovisionRequest.ProtoReflect.Descriptor instead.
func (*AuthDeprovisionRequest) GetID ¶
func (x *AuthDeprovisionRequest) GetID() string
func (*AuthDeprovisionRequest) ProtoMessage ¶
func (*AuthDeprovisionRequest) ProtoMessage()
func (*AuthDeprovisionRequest) ProtoReflect ¶
func (x *AuthDeprovisionRequest) ProtoReflect() protoreflect.Message
func (*AuthDeprovisionRequest) Reset ¶
func (x *AuthDeprovisionRequest) Reset()
func (*AuthDeprovisionRequest) String ¶
func (x *AuthDeprovisionRequest) String() string
type AuthDeprovisionResponse ¶
type AuthDeprovisionResponse struct {
// contains filtered or unexported fields
}
func (*AuthDeprovisionResponse) Descriptor
deprecated
func (*AuthDeprovisionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthDeprovisionResponse.ProtoReflect.Descriptor instead.
func (*AuthDeprovisionResponse) ProtoMessage ¶
func (*AuthDeprovisionResponse) ProtoMessage()
func (*AuthDeprovisionResponse) ProtoReflect ¶
func (x *AuthDeprovisionResponse) ProtoReflect() protoreflect.Message
func (*AuthDeprovisionResponse) Reset ¶
func (x *AuthDeprovisionResponse) Reset()
func (*AuthDeprovisionResponse) String ¶
func (x *AuthDeprovisionResponse) String() string
type AuthLockRequest ¶
type AuthLockRequest struct {
// contains filtered or unexported fields
}
func (*AuthLockRequest) Descriptor
deprecated
func (*AuthLockRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthLockRequest.ProtoReflect.Descriptor instead.
func (*AuthLockRequest) ProtoMessage ¶
func (*AuthLockRequest) ProtoMessage()
func (*AuthLockRequest) ProtoReflect ¶
func (x *AuthLockRequest) ProtoReflect() protoreflect.Message
func (*AuthLockRequest) Reset ¶
func (x *AuthLockRequest) Reset()
func (*AuthLockRequest) String ¶
func (x *AuthLockRequest) String() string
type AuthLockResponse ¶
type AuthLockResponse struct {
// contains filtered or unexported fields
}
func (*AuthLockResponse) Descriptor
deprecated
func (*AuthLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthLockResponse.ProtoReflect.Descriptor instead.
func (*AuthLockResponse) ProtoMessage ¶
func (*AuthLockResponse) ProtoMessage()
func (*AuthLockResponse) ProtoReflect ¶
func (x *AuthLockResponse) ProtoReflect() protoreflect.Message
func (*AuthLockResponse) Reset ¶
func (x *AuthLockResponse) Reset()
func (*AuthLockResponse) String ¶
func (x *AuthLockResponse) String() string
type AuthPasswordChangeRequest ¶
type AuthPasswordChangeRequest struct { Old string `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*AuthPasswordChangeRequest) Descriptor
deprecated
func (*AuthPasswordChangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthPasswordChangeRequest.ProtoReflect.Descriptor instead.
func (*AuthPasswordChangeRequest) GetNew ¶
func (x *AuthPasswordChangeRequest) GetNew() string
func (*AuthPasswordChangeRequest) GetOld ¶
func (x *AuthPasswordChangeRequest) GetOld() string
func (*AuthPasswordChangeRequest) ProtoMessage ¶
func (*AuthPasswordChangeRequest) ProtoMessage()
func (*AuthPasswordChangeRequest) ProtoReflect ¶
func (x *AuthPasswordChangeRequest) ProtoReflect() protoreflect.Message
func (*AuthPasswordChangeRequest) Reset ¶
func (x *AuthPasswordChangeRequest) Reset()
func (*AuthPasswordChangeRequest) String ¶
func (x *AuthPasswordChangeRequest) String() string
type AuthPasswordChangeResponse ¶
type AuthPasswordChangeResponse struct {
// contains filtered or unexported fields
}
func (*AuthPasswordChangeResponse) Descriptor
deprecated
func (*AuthPasswordChangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthPasswordChangeResponse.ProtoReflect.Descriptor instead.
func (*AuthPasswordChangeResponse) ProtoMessage ¶
func (*AuthPasswordChangeResponse) ProtoMessage()
func (*AuthPasswordChangeResponse) ProtoReflect ¶
func (x *AuthPasswordChangeResponse) ProtoReflect() protoreflect.Message
func (*AuthPasswordChangeResponse) Reset ¶
func (x *AuthPasswordChangeResponse) Reset()
func (*AuthPasswordChangeResponse) String ¶
func (x *AuthPasswordChangeResponse) String() string
type AuthProvision ¶
type AuthProvision struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type AuthType `protobuf:"varint,2,opt,name=type,proto3,enum=service.AuthType" json:"type,omitempty"` CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // For FIDO2 // AAGUID is a device "identifier" (only unique across batches for privacy reasons). AAGUID string `protobuf:"bytes,100,opt,name=aaguid,proto3" json:"aaguid,omitempty"` NoPin bool `protobuf:"varint,101,opt,name=noPin,proto3" json:"noPin,omitempty"` // contains filtered or unexported fields }
func (*AuthProvision) Descriptor
deprecated
func (*AuthProvision) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvision.ProtoReflect.Descriptor instead.
func (*AuthProvision) GetAAGUID ¶
func (x *AuthProvision) GetAAGUID() string
func (*AuthProvision) GetCreatedAt ¶
func (x *AuthProvision) GetCreatedAt() int64
func (*AuthProvision) GetID ¶
func (x *AuthProvision) GetID() string
func (*AuthProvision) GetNoPin ¶
func (x *AuthProvision) GetNoPin() bool
func (*AuthProvision) GetType ¶
func (x *AuthProvision) GetType() AuthType
func (*AuthProvision) ProtoMessage ¶
func (*AuthProvision) ProtoMessage()
func (*AuthProvision) ProtoReflect ¶
func (x *AuthProvision) ProtoReflect() protoreflect.Message
func (*AuthProvision) Reset ¶
func (x *AuthProvision) Reset()
func (*AuthProvision) String ¶
func (x *AuthProvision) String() string
type AuthProvisionRequest ¶
type AuthProvisionRequest struct { // Secret for auth depending on auth type, e.g. password, phrase, FIDO2 pin, etc. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Type for auth. Type AuthType `protobuf:"varint,2,opt,name=type,proto3,enum=service.AuthType" json:"type,omitempty"` // Device path (for FIDO2). Device string `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"` // Generate (for FIDO2 make credential). Generate bool `protobuf:"varint,7,opt,name=generate,proto3" json:"generate,omitempty"` // contains filtered or unexported fields }
func (*AuthProvisionRequest) Descriptor
deprecated
func (*AuthProvisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvisionRequest.ProtoReflect.Descriptor instead.
func (*AuthProvisionRequest) GetDevice ¶
func (x *AuthProvisionRequest) GetDevice() string
func (*AuthProvisionRequest) GetGenerate ¶
func (x *AuthProvisionRequest) GetGenerate() bool
func (*AuthProvisionRequest) GetSecret ¶
func (x *AuthProvisionRequest) GetSecret() string
func (*AuthProvisionRequest) GetType ¶
func (x *AuthProvisionRequest) GetType() AuthType
func (*AuthProvisionRequest) ProtoMessage ¶
func (*AuthProvisionRequest) ProtoMessage()
func (*AuthProvisionRequest) ProtoReflect ¶
func (x *AuthProvisionRequest) ProtoReflect() protoreflect.Message
func (*AuthProvisionRequest) Reset ¶
func (x *AuthProvisionRequest) Reset()
func (*AuthProvisionRequest) String ¶
func (x *AuthProvisionRequest) String() string
type AuthProvisionResponse ¶
type AuthProvisionResponse struct { Provision *AuthProvision `protobuf:"bytes,1,opt,name=provision,proto3" json:"provision,omitempty"` // contains filtered or unexported fields }
func (*AuthProvisionResponse) Descriptor
deprecated
func (*AuthProvisionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvisionResponse.ProtoReflect.Descriptor instead.
func (*AuthProvisionResponse) GetProvision ¶
func (x *AuthProvisionResponse) GetProvision() *AuthProvision
func (*AuthProvisionResponse) ProtoMessage ¶
func (*AuthProvisionResponse) ProtoMessage()
func (*AuthProvisionResponse) ProtoReflect ¶
func (x *AuthProvisionResponse) ProtoReflect() protoreflect.Message
func (*AuthProvisionResponse) Reset ¶
func (x *AuthProvisionResponse) Reset()
func (*AuthProvisionResponse) String ¶
func (x *AuthProvisionResponse) String() string
type AuthProvisionsRequest ¶
type AuthProvisionsRequest struct {
// contains filtered or unexported fields
}
func (*AuthProvisionsRequest) Descriptor
deprecated
func (*AuthProvisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvisionsRequest.ProtoReflect.Descriptor instead.
func (*AuthProvisionsRequest) ProtoMessage ¶
func (*AuthProvisionsRequest) ProtoMessage()
func (*AuthProvisionsRequest) ProtoReflect ¶
func (x *AuthProvisionsRequest) ProtoReflect() protoreflect.Message
func (*AuthProvisionsRequest) Reset ¶
func (x *AuthProvisionsRequest) Reset()
func (*AuthProvisionsRequest) String ¶
func (x *AuthProvisionsRequest) String() string
type AuthProvisionsResponse ¶
type AuthProvisionsResponse struct { Provisions []*AuthProvision `protobuf:"bytes,1,rep,name=provisions,proto3" json:"provisions,omitempty"` // contains filtered or unexported fields }
func (*AuthProvisionsResponse) Descriptor
deprecated
func (*AuthProvisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthProvisionsResponse.ProtoReflect.Descriptor instead.
func (*AuthProvisionsResponse) GetProvisions ¶
func (x *AuthProvisionsResponse) GetProvisions() []*AuthProvision
func (*AuthProvisionsResponse) ProtoMessage ¶
func (*AuthProvisionsResponse) ProtoMessage()
func (*AuthProvisionsResponse) ProtoReflect ¶
func (x *AuthProvisionsResponse) ProtoReflect() protoreflect.Message
func (*AuthProvisionsResponse) Reset ¶
func (x *AuthProvisionsResponse) Reset()
func (*AuthProvisionsResponse) String ¶
func (x *AuthProvisionsResponse) String() string
type AuthRecoverRequest ¶
type AuthRecoverRequest struct { PaperKey string `protobuf:"bytes,1,opt,name=paperKey,proto3" json:"paperKey,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=newPassword,proto3" json:"newPassword,omitempty"` // contains filtered or unexported fields }
func (*AuthRecoverRequest) Descriptor
deprecated
func (*AuthRecoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRecoverRequest.ProtoReflect.Descriptor instead.
func (*AuthRecoverRequest) GetNewPassword ¶
func (x *AuthRecoverRequest) GetNewPassword() string
func (*AuthRecoverRequest) GetPaperKey ¶
func (x *AuthRecoverRequest) GetPaperKey() string
func (*AuthRecoverRequest) ProtoMessage ¶
func (*AuthRecoverRequest) ProtoMessage()
func (*AuthRecoverRequest) ProtoReflect ¶
func (x *AuthRecoverRequest) ProtoReflect() protoreflect.Message
func (*AuthRecoverRequest) Reset ¶
func (x *AuthRecoverRequest) Reset()
func (*AuthRecoverRequest) String ¶
func (x *AuthRecoverRequest) String() string
type AuthRecoverResponse ¶
type AuthRecoverResponse struct { AuthToken string `protobuf:"bytes,1,opt,name=authToken,proto3" json:"authToken,omitempty"` // contains filtered or unexported fields }
func (*AuthRecoverResponse) Descriptor
deprecated
func (*AuthRecoverResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthRecoverResponse.ProtoReflect.Descriptor instead.
func (*AuthRecoverResponse) GetAuthToken ¶
func (x *AuthRecoverResponse) GetAuthToken() string
func (*AuthRecoverResponse) ProtoMessage ¶
func (*AuthRecoverResponse) ProtoMessage()
func (*AuthRecoverResponse) ProtoReflect ¶
func (x *AuthRecoverResponse) ProtoReflect() protoreflect.Message
func (*AuthRecoverResponse) Reset ¶
func (x *AuthRecoverResponse) Reset()
func (*AuthRecoverResponse) String ¶
func (x *AuthRecoverResponse) String() string
type AuthResetRequest ¶
type AuthResetRequest struct { AppName string `protobuf:"bytes,1,opt,name=appName,proto3" json:"appName,omitempty"` // contains filtered or unexported fields }
func (*AuthResetRequest) Descriptor
deprecated
func (*AuthResetRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthResetRequest.ProtoReflect.Descriptor instead.
func (*AuthResetRequest) GetAppName ¶
func (x *AuthResetRequest) GetAppName() string
func (*AuthResetRequest) ProtoMessage ¶
func (*AuthResetRequest) ProtoMessage()
func (*AuthResetRequest) ProtoReflect ¶
func (x *AuthResetRequest) ProtoReflect() protoreflect.Message
func (*AuthResetRequest) Reset ¶
func (x *AuthResetRequest) Reset()
func (*AuthResetRequest) String ¶
func (x *AuthResetRequest) String() string
type AuthResetResponse ¶
type AuthResetResponse struct {
// contains filtered or unexported fields
}
func (*AuthResetResponse) Descriptor
deprecated
func (*AuthResetResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResetResponse.ProtoReflect.Descriptor instead.
func (*AuthResetResponse) ProtoMessage ¶
func (*AuthResetResponse) ProtoMessage()
func (*AuthResetResponse) ProtoReflect ¶
func (x *AuthResetResponse) ProtoReflect() protoreflect.Message
func (*AuthResetResponse) Reset ¶
func (x *AuthResetResponse) Reset()
func (*AuthResetResponse) String ¶
func (x *AuthResetResponse) String() string
type AuthSetupRequest ¶
type AuthSetupRequest struct { // Secret for auth depending on auth type, e.g. password, FIDO2 pin, etc. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Type for auth. Type AuthType `protobuf:"varint,2,opt,name=type,proto3,enum=service.AuthType" json:"type,omitempty"` // Device path (for FIDO2). Device string `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"` // contains filtered or unexported fields }
func (*AuthSetupRequest) Descriptor
deprecated
func (*AuthSetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthSetupRequest.ProtoReflect.Descriptor instead.
func (*AuthSetupRequest) GetDevice ¶
func (x *AuthSetupRequest) GetDevice() string
func (*AuthSetupRequest) GetSecret ¶
func (x *AuthSetupRequest) GetSecret() string
func (*AuthSetupRequest) GetType ¶
func (x *AuthSetupRequest) GetType() AuthType
func (*AuthSetupRequest) ProtoMessage ¶
func (*AuthSetupRequest) ProtoMessage()
func (*AuthSetupRequest) ProtoReflect ¶
func (x *AuthSetupRequest) ProtoReflect() protoreflect.Message
func (*AuthSetupRequest) Reset ¶
func (x *AuthSetupRequest) Reset()
func (*AuthSetupRequest) String ¶
func (x *AuthSetupRequest) String() string
type AuthSetupResponse ¶
type AuthSetupResponse struct {
// contains filtered or unexported fields
}
func (*AuthSetupResponse) Descriptor
deprecated
func (*AuthSetupResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthSetupResponse.ProtoReflect.Descriptor instead.
func (*AuthSetupResponse) ProtoMessage ¶
func (*AuthSetupResponse) ProtoMessage()
func (*AuthSetupResponse) ProtoReflect ¶
func (x *AuthSetupResponse) ProtoReflect() protoreflect.Message
func (*AuthSetupResponse) Reset ¶
func (x *AuthSetupResponse) Reset()
func (*AuthSetupResponse) String ¶
func (x *AuthSetupResponse) String() string
type AuthStatus ¶
type AuthStatus int32
const ( AuthUnknown AuthStatus = 0 // AuthSetupNeeded if setup needed. AuthSetupNeeded AuthStatus = 1 // AuthUnlocked if unlocked. AuthUnlocked AuthStatus = 2 // AuthLocked if locked. AuthLocked AuthStatus = 3 )
func (AuthStatus) Descriptor ¶
func (AuthStatus) Descriptor() protoreflect.EnumDescriptor
func (AuthStatus) Enum ¶
func (x AuthStatus) Enum() *AuthStatus
func (AuthStatus) EnumDescriptor
deprecated
func (AuthStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthStatus.Descriptor instead.
func (AuthStatus) Number ¶
func (x AuthStatus) Number() protoreflect.EnumNumber
func (AuthStatus) String ¶
func (x AuthStatus) String() string
func (AuthStatus) Type ¶
func (AuthStatus) Type() protoreflect.EnumType
type AuthType ¶
type AuthType int32
func (AuthType) Descriptor ¶
func (AuthType) Descriptor() protoreflect.EnumDescriptor
func (AuthType) EnumDescriptor
deprecated
func (AuthType) Number ¶
func (x AuthType) Number() protoreflect.EnumNumber
func (AuthType) Type ¶
func (AuthType) Type() protoreflect.EnumType
type AuthUnlockRequest ¶
type AuthUnlockRequest struct { // Secret for auth depending on auth type, e.g. password, pin, etc. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Type for auth. Type AuthType `protobuf:"varint,2,opt,name=type,proto3,enum=service.AuthType" json:"type,omitempty"` // Client name. Client string `protobuf:"bytes,6,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*AuthUnlockRequest) Descriptor
deprecated
func (*AuthUnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthUnlockRequest.ProtoReflect.Descriptor instead.
func (*AuthUnlockRequest) GetClient ¶
func (x *AuthUnlockRequest) GetClient() string
func (*AuthUnlockRequest) GetSecret ¶
func (x *AuthUnlockRequest) GetSecret() string
func (*AuthUnlockRequest) GetType ¶
func (x *AuthUnlockRequest) GetType() AuthType
func (*AuthUnlockRequest) ProtoMessage ¶
func (*AuthUnlockRequest) ProtoMessage()
func (*AuthUnlockRequest) ProtoReflect ¶
func (x *AuthUnlockRequest) ProtoReflect() protoreflect.Message
func (*AuthUnlockRequest) Reset ¶
func (x *AuthUnlockRequest) Reset()
func (*AuthUnlockRequest) String ¶
func (x *AuthUnlockRequest) String() string
type AuthUnlockResponse ¶
type AuthUnlockResponse struct { // AuthToken to use for requests. AuthToken string `protobuf:"bytes,1,opt,name=authToken,proto3" json:"authToken,omitempty"` // contains filtered or unexported fields }
func (*AuthUnlockResponse) Descriptor
deprecated
func (*AuthUnlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthUnlockResponse.ProtoReflect.Descriptor instead.
func (*AuthUnlockResponse) GetAuthToken ¶
func (x *AuthUnlockResponse) GetAuthToken() string
func (*AuthUnlockResponse) ProtoMessage ¶
func (*AuthUnlockResponse) ProtoMessage()
func (*AuthUnlockResponse) ProtoReflect ¶
func (x *AuthUnlockResponse) ProtoReflect() protoreflect.Message
func (*AuthUnlockResponse) Reset ¶
func (x *AuthUnlockResponse) Reset()
func (*AuthUnlockResponse) String ¶
func (x *AuthUnlockResponse) String() string
type AuthVaultRequest ¶
type AuthVaultRequest struct { Phrase string `protobuf:"bytes,1,opt,name=phrase,proto3" json:"phrase,omitempty"` // contains filtered or unexported fields }
func (*AuthVaultRequest) Descriptor
deprecated
func (*AuthVaultRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthVaultRequest.ProtoReflect.Descriptor instead.
func (*AuthVaultRequest) GetPhrase ¶
func (x *AuthVaultRequest) GetPhrase() string
func (*AuthVaultRequest) ProtoMessage ¶
func (*AuthVaultRequest) ProtoMessage()
func (*AuthVaultRequest) ProtoReflect ¶
func (x *AuthVaultRequest) ProtoReflect() protoreflect.Message
func (*AuthVaultRequest) Reset ¶
func (x *AuthVaultRequest) Reset()
func (*AuthVaultRequest) String ¶
func (x *AuthVaultRequest) String() string
type AuthVaultResponse ¶
type AuthVaultResponse struct {
// contains filtered or unexported fields
}
func (*AuthVaultResponse) Descriptor
deprecated
func (*AuthVaultResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthVaultResponse.ProtoReflect.Descriptor instead.
func (*AuthVaultResponse) ProtoMessage ¶
func (*AuthVaultResponse) ProtoMessage()
func (*AuthVaultResponse) ProtoReflect ¶
func (x *AuthVaultResponse) ProtoReflect() protoreflect.Message
func (*AuthVaultResponse) Reset ¶
func (x *AuthVaultResponse) Reset()
func (*AuthVaultResponse) String ¶
func (x *AuthVaultResponse) String() string
type Build ¶
type Build struct { Version string Commit string Date string DefaultAppName string DefaultPort int ServiceName string CmdName string Description string }
Build describes build flags.
type Channel ¶
type Channel struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Snippet string `protobuf:"bytes,3,opt,name=snippet,proto3" json:"snippet,omitempty"` UpdatedAt int64 `protobuf:"varint,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` ReadIndex int64 `protobuf:"varint,10,opt,name=readIndex,proto3" json:"readIndex,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetReadIndex ¶
func (*Channel) GetSnippet ¶
func (*Channel) GetUpdatedAt ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChannelCreateRequest ¶
type ChannelCreateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ChannelCreateRequest) Descriptor
deprecated
func (*ChannelCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCreateRequest.ProtoReflect.Descriptor instead.
func (*ChannelCreateRequest) GetName ¶
func (x *ChannelCreateRequest) GetName() string
func (*ChannelCreateRequest) GetUser ¶
func (x *ChannelCreateRequest) GetUser() string
func (*ChannelCreateRequest) ProtoMessage ¶
func (*ChannelCreateRequest) ProtoMessage()
func (*ChannelCreateRequest) ProtoReflect ¶
func (x *ChannelCreateRequest) ProtoReflect() protoreflect.Message
func (*ChannelCreateRequest) Reset ¶
func (x *ChannelCreateRequest) Reset()
func (*ChannelCreateRequest) String ¶
func (x *ChannelCreateRequest) String() string
type ChannelCreateResponse ¶
type ChannelCreateResponse struct { Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*ChannelCreateResponse) Descriptor
deprecated
func (*ChannelCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCreateResponse.ProtoReflect.Descriptor instead.
func (*ChannelCreateResponse) GetChannel ¶
func (x *ChannelCreateResponse) GetChannel() *Channel
func (*ChannelCreateResponse) ProtoMessage ¶
func (*ChannelCreateResponse) ProtoMessage()
func (*ChannelCreateResponse) ProtoReflect ¶
func (x *ChannelCreateResponse) ProtoReflect() protoreflect.Message
func (*ChannelCreateResponse) Reset ¶
func (x *ChannelCreateResponse) Reset()
func (*ChannelCreateResponse) String ¶
func (x *ChannelCreateResponse) String() string
type ChannelInviteRequest ¶
type ChannelInviteRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Recipients []string `protobuf:"bytes,2,rep,name=recipients,proto3" json:"recipients,omitempty"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // contains filtered or unexported fields }
func (*ChannelInviteRequest) Descriptor
deprecated
func (*ChannelInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelInviteRequest.ProtoReflect.Descriptor instead.
func (*ChannelInviteRequest) GetChannel ¶
func (x *ChannelInviteRequest) GetChannel() string
func (*ChannelInviteRequest) GetRecipients ¶
func (x *ChannelInviteRequest) GetRecipients() []string
func (*ChannelInviteRequest) GetSender ¶
func (x *ChannelInviteRequest) GetSender() string
func (*ChannelInviteRequest) ProtoMessage ¶
func (*ChannelInviteRequest) ProtoMessage()
func (*ChannelInviteRequest) ProtoReflect ¶
func (x *ChannelInviteRequest) ProtoReflect() protoreflect.Message
func (*ChannelInviteRequest) Reset ¶
func (x *ChannelInviteRequest) Reset()
func (*ChannelInviteRequest) String ¶
func (x *ChannelInviteRequest) String() string
type ChannelInviteResponse ¶
type ChannelInviteResponse struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChannelInviteResponse) Descriptor
deprecated
func (*ChannelInviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelInviteResponse.ProtoReflect.Descriptor instead.
func (*ChannelInviteResponse) GetMessage ¶
func (x *ChannelInviteResponse) GetMessage() *Message
func (*ChannelInviteResponse) ProtoMessage ¶
func (*ChannelInviteResponse) ProtoMessage()
func (*ChannelInviteResponse) ProtoReflect ¶
func (x *ChannelInviteResponse) ProtoReflect() protoreflect.Message
func (*ChannelInviteResponse) Reset ¶
func (x *ChannelInviteResponse) Reset()
func (*ChannelInviteResponse) String ¶
func (x *ChannelInviteResponse) String() string
type ChannelLeaveRequest ¶
type ChannelLeaveRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*ChannelLeaveRequest) Descriptor
deprecated
func (*ChannelLeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelLeaveRequest.ProtoReflect.Descriptor instead.
func (*ChannelLeaveRequest) GetChannel ¶
func (x *ChannelLeaveRequest) GetChannel() string
func (*ChannelLeaveRequest) ProtoMessage ¶
func (*ChannelLeaveRequest) ProtoMessage()
func (*ChannelLeaveRequest) ProtoReflect ¶
func (x *ChannelLeaveRequest) ProtoReflect() protoreflect.Message
func (*ChannelLeaveRequest) Reset ¶
func (x *ChannelLeaveRequest) Reset()
func (*ChannelLeaveRequest) String ¶
func (x *ChannelLeaveRequest) String() string
type ChannelLeaveResponse ¶
type ChannelLeaveResponse struct {
// contains filtered or unexported fields
}
func (*ChannelLeaveResponse) Descriptor
deprecated
func (*ChannelLeaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelLeaveResponse.ProtoReflect.Descriptor instead.
func (*ChannelLeaveResponse) ProtoMessage ¶
func (*ChannelLeaveResponse) ProtoMessage()
func (*ChannelLeaveResponse) ProtoReflect ¶
func (x *ChannelLeaveResponse) ProtoReflect() protoreflect.Message
func (*ChannelLeaveResponse) Reset ¶
func (x *ChannelLeaveResponse) Reset()
func (*ChannelLeaveResponse) String ¶
func (x *ChannelLeaveResponse) String() string
type ChannelReadRequest ¶
type ChannelReadRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ChannelReadRequest) Descriptor
deprecated
func (*ChannelReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelReadRequest.ProtoReflect.Descriptor instead.
func (*ChannelReadRequest) GetChannel ¶
func (x *ChannelReadRequest) GetChannel() string
func (*ChannelReadRequest) GetIndex ¶
func (x *ChannelReadRequest) GetIndex() int64
func (*ChannelReadRequest) ProtoMessage ¶
func (*ChannelReadRequest) ProtoMessage()
func (*ChannelReadRequest) ProtoReflect ¶
func (x *ChannelReadRequest) ProtoReflect() protoreflect.Message
func (*ChannelReadRequest) Reset ¶
func (x *ChannelReadRequest) Reset()
func (*ChannelReadRequest) String ¶
func (x *ChannelReadRequest) String() string
type ChannelReadResponse ¶
type ChannelReadResponse struct {
// contains filtered or unexported fields
}
func (*ChannelReadResponse) Descriptor
deprecated
func (*ChannelReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelReadResponse.ProtoReflect.Descriptor instead.
func (*ChannelReadResponse) ProtoMessage ¶
func (*ChannelReadResponse) ProtoMessage()
func (*ChannelReadResponse) ProtoReflect ¶
func (x *ChannelReadResponse) ProtoReflect() protoreflect.Message
func (*ChannelReadResponse) Reset ¶
func (x *ChannelReadResponse) Reset()
func (*ChannelReadResponse) String ¶
func (x *ChannelReadResponse) String() string
type ChannelsRequest ¶
type ChannelsRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ChannelsRequest) Descriptor
deprecated
func (*ChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelsRequest.ProtoReflect.Descriptor instead.
func (*ChannelsRequest) GetUser ¶
func (x *ChannelsRequest) GetUser() string
func (*ChannelsRequest) ProtoMessage ¶
func (*ChannelsRequest) ProtoMessage()
func (*ChannelsRequest) ProtoReflect ¶
func (x *ChannelsRequest) ProtoReflect() protoreflect.Message
func (*ChannelsRequest) Reset ¶
func (x *ChannelsRequest) Reset()
func (*ChannelsRequest) String ¶
func (x *ChannelsRequest) String() string
type ChannelsResponse ¶
type ChannelsResponse struct { Channels []*Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*ChannelsResponse) Descriptor
deprecated
func (*ChannelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelsResponse.ProtoReflect.Descriptor instead.
func (*ChannelsResponse) GetChannels ¶
func (x *ChannelsResponse) GetChannels() []*Channel
func (*ChannelsResponse) ProtoMessage ¶
func (*ChannelsResponse) ProtoMessage()
func (*ChannelsResponse) ProtoReflect ¶
func (x *ChannelsResponse) ProtoReflect() protoreflect.Message
func (*ChannelsResponse) Reset ¶
func (x *ChannelsResponse) Reset()
func (*ChannelsResponse) String ¶
func (x *ChannelsResponse) String() string
type Client ¶
Client defines the RPC client.
func (*Client) FIDO2Client ¶
func (c *Client) FIDO2Client() fido2.FIDO2Client
FIDO2Client returns FIDO2 Authenticators RPC client.
type ClientConnectFn ¶
type ClientConnectFn func(env *Env, authToken string) (*grpc.ClientConn, error)
ClientConnectFn describes client connect.
type Collection ¶
type Collection struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetPath ¶
func (x *Collection) GetPath() string
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type CollectionsRequest ¶
type CollectionsRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // DB is "service" or "vault". DB string `protobuf:"bytes,5,opt,name=db,proto3" json:"db,omitempty"` // contains filtered or unexported fields }
func (*CollectionsRequest) Descriptor
deprecated
func (*CollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectionsRequest.ProtoReflect.Descriptor instead.
func (*CollectionsRequest) GetDB ¶
func (x *CollectionsRequest) GetDB() string
func (*CollectionsRequest) GetParent ¶
func (x *CollectionsRequest) GetParent() string
func (*CollectionsRequest) ProtoMessage ¶
func (*CollectionsRequest) ProtoMessage()
func (*CollectionsRequest) ProtoReflect ¶
func (x *CollectionsRequest) ProtoReflect() protoreflect.Message
func (*CollectionsRequest) Reset ¶
func (x *CollectionsRequest) Reset()
func (*CollectionsRequest) String ¶
func (x *CollectionsRequest) String() string
type CollectionsResponse ¶
type CollectionsResponse struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` // contains filtered or unexported fields }
func (*CollectionsResponse) Descriptor
deprecated
func (*CollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectionsResponse.ProtoReflect.Descriptor instead.
func (*CollectionsResponse) GetCollections ¶
func (x *CollectionsResponse) GetCollections() []*Collection
func (*CollectionsResponse) ProtoMessage ¶
func (*CollectionsResponse) ProtoMessage()
func (*CollectionsResponse) ProtoReflect ¶
func (x *CollectionsResponse) ProtoReflect() protoreflect.Message
func (*CollectionsResponse) Reset ¶
func (x *CollectionsResponse) Reset()
func (*CollectionsResponse) String ¶
func (x *CollectionsResponse) String() string
type Config ¶
type Config struct { App *Config_App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` Encrypt *Config_Encrypt `protobuf:"bytes,10,opt,name=encrypt,proto3" json:"encrypt,omitempty"` Sign *Config_Sign `protobuf:"bytes,11,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetApp ¶
func (x *Config) GetApp() *Config_App
func (*Config) GetEncrypt ¶
func (x *Config) GetEncrypt() *Config_Encrypt
func (*Config) GetSign ¶
func (x *Config) GetSign() *Config_Sign
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type ConfigGetRequest ¶
type ConfigGetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ConfigGetRequest) Descriptor
deprecated
func (*ConfigGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigGetRequest.ProtoReflect.Descriptor instead.
func (*ConfigGetRequest) GetName ¶
func (x *ConfigGetRequest) GetName() string
func (*ConfigGetRequest) ProtoMessage ¶
func (*ConfigGetRequest) ProtoMessage()
func (*ConfigGetRequest) ProtoReflect ¶
func (x *ConfigGetRequest) ProtoReflect() protoreflect.Message
func (*ConfigGetRequest) Reset ¶
func (x *ConfigGetRequest) Reset()
func (*ConfigGetRequest) String ¶
func (x *ConfigGetRequest) String() string
type ConfigGetResponse ¶
type ConfigGetResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ConfigGetResponse) Descriptor
deprecated
func (*ConfigGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigGetResponse.ProtoReflect.Descriptor instead.
func (*ConfigGetResponse) GetConfig ¶
func (x *ConfigGetResponse) GetConfig() *Config
func (*ConfigGetResponse) ProtoMessage ¶
func (*ConfigGetResponse) ProtoMessage()
func (*ConfigGetResponse) ProtoReflect ¶
func (x *ConfigGetResponse) ProtoReflect() protoreflect.Message
func (*ConfigGetResponse) Reset ¶
func (x *ConfigGetResponse) Reset()
func (*ConfigGetResponse) String ¶
func (x *ConfigGetResponse) String() string
type ConfigSetRequest ¶
type ConfigSetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*ConfigSetRequest) Descriptor
deprecated
func (*ConfigSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSetRequest.ProtoReflect.Descriptor instead.
func (*ConfigSetRequest) GetConfig ¶
func (x *ConfigSetRequest) GetConfig() *Config
func (*ConfigSetRequest) GetName ¶
func (x *ConfigSetRequest) GetName() string
func (*ConfigSetRequest) ProtoMessage ¶
func (*ConfigSetRequest) ProtoMessage()
func (*ConfigSetRequest) ProtoReflect ¶
func (x *ConfigSetRequest) ProtoReflect() protoreflect.Message
func (*ConfigSetRequest) Reset ¶
func (x *ConfigSetRequest) Reset()
func (*ConfigSetRequest) String ¶
func (x *ConfigSetRequest) String() string
type ConfigSetResponse ¶
type ConfigSetResponse struct {
// contains filtered or unexported fields
}
func (*ConfigSetResponse) Descriptor
deprecated
func (*ConfigSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigSetResponse.ProtoReflect.Descriptor instead.
func (*ConfigSetResponse) ProtoMessage ¶
func (*ConfigSetResponse) ProtoMessage()
func (*ConfigSetResponse) ProtoReflect ¶
func (x *ConfigSetResponse) ProtoReflect() protoreflect.Message
func (*ConfigSetResponse) Reset ¶
func (x *ConfigSetResponse) Reset()
func (*ConfigSetResponse) String ¶
func (x *ConfigSetResponse) String() string
type Config_App ¶
type Config_App struct { Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` History []string `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
func (*Config_App) Descriptor
deprecated
func (*Config_App) Descriptor() ([]byte, []int)
Deprecated: Use Config_App.ProtoReflect.Descriptor instead.
func (*Config_App) GetHistory ¶
func (x *Config_App) GetHistory() []string
func (*Config_App) GetLocation ¶
func (x *Config_App) GetLocation() string
func (*Config_App) GetNavMinimized ¶
func (x *Config_App) GetNavMinimized() bool
func (*Config_App) ProtoMessage ¶
func (*Config_App) ProtoMessage()
func (*Config_App) ProtoReflect ¶
func (x *Config_App) ProtoReflect() protoreflect.Message
func (*Config_App) Reset ¶
func (x *Config_App) Reset()
func (*Config_App) String ¶
func (x *Config_App) String() string
type Config_Encrypt ¶
type Config_Encrypt struct { Recipients []string `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` NoSenderRecipient bool `protobuf:"varint,3,opt,name=noSenderRecipient,proto3" json:"noSenderRecipient,omitempty"` NoSign bool `protobuf:"varint,4,opt,name=noSign,proto3" json:"noSign,omitempty"` // contains filtered or unexported fields }
func (*Config_Encrypt) Descriptor
deprecated
func (*Config_Encrypt) Descriptor() ([]byte, []int)
Deprecated: Use Config_Encrypt.ProtoReflect.Descriptor instead.
func (*Config_Encrypt) GetNoSenderRecipient ¶
func (x *Config_Encrypt) GetNoSenderRecipient() bool
func (*Config_Encrypt) GetNoSign ¶
func (x *Config_Encrypt) GetNoSign() bool
func (*Config_Encrypt) GetRecipients ¶
func (x *Config_Encrypt) GetRecipients() []string
func (*Config_Encrypt) GetSender ¶
func (x *Config_Encrypt) GetSender() string
func (*Config_Encrypt) ProtoMessage ¶
func (*Config_Encrypt) ProtoMessage()
func (*Config_Encrypt) ProtoReflect ¶
func (x *Config_Encrypt) ProtoReflect() protoreflect.Message
func (*Config_Encrypt) Reset ¶
func (x *Config_Encrypt) Reset()
func (*Config_Encrypt) String ¶
func (x *Config_Encrypt) String() string
type Config_Sign ¶
type Config_Sign struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*Config_Sign) Descriptor
deprecated
func (*Config_Sign) Descriptor() ([]byte, []int)
Deprecated: Use Config_Sign.ProtoReflect.Descriptor instead.
func (*Config_Sign) GetSigner ¶
func (x *Config_Sign) GetSigner() string
func (*Config_Sign) ProtoMessage ¶
func (*Config_Sign) ProtoMessage()
func (*Config_Sign) ProtoReflect ¶
func (x *Config_Sign) ProtoReflect() protoreflect.Message
func (*Config_Sign) Reset ¶
func (x *Config_Sign) Reset()
func (*Config_Sign) String ¶
func (x *Config_Sign) String() string
type ContextLogger ¶
type ContextLogger interface { Debugf(ctx context.Context, format string, args ...interface{}) Infof(ctx context.Context, format string, args ...interface{}) Warningf(ctx context.Context, format string, args ...interface{}) Errorf(ctx context.Context, format string, args ...interface{}) }
ContextLogger interface used in this package with request context.
type DecryptFileInput ¶
type DecryptFileInput struct { // In is the input encrypted file path. In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` // Out is the output file name or directory to save to. Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` // contains filtered or unexported fields }
func (*DecryptFileInput) Descriptor
deprecated
func (*DecryptFileInput) Descriptor() ([]byte, []int)
Deprecated: Use DecryptFileInput.ProtoReflect.Descriptor instead.
func (*DecryptFileInput) GetIn ¶
func (x *DecryptFileInput) GetIn() string
func (*DecryptFileInput) GetOut ¶
func (x *DecryptFileInput) GetOut() string
func (*DecryptFileInput) ProtoMessage ¶
func (*DecryptFileInput) ProtoMessage()
func (*DecryptFileInput) ProtoReflect ¶
func (x *DecryptFileInput) ProtoReflect() protoreflect.Message
func (*DecryptFileInput) Reset ¶
func (x *DecryptFileInput) Reset()
func (*DecryptFileInput) String ¶
func (x *DecryptFileInput) String() string
type DecryptFileOutput ¶
type DecryptFileOutput struct { Sender *Key `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Out is the output file path. Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` Bytes int32 `protobuf:"varint,10,opt,name=bytes,proto3" json:"bytes,omitempty"` Total int32 `protobuf:"varint,11,opt,name=total,proto3" json:"total,omitempty"` // Mode is the encryption mode we detected. Mode EncryptMode `protobuf:"varint,5,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*DecryptFileOutput) Descriptor
deprecated
func (*DecryptFileOutput) Descriptor() ([]byte, []int)
Deprecated: Use DecryptFileOutput.ProtoReflect.Descriptor instead.
func (*DecryptFileOutput) GetBytes ¶
func (x *DecryptFileOutput) GetBytes() int32
func (*DecryptFileOutput) GetMode ¶
func (x *DecryptFileOutput) GetMode() EncryptMode
func (*DecryptFileOutput) GetOut ¶
func (x *DecryptFileOutput) GetOut() string
func (*DecryptFileOutput) GetSender ¶
func (x *DecryptFileOutput) GetSender() *Key
func (*DecryptFileOutput) GetTotal ¶
func (x *DecryptFileOutput) GetTotal() int32
func (*DecryptFileOutput) ProtoMessage ¶
func (*DecryptFileOutput) ProtoMessage()
func (*DecryptFileOutput) ProtoReflect ¶
func (x *DecryptFileOutput) ProtoReflect() protoreflect.Message
func (*DecryptFileOutput) Reset ¶
func (x *DecryptFileOutput) Reset()
func (*DecryptFileOutput) String ¶
func (x *DecryptFileOutput) String() string
type DecryptInput ¶
type DecryptInput struct { // Data, encrypted. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DecryptInput) Descriptor
deprecated
func (*DecryptInput) Descriptor() ([]byte, []int)
Deprecated: Use DecryptInput.ProtoReflect.Descriptor instead.
func (*DecryptInput) GetData ¶
func (x *DecryptInput) GetData() []byte
func (*DecryptInput) ProtoMessage ¶
func (*DecryptInput) ProtoMessage()
func (*DecryptInput) ProtoReflect ¶
func (x *DecryptInput) ProtoReflect() protoreflect.Message
func (*DecryptInput) Reset ¶
func (x *DecryptInput) Reset()
func (*DecryptInput) String ¶
func (x *DecryptInput) String() string
type DecryptOutput ¶
type DecryptOutput struct { // Data, decrypted. If empty, is EOF. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Sender (if not anonymous) Sender *Key `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // Mode is the encryption mode for the data. Mode EncryptMode `protobuf:"varint,5,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*DecryptOutput) Descriptor
deprecated
func (*DecryptOutput) Descriptor() ([]byte, []int)
Deprecated: Use DecryptOutput.ProtoReflect.Descriptor instead.
func (*DecryptOutput) GetData ¶
func (x *DecryptOutput) GetData() []byte
func (*DecryptOutput) GetMode ¶
func (x *DecryptOutput) GetMode() EncryptMode
func (*DecryptOutput) GetSender ¶
func (x *DecryptOutput) GetSender() *Key
func (*DecryptOutput) ProtoMessage ¶
func (*DecryptOutput) ProtoMessage()
func (*DecryptOutput) ProtoReflect ¶
func (x *DecryptOutput) ProtoReflect() protoreflect.Message
func (*DecryptOutput) Reset ¶
func (x *DecryptOutput) Reset()
func (*DecryptOutput) String ¶
func (x *DecryptOutput) String() string
type DecryptRequest ¶
type DecryptRequest struct { // Data to decrypt. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DecryptRequest) Descriptor
deprecated
func (*DecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecryptRequest.ProtoReflect.Descriptor instead.
func (*DecryptRequest) GetData ¶
func (x *DecryptRequest) GetData() []byte
func (*DecryptRequest) ProtoMessage ¶
func (*DecryptRequest) ProtoMessage()
func (*DecryptRequest) ProtoReflect ¶
func (x *DecryptRequest) ProtoReflect() protoreflect.Message
func (*DecryptRequest) Reset ¶
func (x *DecryptRequest) Reset()
func (*DecryptRequest) String ¶
func (x *DecryptRequest) String() string
type DecryptResponse ¶
type DecryptResponse struct { // Data decrypted. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Sender (if not anonymous) Sender *Key `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // Mode is the encryption mode for the data. Mode EncryptMode `protobuf:"varint,5,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*DecryptResponse) Descriptor
deprecated
func (*DecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecryptResponse.ProtoReflect.Descriptor instead.
func (*DecryptResponse) GetData ¶
func (x *DecryptResponse) GetData() []byte
func (*DecryptResponse) GetMode ¶
func (x *DecryptResponse) GetMode() EncryptMode
func (*DecryptResponse) GetSender ¶
func (x *DecryptResponse) GetSender() *Key
func (*DecryptResponse) ProtoMessage ¶
func (*DecryptResponse) ProtoMessage()
func (*DecryptResponse) ProtoReflect ¶
func (x *DecryptResponse) ProtoReflect() protoreflect.Message
func (*DecryptResponse) Reset ¶
func (x *DecryptResponse) Reset()
func (*DecryptResponse) String ¶
func (x *DecryptResponse) String() string
type DecryptStreamClient ¶
type DecryptStreamClient interface { Send(*DecryptInput) error Recv() (*DecryptOutput, error) grpc.ClientStream }
DecryptStreamClient can send and recieve input and output.
func NewDecryptStreamClient ¶
func NewDecryptStreamClient(ctx context.Context, cl RPCClient) (DecryptStreamClient, error)
NewDecryptStreamClient returns DecryptStreamClient based on options.
type Document ¶
type Document struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) GetCreatedAt ¶
func (*Document) GetUpdatedAt ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type DocumentDeleteRequest ¶
type DocumentDeleteRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` DB string `protobuf:"bytes,5,opt,name=db,proto3" json:"db,omitempty"` // contains filtered or unexported fields }
func (*DocumentDeleteRequest) Descriptor
deprecated
func (*DocumentDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentDeleteRequest.ProtoReflect.Descriptor instead.
func (*DocumentDeleteRequest) GetDB ¶
func (x *DocumentDeleteRequest) GetDB() string
func (*DocumentDeleteRequest) GetPath ¶
func (x *DocumentDeleteRequest) GetPath() string
func (*DocumentDeleteRequest) ProtoMessage ¶
func (*DocumentDeleteRequest) ProtoMessage()
func (*DocumentDeleteRequest) ProtoReflect ¶
func (x *DocumentDeleteRequest) ProtoReflect() protoreflect.Message
func (*DocumentDeleteRequest) Reset ¶
func (x *DocumentDeleteRequest) Reset()
func (*DocumentDeleteRequest) String ¶
func (x *DocumentDeleteRequest) String() string
type DocumentDeleteResponse ¶
type DocumentDeleteResponse struct {
// contains filtered or unexported fields
}
func (*DocumentDeleteResponse) Descriptor
deprecated
func (*DocumentDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentDeleteResponse.ProtoReflect.Descriptor instead.
func (*DocumentDeleteResponse) ProtoMessage ¶
func (*DocumentDeleteResponse) ProtoMessage()
func (*DocumentDeleteResponse) ProtoReflect ¶
func (x *DocumentDeleteResponse) ProtoReflect() protoreflect.Message
func (*DocumentDeleteResponse) Reset ¶
func (x *DocumentDeleteResponse) Reset()
func (*DocumentDeleteResponse) String ¶
func (x *DocumentDeleteResponse) String() string
type DocumentsRequest ¶
type DocumentsRequest struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // DB is "service" or "vault". DB string `protobuf:"bytes,5,opt,name=db,proto3" json:"db,omitempty"` // contains filtered or unexported fields }
func (*DocumentsRequest) Descriptor
deprecated
func (*DocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocumentsRequest.ProtoReflect.Descriptor instead.
func (*DocumentsRequest) GetDB ¶
func (x *DocumentsRequest) GetDB() string
func (*DocumentsRequest) GetPrefix ¶
func (x *DocumentsRequest) GetPrefix() string
func (*DocumentsRequest) ProtoMessage ¶
func (*DocumentsRequest) ProtoMessage()
func (*DocumentsRequest) ProtoReflect ¶
func (x *DocumentsRequest) ProtoReflect() protoreflect.Message
func (*DocumentsRequest) Reset ¶
func (x *DocumentsRequest) Reset()
func (*DocumentsRequest) String ¶
func (x *DocumentsRequest) String() string
type DocumentsResponse ¶
type DocumentsResponse struct { Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` // contains filtered or unexported fields }
func (*DocumentsResponse) Descriptor
deprecated
func (*DocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DocumentsResponse.ProtoReflect.Descriptor instead.
func (*DocumentsResponse) GetDocuments ¶
func (x *DocumentsResponse) GetDocuments() []*Document
func (*DocumentsResponse) ProtoMessage ¶
func (*DocumentsResponse) ProtoMessage()
func (*DocumentsResponse) ProtoReflect ¶
func (x *DocumentsResponse) ProtoReflect() protoreflect.Message
func (*DocumentsResponse) Reset ¶
func (x *DocumentsResponse) Reset()
func (*DocumentsResponse) String ¶
func (x *DocumentsResponse) String() string
type Encoding ¶
type Encoding int32
func (Encoding) Descriptor ¶
func (Encoding) Descriptor() protoreflect.EnumDescriptor
func (Encoding) EnumDescriptor
deprecated
func (Encoding) Number ¶
func (x Encoding) Number() protoreflect.EnumNumber
func (Encoding) Type ¶
func (Encoding) Type() protoreflect.EnumType
type EncryptFileInput ¶
type EncryptFileInput struct { // In is input file path. In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` // Out is output file path. Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` // Recipients to encrypt to. Recipients []string `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"` // Sender, or anonymous. Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` // Options for encrypt. Options *EncryptOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*EncryptFileInput) Descriptor
deprecated
func (*EncryptFileInput) Descriptor() ([]byte, []int)
Deprecated: Use EncryptFileInput.ProtoReflect.Descriptor instead.
func (*EncryptFileInput) GetIn ¶
func (x *EncryptFileInput) GetIn() string
func (*EncryptFileInput) GetOptions ¶
func (x *EncryptFileInput) GetOptions() *EncryptOptions
func (*EncryptFileInput) GetOut ¶
func (x *EncryptFileInput) GetOut() string
func (*EncryptFileInput) GetRecipients ¶
func (x *EncryptFileInput) GetRecipients() []string
func (*EncryptFileInput) GetSender ¶
func (x *EncryptFileInput) GetSender() string
func (*EncryptFileInput) ProtoMessage ¶
func (*EncryptFileInput) ProtoMessage()
func (*EncryptFileInput) ProtoReflect ¶
func (x *EncryptFileInput) ProtoReflect() protoreflect.Message
func (*EncryptFileInput) Reset ¶
func (x *EncryptFileInput) Reset()
func (*EncryptFileInput) String ¶
func (x *EncryptFileInput) String() string
type EncryptFileOutput ¶
type EncryptFileOutput struct { // Out is the output decrypted file path. Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` Bytes int32 `protobuf:"varint,10,opt,name=bytes,proto3" json:"bytes,omitempty"` Total int32 `protobuf:"varint,11,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*EncryptFileOutput) Descriptor
deprecated
func (*EncryptFileOutput) Descriptor() ([]byte, []int)
Deprecated: Use EncryptFileOutput.ProtoReflect.Descriptor instead.
func (*EncryptFileOutput) GetBytes ¶
func (x *EncryptFileOutput) GetBytes() int32
func (*EncryptFileOutput) GetOut ¶
func (x *EncryptFileOutput) GetOut() string
func (*EncryptFileOutput) GetTotal ¶
func (x *EncryptFileOutput) GetTotal() int32
func (*EncryptFileOutput) ProtoMessage ¶
func (*EncryptFileOutput) ProtoMessage()
func (*EncryptFileOutput) ProtoReflect ¶
func (x *EncryptFileOutput) ProtoReflect() protoreflect.Message
func (*EncryptFileOutput) Reset ¶
func (x *EncryptFileOutput) Reset()
func (*EncryptFileOutput) String ¶
func (x *EncryptFileOutput) String() string
type EncryptInput ¶
type EncryptInput struct { // Data to encrypt. Send empty byte slice as last message. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Recipients to encrypt to. Recipients []string `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"` // Sender, or anonymous. Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` // Options for encrypt. Options *EncryptOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*EncryptInput) Descriptor
deprecated
func (*EncryptInput) Descriptor() ([]byte, []int)
Deprecated: Use EncryptInput.ProtoReflect.Descriptor instead.
func (*EncryptInput) GetData ¶
func (x *EncryptInput) GetData() []byte
func (*EncryptInput) GetOptions ¶
func (x *EncryptInput) GetOptions() *EncryptOptions
func (*EncryptInput) GetRecipients ¶
func (x *EncryptInput) GetRecipients() []string
func (*EncryptInput) GetSender ¶
func (x *EncryptInput) GetSender() string
func (*EncryptInput) ProtoMessage ¶
func (*EncryptInput) ProtoMessage()
func (*EncryptInput) ProtoReflect ¶
func (x *EncryptInput) ProtoReflect() protoreflect.Message
func (*EncryptInput) Reset ¶
func (x *EncryptInput) Reset()
func (*EncryptInput) String ¶
func (x *EncryptInput) String() string
type EncryptMode ¶
type EncryptMode int32
const ( DefaultEncrypt EncryptMode = 0 SaltpackEncrypt EncryptMode = 1 SaltpackSigncrypt EncryptMode = 3 )
func (EncryptMode) Descriptor ¶
func (EncryptMode) Descriptor() protoreflect.EnumDescriptor
func (EncryptMode) Enum ¶
func (x EncryptMode) Enum() *EncryptMode
func (EncryptMode) EnumDescriptor
deprecated
func (EncryptMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptMode.Descriptor instead.
func (EncryptMode) Number ¶
func (x EncryptMode) Number() protoreflect.EnumNumber
func (EncryptMode) String ¶
func (x EncryptMode) String() string
func (EncryptMode) Type ¶
func (EncryptMode) Type() protoreflect.EnumType
type EncryptOptions ¶
type EncryptOptions struct { // Armored, if true will return armored string output. Armored bool `protobuf:"varint,1,opt,name=armored,proto3" json:"armored,omitempty"` // Mode is the encryption mode. Mode EncryptMode `protobuf:"varint,2,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"` // NoSenderRecipient if true, won't add sender to recipients list. NoSenderRecipient bool `protobuf:"varint,3,opt,name=noSenderRecipient,proto3" json:"noSenderRecipient,omitempty"` // NoSign if true, won't sign with sender. NoSign bool `protobuf:"varint,4,opt,name=noSign,proto3" json:"noSign,omitempty"` // contains filtered or unexported fields }
func (*EncryptOptions) Descriptor
deprecated
func (*EncryptOptions) Descriptor() ([]byte, []int)
Deprecated: Use EncryptOptions.ProtoReflect.Descriptor instead.
func (*EncryptOptions) GetArmored ¶
func (x *EncryptOptions) GetArmored() bool
func (*EncryptOptions) GetMode ¶
func (x *EncryptOptions) GetMode() EncryptMode
func (*EncryptOptions) GetNoSenderRecipient ¶
func (x *EncryptOptions) GetNoSenderRecipient() bool
func (*EncryptOptions) GetNoSign ¶
func (x *EncryptOptions) GetNoSign() bool
func (*EncryptOptions) ProtoMessage ¶
func (*EncryptOptions) ProtoMessage()
func (*EncryptOptions) ProtoReflect ¶
func (x *EncryptOptions) ProtoReflect() protoreflect.Message
func (*EncryptOptions) Reset ¶
func (x *EncryptOptions) Reset()
func (*EncryptOptions) String ¶
func (x *EncryptOptions) String() string
type EncryptOutput ¶
type EncryptOutput struct { // Data, encrypted. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*EncryptOutput) Descriptor
deprecated
func (*EncryptOutput) Descriptor() ([]byte, []int)
Deprecated: Use EncryptOutput.ProtoReflect.Descriptor instead.
func (*EncryptOutput) GetData ¶
func (x *EncryptOutput) GetData() []byte
func (*EncryptOutput) ProtoMessage ¶
func (*EncryptOutput) ProtoMessage()
func (*EncryptOutput) ProtoReflect ¶
func (x *EncryptOutput) ProtoReflect() protoreflect.Message
func (*EncryptOutput) Reset ¶
func (x *EncryptOutput) Reset()
func (*EncryptOutput) String ¶
func (x *EncryptOutput) String() string
type EncryptRequest ¶
type EncryptRequest struct { // Data to encrypt. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Recipients to encrypt to. Recipients []string `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"` // Sender, or anonymous. Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` // Options for encrypt. Options *EncryptOptions `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*EncryptRequest) Descriptor
deprecated
func (*EncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use EncryptRequest.ProtoReflect.Descriptor instead.
func (*EncryptRequest) GetData ¶
func (x *EncryptRequest) GetData() []byte
func (*EncryptRequest) GetOptions ¶
func (x *EncryptRequest) GetOptions() *EncryptOptions
func (*EncryptRequest) GetRecipients ¶
func (x *EncryptRequest) GetRecipients() []string
func (*EncryptRequest) GetSender ¶
func (x *EncryptRequest) GetSender() string
func (*EncryptRequest) ProtoMessage ¶
func (*EncryptRequest) ProtoMessage()
func (*EncryptRequest) ProtoReflect ¶
func (x *EncryptRequest) ProtoReflect() protoreflect.Message
func (*EncryptRequest) Reset ¶
func (x *EncryptRequest) Reset()
func (*EncryptRequest) String ¶
func (x *EncryptRequest) String() string
type EncryptResponse ¶
type EncryptResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*EncryptResponse) Descriptor
deprecated
func (*EncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use EncryptResponse.ProtoReflect.Descriptor instead.
func (*EncryptResponse) GetData ¶
func (x *EncryptResponse) GetData() []byte
func (*EncryptResponse) GetInfo ¶
func (x *EncryptResponse) GetInfo() string
func (*EncryptResponse) ProtoMessage ¶
func (*EncryptResponse) ProtoMessage()
func (*EncryptResponse) ProtoReflect ¶
func (x *EncryptResponse) ProtoReflect() protoreflect.Message
func (*EncryptResponse) Reset ¶
func (x *EncryptResponse) Reset()
func (*EncryptResponse) String ¶
func (x *EncryptResponse) String() string
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
Env for app runtime. Do not store anything sensitive in here, values are saved clear and can be modified at will. Env is not authenticated.
type ExportType ¶
type ExportType int32
const ( DefaultExport ExportType = 0 SSHExport ExportType = 1 )
func (ExportType) Descriptor ¶
func (ExportType) Descriptor() protoreflect.EnumDescriptor
func (ExportType) Enum ¶
func (x ExportType) Enum() *ExportType
func (ExportType) EnumDescriptor
deprecated
func (ExportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExportType.Descriptor instead.
func (ExportType) Number ¶
func (x ExportType) Number() protoreflect.EnumNumber
func (ExportType) String ¶
func (x ExportType) String() string
func (ExportType) Type ¶
func (ExportType) Type() protoreflect.EnumType
type Follow ¶
type Follow struct { Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // contains filtered or unexported fields }
func (*Follow) Descriptor
deprecated
func (*Follow) GetRecipient ¶
func (*Follow) ProtoMessage ¶
func (*Follow) ProtoMessage()
func (*Follow) ProtoReflect ¶
func (x *Follow) ProtoReflect() protoreflect.Message
type FollowRequest ¶
type FollowRequest struct { Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // contains filtered or unexported fields }
func (*FollowRequest) Descriptor
deprecated
func (*FollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use FollowRequest.ProtoReflect.Descriptor instead.
func (*FollowRequest) GetRecipient ¶
func (x *FollowRequest) GetRecipient() string
func (*FollowRequest) GetSender ¶
func (x *FollowRequest) GetSender() string
func (*FollowRequest) ProtoMessage ¶
func (*FollowRequest) ProtoMessage()
func (*FollowRequest) ProtoReflect ¶
func (x *FollowRequest) ProtoReflect() protoreflect.Message
func (*FollowRequest) Reset ¶
func (x *FollowRequest) Reset()
func (*FollowRequest) String ¶
func (x *FollowRequest) String() string
type FollowResponse ¶
type FollowResponse struct { Follow *Follow `protobuf:"bytes,1,opt,name=follow,proto3" json:"follow,omitempty"` // contains filtered or unexported fields }
func (*FollowResponse) Descriptor
deprecated
func (*FollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use FollowResponse.ProtoReflect.Descriptor instead.
func (*FollowResponse) GetFollow ¶
func (x *FollowResponse) GetFollow() *Follow
func (*FollowResponse) ProtoMessage ¶
func (*FollowResponse) ProtoMessage()
func (*FollowResponse) ProtoReflect ¶
func (x *FollowResponse) ProtoReflect() protoreflect.Message
func (*FollowResponse) Reset ¶
func (x *FollowResponse) Reset()
func (*FollowResponse) String ¶
func (x *FollowResponse) String() string
type FollowsRequest ¶
type FollowsRequest struct { Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` Update bool `protobuf:"varint,2,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*FollowsRequest) Descriptor
deprecated
func (*FollowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FollowsRequest.ProtoReflect.Descriptor instead.
func (*FollowsRequest) GetRecipient ¶
func (x *FollowsRequest) GetRecipient() string
func (*FollowsRequest) GetUpdate ¶
func (x *FollowsRequest) GetUpdate() bool
func (*FollowsRequest) ProtoMessage ¶
func (*FollowsRequest) ProtoMessage()
func (*FollowsRequest) ProtoReflect ¶
func (x *FollowsRequest) ProtoReflect() protoreflect.Message
func (*FollowsRequest) Reset ¶
func (x *FollowsRequest) Reset()
func (*FollowsRequest) String ¶
func (x *FollowsRequest) String() string
type FollowsResponse ¶
type FollowsResponse struct { Follows []*Follow `protobuf:"bytes,1,rep,name=follows,proto3" json:"follows,omitempty"` // contains filtered or unexported fields }
func (*FollowsResponse) Descriptor
deprecated
func (*FollowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FollowsResponse.ProtoReflect.Descriptor instead.
func (*FollowsResponse) GetFollows ¶
func (x *FollowsResponse) GetFollows() []*Follow
func (*FollowsResponse) ProtoMessage ¶
func (*FollowsResponse) ProtoMessage()
func (*FollowsResponse) ProtoReflect ¶
func (x *FollowsResponse) ProtoReflect() protoreflect.Message
func (*FollowsResponse) Reset ¶
func (x *FollowsResponse) Reset()
func (*FollowsResponse) String ¶
func (x *FollowsResponse) String() string
type Key ¶
type Key struct { // ID identifier. ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Type of key. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // IsPrivate if private key. IsPrivate bool `protobuf:"varint,4,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"` // User associated with this key. User *User `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"` // Saved if saved locally. Saved bool `protobuf:"varint,10,opt,name=saved,proto3" json:"saved,omitempty"` // SigchainLength is length of sigchain (if any). SigchainLength int32 `protobuf:"varint,40,opt,name=sigchainLength,proto3" json:"sigchainLength,omitempty"` SigchainUpdatedAt int64 `protobuf:"varint,41,opt,name=sigchainUpdatedAt,proto3" json:"sigchainUpdatedAt,omitempty"` // contains filtered or unexported fields }
func (*Key) Descriptor
deprecated
func (*Key) GetIsPrivate ¶
func (*Key) GetSigchainLength ¶
func (*Key) GetSigchainUpdatedAt ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type KeyExportRequest ¶
type KeyExportRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Type ExportType `protobuf:"varint,3,opt,name=type,proto3,enum=service.ExportType" json:"type,omitempty"` Public bool `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"` NoPassword bool `protobuf:"varint,5,opt,name=noPassword,proto3" json:"noPassword,omitempty"` // contains filtered or unexported fields }
func (*KeyExportRequest) Descriptor
deprecated
func (*KeyExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyExportRequest.ProtoReflect.Descriptor instead.
func (*KeyExportRequest) GetKID ¶
func (x *KeyExportRequest) GetKID() string
func (*KeyExportRequest) GetNoPassword ¶
func (x *KeyExportRequest) GetNoPassword() bool
func (*KeyExportRequest) GetPassword ¶
func (x *KeyExportRequest) GetPassword() string
func (*KeyExportRequest) GetPublic ¶
func (x *KeyExportRequest) GetPublic() bool
func (*KeyExportRequest) GetType ¶
func (x *KeyExportRequest) GetType() ExportType
func (*KeyExportRequest) ProtoMessage ¶
func (*KeyExportRequest) ProtoMessage()
func (*KeyExportRequest) ProtoReflect ¶
func (x *KeyExportRequest) ProtoReflect() protoreflect.Message
func (*KeyExportRequest) Reset ¶
func (x *KeyExportRequest) Reset()
func (*KeyExportRequest) String ¶
func (x *KeyExportRequest) String() string
type KeyExportResponse ¶
type KeyExportResponse struct { Export []byte `protobuf:"bytes,1,opt,name=export,proto3" json:"export,omitempty"` // contains filtered or unexported fields }
func (*KeyExportResponse) Descriptor
deprecated
func (*KeyExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyExportResponse.ProtoReflect.Descriptor instead.
func (*KeyExportResponse) GetExport ¶
func (x *KeyExportResponse) GetExport() []byte
func (*KeyExportResponse) ProtoMessage ¶
func (*KeyExportResponse) ProtoMessage()
func (*KeyExportResponse) ProtoReflect ¶
func (x *KeyExportResponse) ProtoReflect() protoreflect.Message
func (*KeyExportResponse) Reset ¶
func (x *KeyExportResponse) Reset()
func (*KeyExportResponse) String ¶
func (x *KeyExportResponse) String() string
type KeyGenerateRequest ¶
type KeyGenerateRequest struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*KeyGenerateRequest) Descriptor
deprecated
func (*KeyGenerateRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyGenerateRequest.ProtoReflect.Descriptor instead.
func (*KeyGenerateRequest) GetType ¶
func (x *KeyGenerateRequest) GetType() string
func (*KeyGenerateRequest) ProtoMessage ¶
func (*KeyGenerateRequest) ProtoMessage()
func (*KeyGenerateRequest) ProtoReflect ¶
func (x *KeyGenerateRequest) ProtoReflect() protoreflect.Message
func (*KeyGenerateRequest) Reset ¶
func (x *KeyGenerateRequest) Reset()
func (*KeyGenerateRequest) String ¶
func (x *KeyGenerateRequest) String() string
type KeyGenerateResponse ¶
type KeyGenerateResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*KeyGenerateResponse) Descriptor
deprecated
func (*KeyGenerateResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyGenerateResponse.ProtoReflect.Descriptor instead.
func (*KeyGenerateResponse) GetKID ¶
func (x *KeyGenerateResponse) GetKID() string
func (*KeyGenerateResponse) ProtoMessage ¶
func (*KeyGenerateResponse) ProtoMessage()
func (*KeyGenerateResponse) ProtoReflect ¶
func (x *KeyGenerateResponse) ProtoReflect() protoreflect.Message
func (*KeyGenerateResponse) Reset ¶
func (x *KeyGenerateResponse) Reset()
func (*KeyGenerateResponse) String ¶
func (x *KeyGenerateResponse) String() string
type KeyImportRequest ¶
type KeyImportRequest struct { In []byte `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Update bool `protobuf:"varint,3,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*KeyImportRequest) Descriptor
deprecated
func (*KeyImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyImportRequest.ProtoReflect.Descriptor instead.
func (*KeyImportRequest) GetIn ¶
func (x *KeyImportRequest) GetIn() []byte
func (*KeyImportRequest) GetPassword ¶
func (x *KeyImportRequest) GetPassword() string
func (*KeyImportRequest) GetUpdate ¶
func (x *KeyImportRequest) GetUpdate() bool
func (*KeyImportRequest) ProtoMessage ¶
func (*KeyImportRequest) ProtoMessage()
func (*KeyImportRequest) ProtoReflect ¶
func (x *KeyImportRequest) ProtoReflect() protoreflect.Message
func (*KeyImportRequest) Reset ¶
func (x *KeyImportRequest) Reset()
func (*KeyImportRequest) String ¶
func (x *KeyImportRequest) String() string
type KeyImportResponse ¶
type KeyImportResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*KeyImportResponse) Descriptor
deprecated
func (*KeyImportResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyImportResponse.ProtoReflect.Descriptor instead.
func (*KeyImportResponse) GetKID ¶
func (x *KeyImportResponse) GetKID() string
func (*KeyImportResponse) ProtoMessage ¶
func (*KeyImportResponse) ProtoMessage()
func (*KeyImportResponse) ProtoReflect ¶
func (x *KeyImportResponse) ProtoReflect() protoreflect.Message
func (*KeyImportResponse) Reset ¶
func (x *KeyImportResponse) Reset()
func (*KeyImportResponse) String ¶
func (x *KeyImportResponse) String() string
type KeyRemoveRequest ¶
type KeyRemoveRequest struct { // KID of key to remove. KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*KeyRemoveRequest) Descriptor
deprecated
func (*KeyRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyRemoveRequest.ProtoReflect.Descriptor instead.
func (*KeyRemoveRequest) GetKID ¶
func (x *KeyRemoveRequest) GetKID() string
func (*KeyRemoveRequest) ProtoMessage ¶
func (*KeyRemoveRequest) ProtoMessage()
func (*KeyRemoveRequest) ProtoReflect ¶
func (x *KeyRemoveRequest) ProtoReflect() protoreflect.Message
func (*KeyRemoveRequest) Reset ¶
func (x *KeyRemoveRequest) Reset()
func (*KeyRemoveRequest) String ¶
func (x *KeyRemoveRequest) String() string
type KeyRemoveResponse ¶
type KeyRemoveResponse struct {
// contains filtered or unexported fields
}
func (*KeyRemoveResponse) Descriptor
deprecated
func (*KeyRemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyRemoveResponse.ProtoReflect.Descriptor instead.
func (*KeyRemoveResponse) ProtoMessage ¶
func (*KeyRemoveResponse) ProtoMessage()
func (*KeyRemoveResponse) ProtoReflect ¶
func (x *KeyRemoveResponse) ProtoReflect() protoreflect.Message
func (*KeyRemoveResponse) Reset ¶
func (x *KeyRemoveResponse) Reset()
func (*KeyRemoveResponse) String ¶
func (x *KeyRemoveResponse) String() string
type KeyRequest ¶
type KeyRequest struct { // Key can be kid or user@service. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Search, if true, will search for the key on the server. Search bool `protobuf:"varint,4,opt,name=search,proto3" json:"search,omitempty"` // Update, if true, will update the sigchain from the server. Update bool `protobuf:"varint,5,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*KeyRequest) Descriptor
deprecated
func (*KeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyRequest.ProtoReflect.Descriptor instead.
func (*KeyRequest) GetKey ¶
func (x *KeyRequest) GetKey() string
func (*KeyRequest) GetSearch ¶
func (x *KeyRequest) GetSearch() bool
func (*KeyRequest) GetUpdate ¶
func (x *KeyRequest) GetUpdate() bool
func (*KeyRequest) ProtoMessage ¶
func (*KeyRequest) ProtoMessage()
func (*KeyRequest) ProtoReflect ¶
func (x *KeyRequest) ProtoReflect() protoreflect.Message
func (*KeyRequest) Reset ¶
func (x *KeyRequest) Reset()
func (*KeyRequest) String ¶
func (x *KeyRequest) String() string
type KeyResponse ¶
type KeyResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*KeyResponse) Descriptor
deprecated
func (*KeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeyResponse.ProtoReflect.Descriptor instead.
func (*KeyResponse) GetKey ¶
func (x *KeyResponse) GetKey() *Key
func (*KeyResponse) ProtoMessage ¶
func (*KeyResponse) ProtoMessage()
func (*KeyResponse) ProtoReflect ¶
func (x *KeyResponse) ProtoReflect() protoreflect.Message
func (*KeyResponse) Reset ¶
func (x *KeyResponse) Reset()
func (*KeyResponse) String ¶
func (x *KeyResponse) String() string
type KeysRequest ¶
type KeysRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Types []string `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"` SortField string `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"` SortDirection SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"` // contains filtered or unexported fields }
func (*KeysRequest) Descriptor
deprecated
func (*KeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysRequest.ProtoReflect.Descriptor instead.
func (*KeysRequest) GetQuery ¶
func (x *KeysRequest) GetQuery() string
func (*KeysRequest) GetSortDirection ¶
func (x *KeysRequest) GetSortDirection() SortDirection
func (*KeysRequest) GetSortField ¶
func (x *KeysRequest) GetSortField() string
func (*KeysRequest) GetTypes ¶
func (x *KeysRequest) GetTypes() []string
func (*KeysRequest) ProtoMessage ¶
func (*KeysRequest) ProtoMessage()
func (*KeysRequest) ProtoReflect ¶
func (x *KeysRequest) ProtoReflect() protoreflect.Message
func (*KeysRequest) Reset ¶
func (x *KeysRequest) Reset()
func (*KeysRequest) String ¶
func (x *KeysRequest) String() string
type KeysResponse ¶
type KeysResponse struct { Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` SortField string `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"` SortDirection SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"` // contains filtered or unexported fields }
func (*KeysResponse) Descriptor
deprecated
func (*KeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysResponse.ProtoReflect.Descriptor instead.
func (*KeysResponse) GetKeys ¶
func (x *KeysResponse) GetKeys() []*Key
func (*KeysResponse) GetSortDirection ¶
func (x *KeysResponse) GetSortDirection() SortDirection
func (*KeysResponse) GetSortField ¶
func (x *KeysResponse) GetSortField() string
func (*KeysResponse) ProtoMessage ¶
func (*KeysResponse) ProtoMessage()
func (*KeysResponse) ProtoReflect ¶
func (x *KeysResponse) ProtoReflect() protoreflect.Message
func (*KeysResponse) Reset ¶
func (x *KeysResponse) Reset()
func (*KeysResponse) String ¶
func (x *KeysResponse) String() string
type LogInterceptor ¶
type LogInterceptor interface { Replace() Unary() grpc.UnaryServerInterceptor Stream() grpc.StreamServerInterceptor }
LogInterceptor for gRPC.
func NewLogrusInterceptor ¶
func NewLogrusInterceptor(l *logrus.Logger) LogInterceptor
NewLogrusInterceptor is gRPC interceptor for logrus.
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warningf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) }
Logger interface used in this package.
type Message ¶
type Message struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sender *Key `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Text []string `protobuf:"bytes,10,rep,name=text,proto3" json:"text,omitempty"` Status MessageStatus `protobuf:"varint,20,opt,name=status,proto3,enum=service.MessageStatus" json:"status,omitempty"` CreatedAt int64 `protobuf:"varint,31,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetCreatedAt ¶
func (*Message) GetStatus ¶
func (x *Message) GetStatus() MessageStatus
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageCreateRequest ¶
type MessageCreateRequest struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // ID is optional, if message was prepared you can use that ID, otherwise it // is autogenerated. ID string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` Text string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*MessageCreateRequest) Descriptor
deprecated
func (*MessageCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageCreateRequest.ProtoReflect.Descriptor instead.
func (*MessageCreateRequest) GetChannel ¶
func (x *MessageCreateRequest) GetChannel() string
func (*MessageCreateRequest) GetID ¶
func (x *MessageCreateRequest) GetID() string
func (*MessageCreateRequest) GetSender ¶
func (x *MessageCreateRequest) GetSender() string
func (*MessageCreateRequest) GetText ¶
func (x *MessageCreateRequest) GetText() string
func (*MessageCreateRequest) ProtoMessage ¶
func (*MessageCreateRequest) ProtoMessage()
func (*MessageCreateRequest) ProtoReflect ¶
func (x *MessageCreateRequest) ProtoReflect() protoreflect.Message
func (*MessageCreateRequest) Reset ¶
func (x *MessageCreateRequest) Reset()
func (*MessageCreateRequest) String ¶
func (x *MessageCreateRequest) String() string
type MessageCreateResponse ¶
type MessageCreateResponse struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MessageCreateResponse) Descriptor
deprecated
func (*MessageCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageCreateResponse.ProtoReflect.Descriptor instead.
func (*MessageCreateResponse) GetMessage ¶
func (x *MessageCreateResponse) GetMessage() *Message
func (*MessageCreateResponse) ProtoMessage ¶
func (*MessageCreateResponse) ProtoMessage()
func (*MessageCreateResponse) ProtoReflect ¶
func (x *MessageCreateResponse) ProtoReflect() protoreflect.Message
func (*MessageCreateResponse) Reset ¶
func (x *MessageCreateResponse) Reset()
func (*MessageCreateResponse) String ¶
func (x *MessageCreateResponse) String() string
type MessagePrepareRequest ¶
type MessagePrepareRequest struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` Text string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*MessagePrepareRequest) Descriptor
deprecated
func (*MessagePrepareRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessagePrepareRequest.ProtoReflect.Descriptor instead.
func (*MessagePrepareRequest) GetChannel ¶
func (x *MessagePrepareRequest) GetChannel() string
func (*MessagePrepareRequest) GetSender ¶
func (x *MessagePrepareRequest) GetSender() string
func (*MessagePrepareRequest) GetText ¶
func (x *MessagePrepareRequest) GetText() string
func (*MessagePrepareRequest) ProtoMessage ¶
func (*MessagePrepareRequest) ProtoMessage()
func (*MessagePrepareRequest) ProtoReflect ¶
func (x *MessagePrepareRequest) ProtoReflect() protoreflect.Message
func (*MessagePrepareRequest) Reset ¶
func (x *MessagePrepareRequest) Reset()
func (*MessagePrepareRequest) String ¶
func (x *MessagePrepareRequest) String() string
type MessagePrepareResponse ¶
type MessagePrepareResponse struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MessagePrepareResponse) Descriptor
deprecated
func (*MessagePrepareResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessagePrepareResponse.ProtoReflect.Descriptor instead.
func (*MessagePrepareResponse) GetMessage ¶
func (x *MessagePrepareResponse) GetMessage() *Message
func (*MessagePrepareResponse) ProtoMessage ¶
func (*MessagePrepareResponse) ProtoMessage()
func (*MessagePrepareResponse) ProtoReflect ¶
func (x *MessagePrepareResponse) ProtoReflect() protoreflect.Message
func (*MessagePrepareResponse) Reset ¶
func (x *MessagePrepareResponse) Reset()
func (*MessagePrepareResponse) String ¶
func (x *MessagePrepareResponse) String() string
type MessageStatus ¶
type MessageStatus int32
const ( MessageSent MessageStatus = 0 MessagePending MessageStatus = 1 MessageError MessageStatus = 2 )
func (MessageStatus) Descriptor ¶
func (MessageStatus) Descriptor() protoreflect.EnumDescriptor
func (MessageStatus) Enum ¶
func (x MessageStatus) Enum() *MessageStatus
func (MessageStatus) EnumDescriptor
deprecated
func (MessageStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageStatus.Descriptor instead.
func (MessageStatus) Number ¶
func (x MessageStatus) Number() protoreflect.EnumNumber
func (MessageStatus) String ¶
func (x MessageStatus) String() string
func (MessageStatus) Type ¶
func (MessageStatus) Type() protoreflect.EnumType
type MessagesRequest ¶
type MessagesRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // Update, if true will update from the server. Update bool `protobuf:"varint,5,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*MessagesRequest) Descriptor
deprecated
func (*MessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessagesRequest.ProtoReflect.Descriptor instead.
func (*MessagesRequest) GetChannel ¶
func (x *MessagesRequest) GetChannel() string
func (*MessagesRequest) GetUpdate ¶
func (x *MessagesRequest) GetUpdate() bool
func (*MessagesRequest) ProtoMessage ¶
func (*MessagesRequest) ProtoMessage()
func (*MessagesRequest) ProtoReflect ¶
func (x *MessagesRequest) ProtoReflect() protoreflect.Message
func (*MessagesRequest) Reset ¶
func (x *MessagesRequest) Reset()
func (*MessagesRequest) String ¶
func (x *MessagesRequest) String() string
type MessagesResponse ¶
type MessagesResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*MessagesResponse) Descriptor
deprecated
func (*MessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessagesResponse.ProtoReflect.Descriptor instead.
func (*MessagesResponse) GetMessages ¶
func (x *MessagesResponse) GetMessages() []*Message
func (*MessagesResponse) ProtoMessage ¶
func (*MessagesResponse) ProtoMessage()
func (*MessagesResponse) ProtoReflect ¶
func (x *MessagesResponse) ProtoReflect() protoreflect.Message
func (*MessagesResponse) Reset ¶
func (x *MessagesResponse) Reset()
func (*MessagesResponse) String ¶
func (x *MessagesResponse) String() string
type PullRequest ¶
type PullRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*PullRequest) Descriptor
deprecated
func (*PullRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullRequest.ProtoReflect.Descriptor instead.
func (*PullRequest) GetKey ¶
func (x *PullRequest) GetKey() string
func (*PullRequest) ProtoMessage ¶
func (*PullRequest) ProtoMessage()
func (*PullRequest) ProtoReflect ¶
func (x *PullRequest) ProtoReflect() protoreflect.Message
func (*PullRequest) Reset ¶
func (x *PullRequest) Reset()
func (*PullRequest) String ¶
func (x *PullRequest) String() string
type PullResponse ¶
type PullResponse struct { KIDs []string `protobuf:"bytes,1,rep,name=kids,proto3" json:"kids,omitempty"` // contains filtered or unexported fields }
func (*PullResponse) Descriptor
deprecated
func (*PullResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullResponse.ProtoReflect.Descriptor instead.
func (*PullResponse) GetKIDs ¶
func (x *PullResponse) GetKIDs() []string
func (*PullResponse) ProtoMessage ¶
func (*PullResponse) ProtoMessage()
func (*PullResponse) ProtoReflect ¶
func (x *PullResponse) ProtoReflect() protoreflect.Message
func (*PullResponse) Reset ¶
func (x *PullResponse) Reset()
func (*PullResponse) String ¶
func (x *PullResponse) String() string
type PushRequest ¶
type PushRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` RemoteCheck bool `protobuf:"varint,2,opt,name=remoteCheck,proto3" json:"remoteCheck,omitempty"` // contains filtered or unexported fields }
func (*PushRequest) Descriptor
deprecated
func (*PushRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
func (*PushRequest) GetKey ¶
func (x *PushRequest) GetKey() string
func (*PushRequest) GetRemoteCheck ¶
func (x *PushRequest) GetRemoteCheck() bool
func (*PushRequest) ProtoMessage ¶
func (*PushRequest) ProtoMessage()
func (*PushRequest) ProtoReflect ¶
func (x *PushRequest) ProtoReflect() protoreflect.Message
func (*PushRequest) Reset ¶
func (x *PushRequest) Reset()
func (*PushRequest) String ¶
func (x *PushRequest) String() string
type PushResponse ¶
type PushResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` URLs []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
func (*PushResponse) Descriptor
deprecated
func (*PushResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
func (*PushResponse) GetKID ¶
func (x *PushResponse) GetKID() string
func (*PushResponse) GetURLs ¶
func (x *PushResponse) GetURLs() []string
func (*PushResponse) ProtoMessage ¶
func (*PushResponse) ProtoMessage()
func (*PushResponse) ProtoReflect ¶
func (x *PushResponse) ProtoReflect() protoreflect.Message
func (*PushResponse) Reset ¶
func (x *PushResponse) Reset()
func (*PushResponse) String ¶
func (x *PushResponse) String() string
type RPCClient ¶
type RPCClient interface { KeyGenerate(ctx context.Context, in *KeyGenerateRequest, opts ...grpc.CallOption) (*KeyGenerateResponse, error) Keys(ctx context.Context, in *KeysRequest, opts ...grpc.CallOption) (*KeysResponse, error) Key(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*KeyResponse, error) KeyImport(ctx context.Context, in *KeyImportRequest, opts ...grpc.CallOption) (*KeyImportResponse, error) KeyExport(ctx context.Context, in *KeyExportRequest, opts ...grpc.CallOption) (*KeyExportResponse, error) KeyRemove(ctx context.Context, in *KeyRemoveRequest, opts ...grpc.CallOption) (*KeyRemoveResponse, error) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) SignFile(ctx context.Context, opts ...grpc.CallOption) (RPC_SignFileClient, error) SignStream(ctx context.Context, opts ...grpc.CallOption) (RPC_SignStreamClient, error) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) VerifyFile(ctx context.Context, opts ...grpc.CallOption) (RPC_VerifyFileClient, error) VerifyStream(ctx context.Context, opts ...grpc.CallOption) (RPC_VerifyStreamClient, error) VerifyDetached(ctx context.Context, in *VerifyDetachedRequest, opts ...grpc.CallOption) (*VerifyDetachedResponse, error) VerifyDetachedFile(ctx context.Context, opts ...grpc.CallOption) (RPC_VerifyDetachedFileClient, error) VerifyDetachedStream(ctx context.Context, opts ...grpc.CallOption) (RPC_VerifyDetachedStreamClient, error) Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) EncryptStream(ctx context.Context, opts ...grpc.CallOption) (RPC_EncryptStreamClient, error) EncryptFile(ctx context.Context, opts ...grpc.CallOption) (RPC_EncryptFileClient, error) Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) DecryptStream(ctx context.Context, opts ...grpc.CallOption) (RPC_DecryptStreamClient, error) DecryptFile(ctx context.Context, opts ...grpc.CallOption) (RPC_DecryptFileClient, error) Sigchain(ctx context.Context, in *SigchainRequest, opts ...grpc.CallOption) (*SigchainResponse, error) Statement(ctx context.Context, in *StatementRequest, opts ...grpc.CallOption) (*StatementResponse, error) StatementCreate(ctx context.Context, in *StatementCreateRequest, opts ...grpc.CallOption) (*StatementCreateResponse, error) StatementRevoke(ctx context.Context, in *StatementRevokeRequest, opts ...grpc.CallOption) (*StatementRevokeResponse, error) User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) UserSearch(ctx context.Context, in *UserSearchRequest, opts ...grpc.CallOption) (*UserSearchResponse, error) UserService(ctx context.Context, in *UserServiceRequest, opts ...grpc.CallOption) (*UserServiceResponse, error) UserSign(ctx context.Context, in *UserSignRequest, opts ...grpc.CallOption) (*UserSignResponse, error) UserAdd(ctx context.Context, in *UserAddRequest, opts ...grpc.CallOption) (*UserAddResponse, error) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) Secret(ctx context.Context, in *SecretRequest, opts ...grpc.CallOption) (*SecretResponse, error) SecretSave(ctx context.Context, in *SecretSaveRequest, opts ...grpc.CallOption) (*SecretSaveResponse, error) SecretRemove(ctx context.Context, in *SecretRemoveRequest, opts ...grpc.CallOption) (*SecretRemoveResponse, error) Secrets(ctx context.Context, in *SecretsRequest, opts ...grpc.CallOption) (*SecretsResponse, error) Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error) Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error) Wormhole(ctx context.Context, opts ...grpc.CallOption) (RPC_WormholeClient, error) // These requests do not need auth. // BEGIN NO AUTH AuthSetup(ctx context.Context, in *AuthSetupRequest, opts ...grpc.CallOption) (*AuthSetupResponse, error) AuthVault(ctx context.Context, in *AuthVaultRequest, opts ...grpc.CallOption) (*AuthVaultResponse, error) AuthUnlock(ctx context.Context, in *AuthUnlockRequest, opts ...grpc.CallOption) (*AuthUnlockResponse, error) AuthLock(ctx context.Context, in *AuthLockRequest, opts ...grpc.CallOption) (*AuthLockResponse, error) AuthReset(ctx context.Context, in *AuthResetRequest, opts ...grpc.CallOption) (*AuthResetResponse, error) AuthRecover(ctx context.Context, in *AuthRecoverRequest, opts ...grpc.CallOption) (*AuthRecoverResponse, error) RuntimeStatus(ctx context.Context, in *RuntimeStatusRequest, opts ...grpc.CallOption) (*RuntimeStatusResponse, error) Rand(ctx context.Context, in *RandRequest, opts ...grpc.CallOption) (*RandResponse, error) RandPassword(ctx context.Context, in *RandPasswordRequest, opts ...grpc.CallOption) (*RandPasswordResponse, error) // Auth (edit) AuthProvision(ctx context.Context, in *AuthProvisionRequest, opts ...grpc.CallOption) (*AuthProvisionResponse, error) AuthDeprovision(ctx context.Context, in *AuthDeprovisionRequest, opts ...grpc.CallOption) (*AuthDeprovisionResponse, error) AuthProvisions(ctx context.Context, in *AuthProvisionsRequest, opts ...grpc.CallOption) (*AuthProvisionsResponse, error) AuthPasswordChange(ctx context.Context, in *AuthPasswordChangeRequest, opts ...grpc.CallOption) (*AuthPasswordChangeResponse, error) // Vault VaultAuth(ctx context.Context, in *VaultAuthRequest, opts ...grpc.CallOption) (*VaultAuthResponse, error) VaultSync(ctx context.Context, in *VaultSyncRequest, opts ...grpc.CallOption) (*VaultSyncResponse, error) VaultUnsync(ctx context.Context, in *VaultUnsyncRequest, opts ...grpc.CallOption) (*VaultUnsyncResponse, error) VaultStatus(ctx context.Context, in *VaultStatusRequest, opts ...grpc.CallOption) (*VaultStatusResponse, error) VaultUpdate(ctx context.Context, in *VaultUpdateRequest, opts ...grpc.CallOption) (*VaultUpdateResponse, error) // DB Collections(ctx context.Context, in *CollectionsRequest, opts ...grpc.CallOption) (*CollectionsResponse, error) Documents(ctx context.Context, in *DocumentsRequest, opts ...grpc.CallOption) (*DocumentsResponse, error) DocumentDelete(ctx context.Context, in *DocumentDeleteRequest, opts ...grpc.CallOption) (*DocumentDeleteResponse, error) // Config ConfigGet(ctx context.Context, in *ConfigGetRequest, opts ...grpc.CallOption) (*ConfigGetResponse, error) ConfigSet(ctx context.Context, in *ConfigSetRequest, opts ...grpc.CallOption) (*ConfigSetResponse, error) // Admin AdminSignURL(ctx context.Context, in *AdminSignURLRequest, opts ...grpc.CallOption) (*AdminSignURLResponse, error) AdminCheck(ctx context.Context, in *AdminCheckRequest, opts ...grpc.CallOption) (*AdminCheckResponse, error) // Channels Channels(ctx context.Context, in *ChannelsRequest, opts ...grpc.CallOption) (*ChannelsResponse, error) ChannelCreate(ctx context.Context, in *ChannelCreateRequest, opts ...grpc.CallOption) (*ChannelCreateResponse, error) ChannelInvite(ctx context.Context, in *ChannelInviteRequest, opts ...grpc.CallOption) (*ChannelInviteResponse, error) ChannelLeave(ctx context.Context, in *ChannelLeaveRequest, opts ...grpc.CallOption) (*ChannelLeaveResponse, error) ChannelRead(ctx context.Context, in *ChannelReadRequest, opts ...grpc.CallOption) (*ChannelReadResponse, error) // Follow Follow(ctx context.Context, in *FollowRequest, opts ...grpc.CallOption) (*FollowResponse, error) Follows(ctx context.Context, in *FollowsRequest, opts ...grpc.CallOption) (*FollowsResponse, error) // Messages MessagePrepare(ctx context.Context, in *MessagePrepareRequest, opts ...grpc.CallOption) (*MessagePrepareResponse, error) MessageCreate(ctx context.Context, in *MessageCreateRequest, opts ...grpc.CallOption) (*MessageCreateResponse, error) Messages(ctx context.Context, in *MessagesRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // Relay Relay(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (RPC_RelayClient, error) }
RPCClient is the client API for RPC service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRPCClient ¶
func NewRPCClient(cc grpc.ClientConnInterface) RPCClient
type RPCServer ¶
type RPCServer interface { KeyGenerate(context.Context, *KeyGenerateRequest) (*KeyGenerateResponse, error) Keys(context.Context, *KeysRequest) (*KeysResponse, error) Key(context.Context, *KeyRequest) (*KeyResponse, error) KeyImport(context.Context, *KeyImportRequest) (*KeyImportResponse, error) KeyExport(context.Context, *KeyExportRequest) (*KeyExportResponse, error) KeyRemove(context.Context, *KeyRemoveRequest) (*KeyRemoveResponse, error) Sign(context.Context, *SignRequest) (*SignResponse, error) SignFile(RPC_SignFileServer) error SignStream(RPC_SignStreamServer) error Verify(context.Context, *VerifyRequest) (*VerifyResponse, error) VerifyFile(RPC_VerifyFileServer) error VerifyStream(RPC_VerifyStreamServer) error VerifyDetached(context.Context, *VerifyDetachedRequest) (*VerifyDetachedResponse, error) VerifyDetachedFile(RPC_VerifyDetachedFileServer) error VerifyDetachedStream(RPC_VerifyDetachedStreamServer) error Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) EncryptStream(RPC_EncryptStreamServer) error EncryptFile(RPC_EncryptFileServer) error Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) DecryptStream(RPC_DecryptStreamServer) error DecryptFile(RPC_DecryptFileServer) error Sigchain(context.Context, *SigchainRequest) (*SigchainResponse, error) Statement(context.Context, *StatementRequest) (*StatementResponse, error) StatementCreate(context.Context, *StatementCreateRequest) (*StatementCreateResponse, error) StatementRevoke(context.Context, *StatementRevokeRequest) (*StatementRevokeResponse, error) User(context.Context, *UserRequest) (*UserResponse, error) UserSearch(context.Context, *UserSearchRequest) (*UserSearchResponse, error) UserService(context.Context, *UserServiceRequest) (*UserServiceResponse, error) UserSign(context.Context, *UserSignRequest) (*UserSignResponse, error) UserAdd(context.Context, *UserAddRequest) (*UserAddResponse, error) Search(context.Context, *SearchRequest) (*SearchResponse, error) Secret(context.Context, *SecretRequest) (*SecretResponse, error) SecretSave(context.Context, *SecretSaveRequest) (*SecretSaveResponse, error) SecretRemove(context.Context, *SecretRemoveRequest) (*SecretRemoveResponse, error) Secrets(context.Context, *SecretsRequest) (*SecretsResponse, error) Pull(context.Context, *PullRequest) (*PullResponse, error) Push(context.Context, *PushRequest) (*PushResponse, error) Wormhole(RPC_WormholeServer) error // These requests do not need auth. // BEGIN NO AUTH AuthSetup(context.Context, *AuthSetupRequest) (*AuthSetupResponse, error) AuthVault(context.Context, *AuthVaultRequest) (*AuthVaultResponse, error) AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error) AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error) AuthReset(context.Context, *AuthResetRequest) (*AuthResetResponse, error) AuthRecover(context.Context, *AuthRecoverRequest) (*AuthRecoverResponse, error) RuntimeStatus(context.Context, *RuntimeStatusRequest) (*RuntimeStatusResponse, error) Rand(context.Context, *RandRequest) (*RandResponse, error) RandPassword(context.Context, *RandPasswordRequest) (*RandPasswordResponse, error) // Auth (edit) AuthProvision(context.Context, *AuthProvisionRequest) (*AuthProvisionResponse, error) AuthDeprovision(context.Context, *AuthDeprovisionRequest) (*AuthDeprovisionResponse, error) AuthProvisions(context.Context, *AuthProvisionsRequest) (*AuthProvisionsResponse, error) AuthPasswordChange(context.Context, *AuthPasswordChangeRequest) (*AuthPasswordChangeResponse, error) // Vault VaultAuth(context.Context, *VaultAuthRequest) (*VaultAuthResponse, error) VaultSync(context.Context, *VaultSyncRequest) (*VaultSyncResponse, error) VaultUnsync(context.Context, *VaultUnsyncRequest) (*VaultUnsyncResponse, error) VaultStatus(context.Context, *VaultStatusRequest) (*VaultStatusResponse, error) VaultUpdate(context.Context, *VaultUpdateRequest) (*VaultUpdateResponse, error) // DB Collections(context.Context, *CollectionsRequest) (*CollectionsResponse, error) Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error) DocumentDelete(context.Context, *DocumentDeleteRequest) (*DocumentDeleteResponse, error) // Config ConfigGet(context.Context, *ConfigGetRequest) (*ConfigGetResponse, error) ConfigSet(context.Context, *ConfigSetRequest) (*ConfigSetResponse, error) // Admin AdminSignURL(context.Context, *AdminSignURLRequest) (*AdminSignURLResponse, error) AdminCheck(context.Context, *AdminCheckRequest) (*AdminCheckResponse, error) // Channels Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error) ChannelCreate(context.Context, *ChannelCreateRequest) (*ChannelCreateResponse, error) ChannelInvite(context.Context, *ChannelInviteRequest) (*ChannelInviteResponse, error) ChannelLeave(context.Context, *ChannelLeaveRequest) (*ChannelLeaveResponse, error) ChannelRead(context.Context, *ChannelReadRequest) (*ChannelReadResponse, error) // Follow Follow(context.Context, *FollowRequest) (*FollowResponse, error) Follows(context.Context, *FollowsRequest) (*FollowsResponse, error) // Messages MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error) MessageCreate(context.Context, *MessageCreateRequest) (*MessageCreateResponse, error) Messages(context.Context, *MessagesRequest) (*MessagesResponse, error) // Relay Relay(*RelayRequest, RPC_RelayServer) error // contains filtered or unexported methods }
RPCServer is the server API for RPC service. All implementations must embed UnimplementedRPCServer for forward compatibility
type RPC_DecryptFileClient ¶
type RPC_DecryptFileClient interface { Send(*DecryptFileInput) error Recv() (*DecryptFileOutput, error) grpc.ClientStream }
type RPC_DecryptFileServer ¶
type RPC_DecryptFileServer interface { Send(*DecryptFileOutput) error Recv() (*DecryptFileInput, error) grpc.ServerStream }
type RPC_DecryptStreamClient ¶
type RPC_DecryptStreamClient interface { Send(*DecryptInput) error Recv() (*DecryptOutput, error) grpc.ClientStream }
type RPC_DecryptStreamServer ¶
type RPC_DecryptStreamServer interface { Send(*DecryptOutput) error Recv() (*DecryptInput, error) grpc.ServerStream }
type RPC_EncryptFileClient ¶
type RPC_EncryptFileClient interface { Send(*EncryptFileInput) error Recv() (*EncryptFileOutput, error) grpc.ClientStream }
type RPC_EncryptFileServer ¶
type RPC_EncryptFileServer interface { Send(*EncryptFileOutput) error Recv() (*EncryptFileInput, error) grpc.ServerStream }
type RPC_EncryptStreamClient ¶
type RPC_EncryptStreamClient interface { Send(*EncryptInput) error Recv() (*EncryptOutput, error) grpc.ClientStream }
type RPC_EncryptStreamServer ¶
type RPC_EncryptStreamServer interface { Send(*EncryptOutput) error Recv() (*EncryptInput, error) grpc.ServerStream }
type RPC_RelayClient ¶
type RPC_RelayClient interface { Recv() (*RelayOutput, error) grpc.ClientStream }
type RPC_RelayServer ¶
type RPC_RelayServer interface { Send(*RelayOutput) error grpc.ServerStream }
type RPC_SignFileClient ¶
type RPC_SignFileClient interface { Send(*SignFileInput) error Recv() (*SignFileOutput, error) grpc.ClientStream }
type RPC_SignFileServer ¶
type RPC_SignFileServer interface { Send(*SignFileOutput) error Recv() (*SignFileInput, error) grpc.ServerStream }
type RPC_SignStreamClient ¶
type RPC_SignStreamClient interface { Send(*SignInput) error Recv() (*SignOutput, error) grpc.ClientStream }
type RPC_SignStreamServer ¶
type RPC_SignStreamServer interface { Send(*SignOutput) error Recv() (*SignInput, error) grpc.ServerStream }
type RPC_VerifyDetachedFileClient ¶
type RPC_VerifyDetachedFileClient interface { Send(*VerifyDetachedFileInput) error CloseAndRecv() (*VerifyDetachedResponse, error) grpc.ClientStream }
type RPC_VerifyDetachedFileServer ¶
type RPC_VerifyDetachedFileServer interface { SendAndClose(*VerifyDetachedResponse) error Recv() (*VerifyDetachedFileInput, error) grpc.ServerStream }
type RPC_VerifyDetachedStreamClient ¶
type RPC_VerifyDetachedStreamClient interface { Send(*VerifyDetachedInput) error CloseAndRecv() (*VerifyDetachedResponse, error) grpc.ClientStream }
type RPC_VerifyDetachedStreamServer ¶
type RPC_VerifyDetachedStreamServer interface { SendAndClose(*VerifyDetachedResponse) error Recv() (*VerifyDetachedInput, error) grpc.ServerStream }
type RPC_VerifyFileClient ¶
type RPC_VerifyFileClient interface { Send(*VerifyFileInput) error Recv() (*VerifyFileOutput, error) grpc.ClientStream }
type RPC_VerifyFileServer ¶
type RPC_VerifyFileServer interface { Send(*VerifyFileOutput) error Recv() (*VerifyFileInput, error) grpc.ServerStream }
type RPC_VerifyStreamClient ¶
type RPC_VerifyStreamClient interface { Send(*VerifyInput) error Recv() (*VerifyOutput, error) grpc.ClientStream }
type RPC_VerifyStreamServer ¶
type RPC_VerifyStreamServer interface { Send(*VerifyOutput) error Recv() (*VerifyInput, error) grpc.ServerStream }
type RPC_WormholeClient ¶
type RPC_WormholeClient interface { Send(*WormholeInput) error Recv() (*WormholeOutput, error) grpc.ClientStream }
type RPC_WormholeServer ¶
type RPC_WormholeServer interface { Send(*WormholeOutput) error Recv() (*WormholeInput, error) grpc.ServerStream }
type RandPasswordRequest ¶
type RandPasswordRequest struct { Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*RandPasswordRequest) Descriptor
deprecated
func (*RandPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use RandPasswordRequest.ProtoReflect.Descriptor instead.
func (*RandPasswordRequest) GetLength ¶
func (x *RandPasswordRequest) GetLength() int32
func (*RandPasswordRequest) ProtoMessage ¶
func (*RandPasswordRequest) ProtoMessage()
func (*RandPasswordRequest) ProtoReflect ¶
func (x *RandPasswordRequest) ProtoReflect() protoreflect.Message
func (*RandPasswordRequest) Reset ¶
func (x *RandPasswordRequest) Reset()
func (*RandPasswordRequest) String ¶
func (x *RandPasswordRequest) String() string
type RandPasswordResponse ¶
type RandPasswordResponse struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*RandPasswordResponse) Descriptor
deprecated
func (*RandPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use RandPasswordResponse.ProtoReflect.Descriptor instead.
func (*RandPasswordResponse) GetPassword ¶
func (x *RandPasswordResponse) GetPassword() string
func (*RandPasswordResponse) ProtoMessage ¶
func (*RandPasswordResponse) ProtoMessage()
func (*RandPasswordResponse) ProtoReflect ¶
func (x *RandPasswordResponse) ProtoReflect() protoreflect.Message
func (*RandPasswordResponse) Reset ¶
func (x *RandPasswordResponse) Reset()
func (*RandPasswordResponse) String ¶
func (x *RandPasswordResponse) String() string
type RandRequest ¶
type RandRequest struct { NumBytes int32 `protobuf:"varint,1,opt,name=numBytes,proto3" json:"numBytes,omitempty"` Encoding Encoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=service.Encoding" json:"encoding,omitempty"` NoPadding bool `protobuf:"varint,10,opt,name=noPadding,proto3" json:"noPadding,omitempty"` Lowercase bool `protobuf:"varint,11,opt,name=lowercase,proto3" json:"lowercase,omitempty"` // contains filtered or unexported fields }
func (*RandRequest) Descriptor
deprecated
func (*RandRequest) Descriptor() ([]byte, []int)
Deprecated: Use RandRequest.ProtoReflect.Descriptor instead.
func (*RandRequest) GetEncoding ¶
func (x *RandRequest) GetEncoding() Encoding
func (*RandRequest) GetLowercase ¶
func (x *RandRequest) GetLowercase() bool
func (*RandRequest) GetNoPadding ¶
func (x *RandRequest) GetNoPadding() bool
func (*RandRequest) GetNumBytes ¶
func (x *RandRequest) GetNumBytes() int32
func (*RandRequest) ProtoMessage ¶
func (*RandRequest) ProtoMessage()
func (*RandRequest) ProtoReflect ¶
func (x *RandRequest) ProtoReflect() protoreflect.Message
func (*RandRequest) Reset ¶
func (x *RandRequest) Reset()
func (*RandRequest) String ¶
func (x *RandRequest) String() string
type RandResponse ¶
type RandResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RandResponse) Descriptor
deprecated
func (*RandResponse) Descriptor() ([]byte, []int)
Deprecated: Use RandResponse.ProtoReflect.Descriptor instead.
func (*RandResponse) GetData ¶
func (x *RandResponse) GetData() string
func (*RandResponse) ProtoMessage ¶
func (*RandResponse) ProtoMessage()
func (*RandResponse) ProtoReflect ¶
func (x *RandResponse) ProtoReflect() protoreflect.Message
func (*RandResponse) Reset ¶
func (x *RandResponse) Reset()
func (*RandResponse) String ¶
func (x *RandResponse) String() string
type RelayOutput ¶
type RelayOutput struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*RelayOutput) Descriptor
deprecated
func (*RelayOutput) Descriptor() ([]byte, []int)
Deprecated: Use RelayOutput.ProtoReflect.Descriptor instead.
func (*RelayOutput) GetChannel ¶
func (x *RelayOutput) GetChannel() string
func (*RelayOutput) GetIndex ¶
func (x *RelayOutput) GetIndex() int64
func (*RelayOutput) GetUser ¶
func (x *RelayOutput) GetUser() string
func (*RelayOutput) ProtoMessage ¶
func (*RelayOutput) ProtoMessage()
func (*RelayOutput) ProtoReflect ¶
func (x *RelayOutput) ProtoReflect() protoreflect.Message
func (*RelayOutput) Reset ¶
func (x *RelayOutput) Reset()
func (*RelayOutput) String ¶
func (x *RelayOutput) String() string
type RelayRequest ¶
type RelayRequest struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*RelayRequest) Descriptor
deprecated
func (*RelayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelayRequest.ProtoReflect.Descriptor instead.
func (*RelayRequest) GetKeys ¶
func (x *RelayRequest) GetKeys() []string
func (*RelayRequest) GetUser ¶
func (x *RelayRequest) GetUser() string
func (*RelayRequest) ProtoMessage ¶
func (*RelayRequest) ProtoMessage()
func (*RelayRequest) ProtoReflect ¶
func (x *RelayRequest) ProtoReflect() protoreflect.Message
func (*RelayRequest) Reset ¶
func (x *RelayRequest) Reset()
func (*RelayRequest) String ¶
func (x *RelayRequest) String() string
type RuntimeStatusRequest ¶
type RuntimeStatusRequest struct {
// contains filtered or unexported fields
}
func (*RuntimeStatusRequest) Descriptor
deprecated
func (*RuntimeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeStatusRequest.ProtoReflect.Descriptor instead.
func (*RuntimeStatusRequest) ProtoMessage ¶
func (*RuntimeStatusRequest) ProtoMessage()
func (*RuntimeStatusRequest) ProtoReflect ¶
func (x *RuntimeStatusRequest) ProtoReflect() protoreflect.Message
func (*RuntimeStatusRequest) Reset ¶
func (x *RuntimeStatusRequest) Reset()
func (*RuntimeStatusRequest) String ¶
func (x *RuntimeStatusRequest) String() string
type RuntimeStatusResponse ¶
type RuntimeStatusResponse struct { // Version of running service. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // AppName app name. AppName string `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"` // Exe is the service executable path. Exe string `protobuf:"bytes,4,opt,name=exe,proto3" json:"exe,omitempty"` // AuthStatus is the status of auth. AuthStatus AuthStatus `protobuf:"varint,5,opt,name=authStatus,proto3,enum=service.AuthStatus" json:"authStatus,omitempty"` // SyncStatus is the status of vault sync. Sync bool `protobuf:"varint,6,opt,name=sync,proto3" json:"sync,omitempty"` // FIDO2 available. FIDO2 bool `protobuf:"varint,20,opt,name=fido2,proto3" json:"fido2,omitempty"` // contains filtered or unexported fields }
func (*RuntimeStatusResponse) Descriptor
deprecated
func (*RuntimeStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeStatusResponse.ProtoReflect.Descriptor instead.
func (*RuntimeStatusResponse) GetAppName ¶
func (x *RuntimeStatusResponse) GetAppName() string
func (*RuntimeStatusResponse) GetAuthStatus ¶
func (x *RuntimeStatusResponse) GetAuthStatus() AuthStatus
func (*RuntimeStatusResponse) GetExe ¶
func (x *RuntimeStatusResponse) GetExe() string
func (*RuntimeStatusResponse) GetFIDO2 ¶
func (x *RuntimeStatusResponse) GetFIDO2() bool
func (*RuntimeStatusResponse) GetSync ¶
func (x *RuntimeStatusResponse) GetSync() bool
func (*RuntimeStatusResponse) GetVersion ¶
func (x *RuntimeStatusResponse) GetVersion() string
func (*RuntimeStatusResponse) ProtoMessage ¶
func (*RuntimeStatusResponse) ProtoMessage()
func (*RuntimeStatusResponse) ProtoReflect ¶
func (x *RuntimeStatusResponse) ProtoReflect() protoreflect.Message
func (*RuntimeStatusResponse) Reset ¶
func (x *RuntimeStatusResponse) Reset()
func (*RuntimeStatusResponse) String ¶
func (x *RuntimeStatusResponse) String() string
type SearchRequest ¶
type SearchRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetQuery ¶
func (x *SearchRequest) GetQuery() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct { Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetKeys ¶
func (x *SearchResponse) GetKeys() []*Key
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type Secret ¶
type Secret struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type SecretType `protobuf:"varint,3,opt,name=type,proto3,enum=service.SecretType" json:"type,omitempty"` Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"` URL string `protobuf:"bytes,20,opt,name=url,proto3" json:"url,omitempty"` Notes string `protobuf:"bytes,30,opt,name=notes,proto3" json:"notes,omitempty"` CreatedAt int64 `protobuf:"varint,100,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,101,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*Secret) Descriptor
deprecated
func (*Secret) GetCreatedAt ¶
func (*Secret) GetPassword ¶
func (*Secret) GetType ¶
func (x *Secret) GetType() SecretType
func (*Secret) GetUpdatedAt ¶
func (*Secret) GetUsername ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type SecretRemoveRequest ¶
type SecretRemoveRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SecretRemoveRequest) Descriptor
deprecated
func (*SecretRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretRemoveRequest.ProtoReflect.Descriptor instead.
func (*SecretRemoveRequest) GetID ¶
func (x *SecretRemoveRequest) GetID() string
func (*SecretRemoveRequest) ProtoMessage ¶
func (*SecretRemoveRequest) ProtoMessage()
func (*SecretRemoveRequest) ProtoReflect ¶
func (x *SecretRemoveRequest) ProtoReflect() protoreflect.Message
func (*SecretRemoveRequest) Reset ¶
func (x *SecretRemoveRequest) Reset()
func (*SecretRemoveRequest) String ¶
func (x *SecretRemoveRequest) String() string
type SecretRemoveResponse ¶
type SecretRemoveResponse struct {
// contains filtered or unexported fields
}
func (*SecretRemoveResponse) Descriptor
deprecated
func (*SecretRemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretRemoveResponse.ProtoReflect.Descriptor instead.
func (*SecretRemoveResponse) ProtoMessage ¶
func (*SecretRemoveResponse) ProtoMessage()
func (*SecretRemoveResponse) ProtoReflect ¶
func (x *SecretRemoveResponse) ProtoReflect() protoreflect.Message
func (*SecretRemoveResponse) Reset ¶
func (x *SecretRemoveResponse) Reset()
func (*SecretRemoveResponse) String ¶
func (x *SecretRemoveResponse) String() string
type SecretRequest ¶
type SecretRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SecretRequest) Descriptor
deprecated
func (*SecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretRequest.ProtoReflect.Descriptor instead.
func (*SecretRequest) GetID ¶
func (x *SecretRequest) GetID() string
func (*SecretRequest) ProtoMessage ¶
func (*SecretRequest) ProtoMessage()
func (*SecretRequest) ProtoReflect ¶
func (x *SecretRequest) ProtoReflect() protoreflect.Message
func (*SecretRequest) Reset ¶
func (x *SecretRequest) Reset()
func (*SecretRequest) String ¶
func (x *SecretRequest) String() string
type SecretResponse ¶
type SecretResponse struct { Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*SecretResponse) Descriptor
deprecated
func (*SecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretResponse.ProtoReflect.Descriptor instead.
func (*SecretResponse) GetSecret ¶
func (x *SecretResponse) GetSecret() *Secret
func (*SecretResponse) ProtoMessage ¶
func (*SecretResponse) ProtoMessage()
func (*SecretResponse) ProtoReflect ¶
func (x *SecretResponse) ProtoReflect() protoreflect.Message
func (*SecretResponse) Reset ¶
func (x *SecretResponse) Reset()
func (*SecretResponse) String ¶
func (x *SecretResponse) String() string
type SecretSaveRequest ¶
type SecretSaveRequest struct { Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*SecretSaveRequest) Descriptor
deprecated
func (*SecretSaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretSaveRequest.ProtoReflect.Descriptor instead.
func (*SecretSaveRequest) GetSecret ¶
func (x *SecretSaveRequest) GetSecret() *Secret
func (*SecretSaveRequest) ProtoMessage ¶
func (*SecretSaveRequest) ProtoMessage()
func (*SecretSaveRequest) ProtoReflect ¶
func (x *SecretSaveRequest) ProtoReflect() protoreflect.Message
func (*SecretSaveRequest) Reset ¶
func (x *SecretSaveRequest) Reset()
func (*SecretSaveRequest) String ¶
func (x *SecretSaveRequest) String() string
type SecretSaveResponse ¶
type SecretSaveResponse struct { Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*SecretSaveResponse) Descriptor
deprecated
func (*SecretSaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretSaveResponse.ProtoReflect.Descriptor instead.
func (*SecretSaveResponse) GetSecret ¶
func (x *SecretSaveResponse) GetSecret() *Secret
func (*SecretSaveResponse) ProtoMessage ¶
func (*SecretSaveResponse) ProtoMessage()
func (*SecretSaveResponse) ProtoReflect ¶
func (x *SecretSaveResponse) ProtoReflect() protoreflect.Message
func (*SecretSaveResponse) Reset ¶
func (x *SecretSaveResponse) Reset()
func (*SecretSaveResponse) String ¶
func (x *SecretSaveResponse) String() string
type SecretType ¶
type SecretType int32
const ( UnknownSecret SecretType = 0 PasswordSecret SecretType = 10 ContactSecret SecretType = 11 CardSecret SecretType = 12 NoteSecret SecretType = 13 )
func (SecretType) Descriptor ¶
func (SecretType) Descriptor() protoreflect.EnumDescriptor
func (SecretType) Enum ¶
func (x SecretType) Enum() *SecretType
func (SecretType) EnumDescriptor
deprecated
func (SecretType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecretType.Descriptor instead.
func (SecretType) Number ¶
func (x SecretType) Number() protoreflect.EnumNumber
func (SecretType) String ¶
func (x SecretType) String() string
func (SecretType) Type ¶
func (SecretType) Type() protoreflect.EnumType
type SecretsRequest ¶
type SecretsRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` SortField string `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"` SortDirection SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"` // contains filtered or unexported fields }
func (*SecretsRequest) Descriptor
deprecated
func (*SecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRequest.ProtoReflect.Descriptor instead.
func (*SecretsRequest) GetQuery ¶
func (x *SecretsRequest) GetQuery() string
func (*SecretsRequest) GetSortDirection ¶
func (x *SecretsRequest) GetSortDirection() SortDirection
func (*SecretsRequest) GetSortField ¶
func (x *SecretsRequest) GetSortField() string
func (*SecretsRequest) ProtoMessage ¶
func (*SecretsRequest) ProtoMessage()
func (*SecretsRequest) ProtoReflect ¶
func (x *SecretsRequest) ProtoReflect() protoreflect.Message
func (*SecretsRequest) Reset ¶
func (x *SecretsRequest) Reset()
func (*SecretsRequest) String ¶
func (x *SecretsRequest) String() string
type SecretsResponse ¶
type SecretsResponse struct { Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` SortField string `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"` SortDirection SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"` // contains filtered or unexported fields }
func (*SecretsResponse) Descriptor
deprecated
func (*SecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretsResponse.ProtoReflect.Descriptor instead.
func (*SecretsResponse) GetSecrets ¶
func (x *SecretsResponse) GetSecrets() []*Secret
func (*SecretsResponse) GetSortDirection ¶
func (x *SecretsResponse) GetSortDirection() SortDirection
func (*SecretsResponse) GetSortField ¶
func (x *SecretsResponse) GetSortField() string
func (*SecretsResponse) ProtoMessage ¶
func (*SecretsResponse) ProtoMessage()
func (*SecretsResponse) ProtoReflect ¶
func (x *SecretsResponse) ProtoReflect() protoreflect.Message
func (*SecretsResponse) Reset ¶
func (x *SecretsResponse) Reset()
func (*SecretsResponse) String ¶
func (x *SecretsResponse) String() string
type SigchainRequest ¶
type SigchainRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*SigchainRequest) Descriptor
deprecated
func (*SigchainRequest) Descriptor() ([]byte, []int)
Deprecated: Use SigchainRequest.ProtoReflect.Descriptor instead.
func (*SigchainRequest) GetKID ¶
func (x *SigchainRequest) GetKID() string
func (*SigchainRequest) ProtoMessage ¶
func (*SigchainRequest) ProtoMessage()
func (*SigchainRequest) ProtoReflect ¶
func (x *SigchainRequest) ProtoReflect() protoreflect.Message
func (*SigchainRequest) Reset ¶
func (x *SigchainRequest) Reset()
func (*SigchainRequest) String ¶
func (x *SigchainRequest) String() string
type SigchainResponse ¶
type SigchainResponse struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Statements []*Statement `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"` // contains filtered or unexported fields }
func (*SigchainResponse) Descriptor
deprecated
func (*SigchainResponse) Descriptor() ([]byte, []int)
Deprecated: Use SigchainResponse.ProtoReflect.Descriptor instead.
func (*SigchainResponse) GetKey ¶
func (x *SigchainResponse) GetKey() *Key
func (*SigchainResponse) GetStatements ¶
func (x *SigchainResponse) GetStatements() []*Statement
func (*SigchainResponse) ProtoMessage ¶
func (*SigchainResponse) ProtoMessage()
func (*SigchainResponse) ProtoReflect ¶
func (x *SigchainResponse) ProtoReflect() protoreflect.Message
func (*SigchainResponse) Reset ¶
func (x *SigchainResponse) Reset()
func (*SigchainResponse) String ¶
func (x *SigchainResponse) String() string
type SignFileInput ¶
type SignFileInput struct { // In is input file path. In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` // Out file path (or sig if detached). Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"` // Armored, if true, output will be armored. Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"` // Detached, if true, output will be just the signature. Detached bool `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"` // contains filtered or unexported fields }
func (*SignFileInput) Descriptor
deprecated
func (*SignFileInput) Descriptor() ([]byte, []int)
Deprecated: Use SignFileInput.ProtoReflect.Descriptor instead.
func (*SignFileInput) GetArmored ¶
func (x *SignFileInput) GetArmored() bool
func (*SignFileInput) GetDetached ¶
func (x *SignFileInput) GetDetached() bool
func (*SignFileInput) GetIn ¶
func (x *SignFileInput) GetIn() string
func (*SignFileInput) GetOut ¶
func (x *SignFileInput) GetOut() string
func (*SignFileInput) GetSigner ¶
func (x *SignFileInput) GetSigner() string
func (*SignFileInput) ProtoMessage ¶
func (*SignFileInput) ProtoMessage()
func (*SignFileInput) ProtoReflect ¶
func (x *SignFileInput) ProtoReflect() protoreflect.Message
func (*SignFileInput) Reset ¶
func (x *SignFileInput) Reset()
func (*SignFileInput) String ¶
func (x *SignFileInput) String() string
type SignFileOutput ¶
type SignFileOutput struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` Bytes int32 `protobuf:"varint,10,opt,name=bytes,proto3" json:"bytes,omitempty"` Total int32 `protobuf:"varint,11,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*SignFileOutput) Descriptor
deprecated
func (*SignFileOutput) Descriptor() ([]byte, []int)
Deprecated: Use SignFileOutput.ProtoReflect.Descriptor instead.
func (*SignFileOutput) GetBytes ¶
func (x *SignFileOutput) GetBytes() int32
func (*SignFileOutput) GetKID ¶
func (x *SignFileOutput) GetKID() string
func (*SignFileOutput) GetOut ¶
func (x *SignFileOutput) GetOut() string
func (*SignFileOutput) GetTotal ¶
func (x *SignFileOutput) GetTotal() int32
func (*SignFileOutput) ProtoMessage ¶
func (*SignFileOutput) ProtoMessage()
func (*SignFileOutput) ProtoReflect ¶
func (x *SignFileOutput) ProtoReflect() protoreflect.Message
func (*SignFileOutput) Reset ¶
func (x *SignFileOutput) Reset()
func (*SignFileOutput) String ¶
func (x *SignFileOutput) String() string
type SignInput ¶
type SignInput struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // In is input file path (if data is not specified). In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` // Out is output file path (required if in specified). Out string `protobuf:"bytes,3,opt,name=out,proto3" json:"out,omitempty"` Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"` // Armored, if true, output will be armored. Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"` // Detached, if true, output will be just the signature. Detached bool `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"` // contains filtered or unexported fields }
func (*SignInput) Descriptor
deprecated
func (*SignInput) GetArmored ¶
func (*SignInput) GetDetached ¶
func (*SignInput) ProtoMessage ¶
func (*SignInput) ProtoMessage()
func (*SignInput) ProtoReflect ¶
func (x *SignInput) ProtoReflect() protoreflect.Message
type SignOutput ¶
type SignOutput struct { // Data, signed. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` KID string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*SignOutput) Descriptor
deprecated
func (*SignOutput) Descriptor() ([]byte, []int)
Deprecated: Use SignOutput.ProtoReflect.Descriptor instead.
func (*SignOutput) GetData ¶
func (x *SignOutput) GetData() []byte
func (*SignOutput) GetKID ¶
func (x *SignOutput) GetKID() string
func (*SignOutput) ProtoMessage ¶
func (*SignOutput) ProtoMessage()
func (*SignOutput) ProtoReflect ¶
func (x *SignOutput) ProtoReflect() protoreflect.Message
func (*SignOutput) Reset ¶
func (x *SignOutput) Reset()
func (*SignOutput) String ¶
func (x *SignOutput) String() string
type SignRequest ¶
type SignRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"` // Armored, if true, output will be armored. Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"` // Detached, if true, output will be just the signature. Detached bool `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"` // contains filtered or unexported fields }
func (*SignRequest) Descriptor
deprecated
func (*SignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) GetArmored ¶
func (x *SignRequest) GetArmored() bool
func (*SignRequest) GetData ¶
func (x *SignRequest) GetData() []byte
func (*SignRequest) GetDetached ¶
func (x *SignRequest) GetDetached() bool
func (*SignRequest) GetSigner ¶
func (x *SignRequest) GetSigner() string
func (*SignRequest) ProtoMessage ¶
func (*SignRequest) ProtoMessage()
func (*SignRequest) ProtoReflect ¶
func (x *SignRequest) ProtoReflect() protoreflect.Message
func (*SignRequest) Reset ¶
func (x *SignRequest) Reset()
func (*SignRequest) String ¶
func (x *SignRequest) String() string
type SignResponse ¶
type SignResponse struct { // Data is signed output. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` KID string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // contains filtered or unexported fields }
func (*SignResponse) Descriptor
deprecated
func (*SignResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) GetData ¶
func (x *SignResponse) GetData() []byte
func (*SignResponse) GetKID ¶
func (x *SignResponse) GetKID() string
func (*SignResponse) ProtoMessage ¶
func (*SignResponse) ProtoMessage()
func (*SignResponse) ProtoReflect ¶
func (x *SignResponse) ProtoReflect() protoreflect.Message
func (*SignResponse) Reset ¶
func (x *SignResponse) Reset()
func (*SignResponse) String ¶
func (x *SignResponse) String() string
type SortDirection ¶
type SortDirection int32
const ( SortAsc SortDirection = 0 SortDesc SortDirection = 1 )
func (SortDirection) Descriptor ¶
func (SortDirection) Descriptor() protoreflect.EnumDescriptor
func (SortDirection) Enum ¶
func (x SortDirection) Enum() *SortDirection
func (SortDirection) EnumDescriptor
deprecated
func (SortDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use SortDirection.Descriptor instead.
func (SortDirection) Number ¶
func (x SortDirection) Number() protoreflect.EnumNumber
func (SortDirection) String ¶
func (x SortDirection) String() string
func (SortDirection) Type ¶
func (SortDirection) Type() protoreflect.EnumType
type Statement ¶
type Statement struct { // Sig is the signature bytes. Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"` // Data that was signed. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // KID is the key that signed. KID string `protobuf:"bytes,3,opt,name=kid,proto3" json:"kid,omitempty"` // Seq in a sigchain (1 is root). Seq int32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` // Prev is a hash of the previous item in the sigchain. Prev []byte `protobuf:"bytes,5,opt,name=prev,proto3" json:"prev,omitempty"` // Revoke refers to a previous signed seq to revoke. Revoke int32 `protobuf:"varint,6,opt,name=revoke,proto3" json:"revoke,omitempty"` // Timestamp ... Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Type (optional). Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Statement) Descriptor
deprecated
func (*Statement) GetTimestamp ¶
func (*Statement) ProtoMessage ¶
func (*Statement) ProtoMessage()
func (*Statement) ProtoReflect ¶
func (x *Statement) ProtoReflect() protoreflect.Message
type StatementCreateRequest ¶
type StatementCreateRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` KID string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // Local, if true, won't save to the current key server. Local bool `protobuf:"varint,5,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*StatementCreateRequest) Descriptor
deprecated
func (*StatementCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatementCreateRequest.ProtoReflect.Descriptor instead.
func (*StatementCreateRequest) GetData ¶
func (x *StatementCreateRequest) GetData() []byte
func (*StatementCreateRequest) GetKID ¶
func (x *StatementCreateRequest) GetKID() string
func (*StatementCreateRequest) GetLocal ¶
func (x *StatementCreateRequest) GetLocal() bool
func (*StatementCreateRequest) ProtoMessage ¶
func (*StatementCreateRequest) ProtoMessage()
func (*StatementCreateRequest) ProtoReflect ¶
func (x *StatementCreateRequest) ProtoReflect() protoreflect.Message
func (*StatementCreateRequest) Reset ¶
func (x *StatementCreateRequest) Reset()
func (*StatementCreateRequest) String ¶
func (x *StatementCreateRequest) String() string
type StatementCreateResponse ¶
type StatementCreateResponse struct { Statement *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` // contains filtered or unexported fields }
func (*StatementCreateResponse) Descriptor
deprecated
func (*StatementCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatementCreateResponse.ProtoReflect.Descriptor instead.
func (*StatementCreateResponse) GetStatement ¶
func (x *StatementCreateResponse) GetStatement() *Statement
func (*StatementCreateResponse) ProtoMessage ¶
func (*StatementCreateResponse) ProtoMessage()
func (*StatementCreateResponse) ProtoReflect ¶
func (x *StatementCreateResponse) ProtoReflect() protoreflect.Message
func (*StatementCreateResponse) Reset ¶
func (x *StatementCreateResponse) Reset()
func (*StatementCreateResponse) String ¶
func (x *StatementCreateResponse) String() string
type StatementRequest ¶
type StatementRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` Seq int32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` // contains filtered or unexported fields }
func (*StatementRequest) Descriptor
deprecated
func (*StatementRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatementRequest.ProtoReflect.Descriptor instead.
func (*StatementRequest) GetKID ¶
func (x *StatementRequest) GetKID() string
func (*StatementRequest) GetSeq ¶
func (x *StatementRequest) GetSeq() int32
func (*StatementRequest) ProtoMessage ¶
func (*StatementRequest) ProtoMessage()
func (*StatementRequest) ProtoReflect ¶
func (x *StatementRequest) ProtoReflect() protoreflect.Message
func (*StatementRequest) Reset ¶
func (x *StatementRequest) Reset()
func (*StatementRequest) String ¶
func (x *StatementRequest) String() string
type StatementResponse ¶
type StatementResponse struct { Statement *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` // contains filtered or unexported fields }
func (*StatementResponse) Descriptor
deprecated
func (*StatementResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatementResponse.ProtoReflect.Descriptor instead.
func (*StatementResponse) GetStatement ¶
func (x *StatementResponse) GetStatement() *Statement
func (*StatementResponse) ProtoMessage ¶
func (*StatementResponse) ProtoMessage()
func (*StatementResponse) ProtoReflect ¶
func (x *StatementResponse) ProtoReflect() protoreflect.Message
func (*StatementResponse) Reset ¶
func (x *StatementResponse) Reset()
func (*StatementResponse) String ¶
func (x *StatementResponse) String() string
type StatementRevokeRequest ¶
type StatementRevokeRequest struct { // Seq to revoke. Seq int32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` KID string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"` // Local, if true, won't save to the current key server. Local bool `protobuf:"varint,5,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*StatementRevokeRequest) Descriptor
deprecated
func (*StatementRevokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatementRevokeRequest.ProtoReflect.Descriptor instead.
func (*StatementRevokeRequest) GetKID ¶
func (x *StatementRevokeRequest) GetKID() string
func (*StatementRevokeRequest) GetLocal ¶
func (x *StatementRevokeRequest) GetLocal() bool
func (*StatementRevokeRequest) GetSeq ¶
func (x *StatementRevokeRequest) GetSeq() int32
func (*StatementRevokeRequest) ProtoMessage ¶
func (*StatementRevokeRequest) ProtoMessage()
func (*StatementRevokeRequest) ProtoReflect ¶
func (x *StatementRevokeRequest) ProtoReflect() protoreflect.Message
func (*StatementRevokeRequest) Reset ¶
func (x *StatementRevokeRequest) Reset()
func (*StatementRevokeRequest) String ¶
func (x *StatementRevokeRequest) String() string
type StatementRevokeResponse ¶
type StatementRevokeResponse struct { Statement *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` // contains filtered or unexported fields }
func (*StatementRevokeResponse) Descriptor
deprecated
func (*StatementRevokeResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatementRevokeResponse.ProtoReflect.Descriptor instead.
func (*StatementRevokeResponse) GetStatement ¶
func (x *StatementRevokeResponse) GetStatement() *Statement
func (*StatementRevokeResponse) ProtoMessage ¶
func (*StatementRevokeResponse) ProtoMessage()
func (*StatementRevokeResponse) ProtoReflect ¶
func (x *StatementRevokeResponse) ProtoReflect() protoreflect.Message
func (*StatementRevokeResponse) Reset ¶
func (x *StatementRevokeResponse) Reset()
func (*StatementRevokeResponse) String ¶
func (x *StatementRevokeResponse) String() string
type UnimplementedRPCServer ¶
type UnimplementedRPCServer struct { }
UnimplementedRPCServer must be embedded to have forward compatible implementations.
func (*UnimplementedRPCServer) AdminCheck ¶
func (*UnimplementedRPCServer) AdminCheck(context.Context, *AdminCheckRequest) (*AdminCheckResponse, error)
func (*UnimplementedRPCServer) AdminSignURL ¶
func (*UnimplementedRPCServer) AdminSignURL(context.Context, *AdminSignURLRequest) (*AdminSignURLResponse, error)
func (*UnimplementedRPCServer) AuthDeprovision ¶
func (*UnimplementedRPCServer) AuthDeprovision(context.Context, *AuthDeprovisionRequest) (*AuthDeprovisionResponse, error)
func (*UnimplementedRPCServer) AuthLock ¶
func (*UnimplementedRPCServer) AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error)
func (*UnimplementedRPCServer) AuthPasswordChange ¶
func (*UnimplementedRPCServer) AuthPasswordChange(context.Context, *AuthPasswordChangeRequest) (*AuthPasswordChangeResponse, error)
func (*UnimplementedRPCServer) AuthProvision ¶
func (*UnimplementedRPCServer) AuthProvision(context.Context, *AuthProvisionRequest) (*AuthProvisionResponse, error)
func (*UnimplementedRPCServer) AuthProvisions ¶
func (*UnimplementedRPCServer) AuthProvisions(context.Context, *AuthProvisionsRequest) (*AuthProvisionsResponse, error)
func (*UnimplementedRPCServer) AuthRecover ¶
func (*UnimplementedRPCServer) AuthRecover(context.Context, *AuthRecoverRequest) (*AuthRecoverResponse, error)
func (*UnimplementedRPCServer) AuthReset ¶
func (*UnimplementedRPCServer) AuthReset(context.Context, *AuthResetRequest) (*AuthResetResponse, error)
func (*UnimplementedRPCServer) AuthSetup ¶
func (*UnimplementedRPCServer) AuthSetup(context.Context, *AuthSetupRequest) (*AuthSetupResponse, error)
func (*UnimplementedRPCServer) AuthUnlock ¶
func (*UnimplementedRPCServer) AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error)
func (*UnimplementedRPCServer) AuthVault ¶
func (*UnimplementedRPCServer) AuthVault(context.Context, *AuthVaultRequest) (*AuthVaultResponse, error)
func (*UnimplementedRPCServer) ChannelCreate ¶
func (*UnimplementedRPCServer) ChannelCreate(context.Context, *ChannelCreateRequest) (*ChannelCreateResponse, error)
func (*UnimplementedRPCServer) ChannelInvite ¶
func (*UnimplementedRPCServer) ChannelInvite(context.Context, *ChannelInviteRequest) (*ChannelInviteResponse, error)
func (*UnimplementedRPCServer) ChannelLeave ¶
func (*UnimplementedRPCServer) ChannelLeave(context.Context, *ChannelLeaveRequest) (*ChannelLeaveResponse, error)
func (*UnimplementedRPCServer) ChannelRead ¶
func (*UnimplementedRPCServer) ChannelRead(context.Context, *ChannelReadRequest) (*ChannelReadResponse, error)
func (*UnimplementedRPCServer) Channels ¶
func (*UnimplementedRPCServer) Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error)
func (*UnimplementedRPCServer) Collections ¶
func (*UnimplementedRPCServer) Collections(context.Context, *CollectionsRequest) (*CollectionsResponse, error)
func (*UnimplementedRPCServer) ConfigGet ¶
func (*UnimplementedRPCServer) ConfigGet(context.Context, *ConfigGetRequest) (*ConfigGetResponse, error)
func (*UnimplementedRPCServer) ConfigSet ¶
func (*UnimplementedRPCServer) ConfigSet(context.Context, *ConfigSetRequest) (*ConfigSetResponse, error)
func (*UnimplementedRPCServer) Decrypt ¶
func (*UnimplementedRPCServer) Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error)
func (*UnimplementedRPCServer) DecryptFile ¶
func (*UnimplementedRPCServer) DecryptFile(RPC_DecryptFileServer) error
func (*UnimplementedRPCServer) DecryptStream ¶
func (*UnimplementedRPCServer) DecryptStream(RPC_DecryptStreamServer) error
func (*UnimplementedRPCServer) DocumentDelete ¶
func (*UnimplementedRPCServer) DocumentDelete(context.Context, *DocumentDeleteRequest) (*DocumentDeleteResponse, error)
func (*UnimplementedRPCServer) Documents ¶
func (*UnimplementedRPCServer) Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error)
func (*UnimplementedRPCServer) Encrypt ¶
func (*UnimplementedRPCServer) Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error)
func (*UnimplementedRPCServer) EncryptFile ¶
func (*UnimplementedRPCServer) EncryptFile(RPC_EncryptFileServer) error
func (*UnimplementedRPCServer) EncryptStream ¶
func (*UnimplementedRPCServer) EncryptStream(RPC_EncryptStreamServer) error
func (*UnimplementedRPCServer) Follow ¶
func (*UnimplementedRPCServer) Follow(context.Context, *FollowRequest) (*FollowResponse, error)
func (*UnimplementedRPCServer) Follows ¶
func (*UnimplementedRPCServer) Follows(context.Context, *FollowsRequest) (*FollowsResponse, error)
func (*UnimplementedRPCServer) Key ¶
func (*UnimplementedRPCServer) Key(context.Context, *KeyRequest) (*KeyResponse, error)
func (*UnimplementedRPCServer) KeyExport ¶
func (*UnimplementedRPCServer) KeyExport(context.Context, *KeyExportRequest) (*KeyExportResponse, error)
func (*UnimplementedRPCServer) KeyGenerate ¶
func (*UnimplementedRPCServer) KeyGenerate(context.Context, *KeyGenerateRequest) (*KeyGenerateResponse, error)
func (*UnimplementedRPCServer) KeyImport ¶
func (*UnimplementedRPCServer) KeyImport(context.Context, *KeyImportRequest) (*KeyImportResponse, error)
func (*UnimplementedRPCServer) KeyRemove ¶
func (*UnimplementedRPCServer) KeyRemove(context.Context, *KeyRemoveRequest) (*KeyRemoveResponse, error)
func (*UnimplementedRPCServer) Keys ¶
func (*UnimplementedRPCServer) Keys(context.Context, *KeysRequest) (*KeysResponse, error)
func (*UnimplementedRPCServer) MessageCreate ¶
func (*UnimplementedRPCServer) MessageCreate(context.Context, *MessageCreateRequest) (*MessageCreateResponse, error)
func (*UnimplementedRPCServer) MessagePrepare ¶
func (*UnimplementedRPCServer) MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error)
func (*UnimplementedRPCServer) Messages ¶
func (*UnimplementedRPCServer) Messages(context.Context, *MessagesRequest) (*MessagesResponse, error)
func (*UnimplementedRPCServer) Pull ¶
func (*UnimplementedRPCServer) Pull(context.Context, *PullRequest) (*PullResponse, error)
func (*UnimplementedRPCServer) Push ¶
func (*UnimplementedRPCServer) Push(context.Context, *PushRequest) (*PushResponse, error)
func (*UnimplementedRPCServer) Rand ¶
func (*UnimplementedRPCServer) Rand(context.Context, *RandRequest) (*RandResponse, error)
func (*UnimplementedRPCServer) RandPassword ¶
func (*UnimplementedRPCServer) RandPassword(context.Context, *RandPasswordRequest) (*RandPasswordResponse, error)
func (*UnimplementedRPCServer) Relay ¶
func (*UnimplementedRPCServer) Relay(*RelayRequest, RPC_RelayServer) error
func (*UnimplementedRPCServer) RuntimeStatus ¶
func (*UnimplementedRPCServer) RuntimeStatus(context.Context, *RuntimeStatusRequest) (*RuntimeStatusResponse, error)
func (*UnimplementedRPCServer) Search ¶
func (*UnimplementedRPCServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
func (*UnimplementedRPCServer) Secret ¶
func (*UnimplementedRPCServer) Secret(context.Context, *SecretRequest) (*SecretResponse, error)
func (*UnimplementedRPCServer) SecretRemove ¶
func (*UnimplementedRPCServer) SecretRemove(context.Context, *SecretRemoveRequest) (*SecretRemoveResponse, error)
func (*UnimplementedRPCServer) SecretSave ¶
func (*UnimplementedRPCServer) SecretSave(context.Context, *SecretSaveRequest) (*SecretSaveResponse, error)
func (*UnimplementedRPCServer) Secrets ¶
func (*UnimplementedRPCServer) Secrets(context.Context, *SecretsRequest) (*SecretsResponse, error)
func (*UnimplementedRPCServer) Sigchain ¶
func (*UnimplementedRPCServer) Sigchain(context.Context, *SigchainRequest) (*SigchainResponse, error)
func (*UnimplementedRPCServer) Sign ¶
func (*UnimplementedRPCServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
func (*UnimplementedRPCServer) SignFile ¶
func (*UnimplementedRPCServer) SignFile(RPC_SignFileServer) error
func (*UnimplementedRPCServer) SignStream ¶
func (*UnimplementedRPCServer) SignStream(RPC_SignStreamServer) error
func (*UnimplementedRPCServer) Statement ¶
func (*UnimplementedRPCServer) Statement(context.Context, *StatementRequest) (*StatementResponse, error)
func (*UnimplementedRPCServer) StatementCreate ¶
func (*UnimplementedRPCServer) StatementCreate(context.Context, *StatementCreateRequest) (*StatementCreateResponse, error)
func (*UnimplementedRPCServer) StatementRevoke ¶
func (*UnimplementedRPCServer) StatementRevoke(context.Context, *StatementRevokeRequest) (*StatementRevokeResponse, error)
func (*UnimplementedRPCServer) User ¶
func (*UnimplementedRPCServer) User(context.Context, *UserRequest) (*UserResponse, error)
func (*UnimplementedRPCServer) UserAdd ¶
func (*UnimplementedRPCServer) UserAdd(context.Context, *UserAddRequest) (*UserAddResponse, error)
func (*UnimplementedRPCServer) UserSearch ¶
func (*UnimplementedRPCServer) UserSearch(context.Context, *UserSearchRequest) (*UserSearchResponse, error)
func (*UnimplementedRPCServer) UserService ¶
func (*UnimplementedRPCServer) UserService(context.Context, *UserServiceRequest) (*UserServiceResponse, error)
func (*UnimplementedRPCServer) UserSign ¶
func (*UnimplementedRPCServer) UserSign(context.Context, *UserSignRequest) (*UserSignResponse, error)
func (*UnimplementedRPCServer) VaultAuth ¶
func (*UnimplementedRPCServer) VaultAuth(context.Context, *VaultAuthRequest) (*VaultAuthResponse, error)
func (*UnimplementedRPCServer) VaultStatus ¶
func (*UnimplementedRPCServer) VaultStatus(context.Context, *VaultStatusRequest) (*VaultStatusResponse, error)
func (*UnimplementedRPCServer) VaultSync ¶
func (*UnimplementedRPCServer) VaultSync(context.Context, *VaultSyncRequest) (*VaultSyncResponse, error)
func (*UnimplementedRPCServer) VaultUnsync ¶
func (*UnimplementedRPCServer) VaultUnsync(context.Context, *VaultUnsyncRequest) (*VaultUnsyncResponse, error)
func (*UnimplementedRPCServer) VaultUpdate ¶
func (*UnimplementedRPCServer) VaultUpdate(context.Context, *VaultUpdateRequest) (*VaultUpdateResponse, error)
func (*UnimplementedRPCServer) Verify ¶
func (*UnimplementedRPCServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
func (*UnimplementedRPCServer) VerifyDetached ¶
func (*UnimplementedRPCServer) VerifyDetached(context.Context, *VerifyDetachedRequest) (*VerifyDetachedResponse, error)
func (*UnimplementedRPCServer) VerifyDetachedFile ¶
func (*UnimplementedRPCServer) VerifyDetachedFile(RPC_VerifyDetachedFileServer) error
func (*UnimplementedRPCServer) VerifyDetachedStream ¶
func (*UnimplementedRPCServer) VerifyDetachedStream(RPC_VerifyDetachedStreamServer) error
func (*UnimplementedRPCServer) VerifyFile ¶
func (*UnimplementedRPCServer) VerifyFile(RPC_VerifyFileServer) error
func (*UnimplementedRPCServer) VerifyStream ¶
func (*UnimplementedRPCServer) VerifyStream(RPC_VerifyStreamServer) error
func (*UnimplementedRPCServer) Wormhole ¶
func (*UnimplementedRPCServer) Wormhole(RPC_WormholeServer) error
type User ¶
type User struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` KID string `protobuf:"bytes,3,opt,name=kid,proto3" json:"kid,omitempty"` Seq int32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` URL string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` Status UserStatus `protobuf:"varint,10,opt,name=status,proto3,enum=service.UserStatus" json:"status,omitempty"` VerifiedAt int64 `protobuf:"varint,11,opt,name=verifiedAt,proto3" json:"verifiedAt,omitempty"` Timestamp int64 `protobuf:"varint,12,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Proxied bool `protobuf:"varint,13,opt,name=proxied,proto3" json:"proxied,omitempty"` Err string `protobuf:"bytes,20,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetProxied ¶
func (*User) GetService ¶
func (*User) GetStatus ¶
func (x *User) GetStatus() UserStatus
func (*User) GetTimestamp ¶
func (*User) GetVerifiedAt ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SigchainURL ¶
SigchainURL is the sigchain URL for the user, or empty string if not set.
type UserAddRequest ¶
type UserAddRequest struct { // KID to use, or if empty the current key. KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // Service such as twitter, github. Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Name is username on the service. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // URL is location of signed message on the service. URL string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // Local, if true, won't save to the current key server. Local bool `protobuf:"varint,5,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*UserAddRequest) Descriptor
deprecated
func (*UserAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserAddRequest.ProtoReflect.Descriptor instead.
func (*UserAddRequest) GetKID ¶
func (x *UserAddRequest) GetKID() string
func (*UserAddRequest) GetLocal ¶
func (x *UserAddRequest) GetLocal() bool
func (*UserAddRequest) GetName ¶
func (x *UserAddRequest) GetName() string
func (*UserAddRequest) GetService ¶
func (x *UserAddRequest) GetService() string
func (*UserAddRequest) GetURL ¶
func (x *UserAddRequest) GetURL() string
func (*UserAddRequest) ProtoMessage ¶
func (*UserAddRequest) ProtoMessage()
func (*UserAddRequest) ProtoReflect ¶
func (x *UserAddRequest) ProtoReflect() protoreflect.Message
func (*UserAddRequest) Reset ¶
func (x *UserAddRequest) Reset()
func (*UserAddRequest) String ¶
func (x *UserAddRequest) String() string
type UserAddResponse ¶
type UserAddResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Statement *Statement `protobuf:"bytes,2,opt,name=statement,proto3" json:"statement,omitempty"` // contains filtered or unexported fields }
func (*UserAddResponse) Descriptor
deprecated
func (*UserAddResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserAddResponse.ProtoReflect.Descriptor instead.
func (*UserAddResponse) GetStatement ¶
func (x *UserAddResponse) GetStatement() *Statement
func (*UserAddResponse) GetUser ¶
func (x *UserAddResponse) GetUser() *User
func (*UserAddResponse) ProtoMessage ¶
func (*UserAddResponse) ProtoMessage()
func (*UserAddResponse) ProtoReflect ¶
func (x *UserAddResponse) ProtoReflect() protoreflect.Message
func (*UserAddResponse) Reset ¶
func (x *UserAddResponse) Reset()
func (*UserAddResponse) String ¶
func (x *UserAddResponse) String() string
type UserRequest ¶
type UserRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` Local bool `protobuf:"varint,4,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetKID ¶
func (x *UserRequest) GetKID() string
func (*UserRequest) GetLocal ¶
func (x *UserRequest) GetLocal() bool
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string
type UserResponse ¶
type UserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserResponse) Descriptor
deprecated
func (*UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
func (*UserResponse) GetUser ¶
func (x *UserResponse) GetUser() *User
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) ProtoReflect ¶
func (x *UserResponse) ProtoReflect() protoreflect.Message
func (*UserResponse) Reset ¶
func (x *UserResponse) Reset()
func (*UserResponse) String ¶
func (x *UserResponse) String() string
type UserSearchRequest ¶
type UserSearchRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Local bool `protobuf:"varint,4,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*UserSearchRequest) Descriptor
deprecated
func (*UserSearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserSearchRequest.ProtoReflect.Descriptor instead.
func (*UserSearchRequest) GetLimit ¶
func (x *UserSearchRequest) GetLimit() int32
func (*UserSearchRequest) GetLocal ¶
func (x *UserSearchRequest) GetLocal() bool
func (*UserSearchRequest) GetQuery ¶
func (x *UserSearchRequest) GetQuery() string
func (*UserSearchRequest) ProtoMessage ¶
func (*UserSearchRequest) ProtoMessage()
func (*UserSearchRequest) ProtoReflect ¶
func (x *UserSearchRequest) ProtoReflect() protoreflect.Message
func (*UserSearchRequest) Reset ¶
func (x *UserSearchRequest) Reset()
func (*UserSearchRequest) String ¶
func (x *UserSearchRequest) String() string
type UserSearchResponse ¶
type UserSearchResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UserSearchResponse) Descriptor
deprecated
func (*UserSearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserSearchResponse.ProtoReflect.Descriptor instead.
func (*UserSearchResponse) GetUsers ¶
func (x *UserSearchResponse) GetUsers() []*User
func (*UserSearchResponse) ProtoMessage ¶
func (*UserSearchResponse) ProtoMessage()
func (*UserSearchResponse) ProtoReflect ¶
func (x *UserSearchResponse) ProtoReflect() protoreflect.Message
func (*UserSearchResponse) Reset ¶
func (x *UserSearchResponse) Reset()
func (*UserSearchResponse) String ¶
func (x *UserSearchResponse) String() string
type UserServiceRequest ¶
type UserServiceRequest struct { // KID to use, or if empty the current key. KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // Service such as twitter, github. Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*UserServiceRequest) Descriptor
deprecated
func (*UserServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserServiceRequest.ProtoReflect.Descriptor instead.
func (*UserServiceRequest) GetKID ¶
func (x *UserServiceRequest) GetKID() string
func (*UserServiceRequest) GetService ¶
func (x *UserServiceRequest) GetService() string
func (*UserServiceRequest) ProtoMessage ¶
func (*UserServiceRequest) ProtoMessage()
func (*UserServiceRequest) ProtoReflect ¶
func (x *UserServiceRequest) ProtoReflect() protoreflect.Message
func (*UserServiceRequest) Reset ¶
func (x *UserServiceRequest) Reset()
func (*UserServiceRequest) String ¶
func (x *UserServiceRequest) String() string
type UserServiceResponse ¶
type UserServiceResponse struct { // Service such as twitter, github. Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*UserServiceResponse) Descriptor
deprecated
func (*UserServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserServiceResponse.ProtoReflect.Descriptor instead.
func (*UserServiceResponse) GetService ¶
func (x *UserServiceResponse) GetService() string
func (*UserServiceResponse) ProtoMessage ¶
func (*UserServiceResponse) ProtoMessage()
func (*UserServiceResponse) ProtoReflect ¶
func (x *UserServiceResponse) ProtoReflect() protoreflect.Message
func (*UserServiceResponse) Reset ¶
func (x *UserServiceResponse) Reset()
func (*UserServiceResponse) String ¶
func (x *UserServiceResponse) String() string
type UserSignRequest ¶
type UserSignRequest struct { // KID to use, or if empty the current key. KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // Service such as twitter, github. Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Name is username on the service. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UserSignRequest) Descriptor
deprecated
func (*UserSignRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserSignRequest.ProtoReflect.Descriptor instead.
func (*UserSignRequest) GetKID ¶
func (x *UserSignRequest) GetKID() string
func (*UserSignRequest) GetName ¶
func (x *UserSignRequest) GetName() string
func (*UserSignRequest) GetService ¶
func (x *UserSignRequest) GetService() string
func (*UserSignRequest) ProtoMessage ¶
func (*UserSignRequest) ProtoMessage()
func (*UserSignRequest) ProtoReflect ¶
func (x *UserSignRequest) ProtoReflect() protoreflect.Message
func (*UserSignRequest) Reset ¶
func (x *UserSignRequest) Reset()
func (*UserSignRequest) String ¶
func (x *UserSignRequest) String() string
type UserSignResponse ¶
type UserSignResponse struct { // Message is signed message. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // Name in request. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UserSignResponse) Descriptor
deprecated
func (*UserSignResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserSignResponse.ProtoReflect.Descriptor instead.
func (*UserSignResponse) GetMessage ¶
func (x *UserSignResponse) GetMessage() string
func (*UserSignResponse) GetName ¶
func (x *UserSignResponse) GetName() string
func (*UserSignResponse) ProtoMessage ¶
func (*UserSignResponse) ProtoMessage()
func (*UserSignResponse) ProtoReflect ¶
func (x *UserSignResponse) ProtoReflect() protoreflect.Message
func (*UserSignResponse) Reset ¶
func (x *UserSignResponse) Reset()
func (*UserSignResponse) String ¶
func (x *UserSignResponse) String() string
type UserStatus ¶
type UserStatus int32
const ( UserStatusUnknown UserStatus = 0 UserStatusOK UserStatus = 1 UserStatusResourceNotFound UserStatus = 20 UserStatusContentNotFound UserStatus = 30 UserStatusContentInvalid UserStatus = 31 UserStatusConnFailure UserStatus = 40 UserStatusFailure UserStatus = 50 )
func (UserStatus) Descriptor ¶
func (UserStatus) Descriptor() protoreflect.EnumDescriptor
func (UserStatus) Enum ¶
func (x UserStatus) Enum() *UserStatus
func (UserStatus) EnumDescriptor
deprecated
func (UserStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserStatus.Descriptor instead.
func (UserStatus) Number ¶
func (x UserStatus) Number() protoreflect.EnumNumber
func (UserStatus) String ¶
func (x UserStatus) String() string
func (UserStatus) Type ¶
func (UserStatus) Type() protoreflect.EnumType
type VaultAuthRequest ¶
type VaultAuthRequest struct {
// contains filtered or unexported fields
}
func (*VaultAuthRequest) Descriptor
deprecated
func (*VaultAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use VaultAuthRequest.ProtoReflect.Descriptor instead.
func (*VaultAuthRequest) ProtoMessage ¶
func (*VaultAuthRequest) ProtoMessage()
func (*VaultAuthRequest) ProtoReflect ¶
func (x *VaultAuthRequest) ProtoReflect() protoreflect.Message
func (*VaultAuthRequest) Reset ¶
func (x *VaultAuthRequest) Reset()
func (*VaultAuthRequest) String ¶
func (x *VaultAuthRequest) String() string
type VaultAuthResponse ¶
type VaultAuthResponse struct { Phrase string `protobuf:"bytes,1,opt,name=phrase,proto3" json:"phrase,omitempty"` // contains filtered or unexported fields }
func (*VaultAuthResponse) Descriptor
deprecated
func (*VaultAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use VaultAuthResponse.ProtoReflect.Descriptor instead.
func (*VaultAuthResponse) GetPhrase ¶
func (x *VaultAuthResponse) GetPhrase() string
func (*VaultAuthResponse) ProtoMessage ¶
func (*VaultAuthResponse) ProtoMessage()
func (*VaultAuthResponse) ProtoReflect ¶
func (x *VaultAuthResponse) ProtoReflect() protoreflect.Message
func (*VaultAuthResponse) Reset ¶
func (x *VaultAuthResponse) Reset()
func (*VaultAuthResponse) String ¶
func (x *VaultAuthResponse) String() string
type VaultStatusRequest ¶
type VaultStatusRequest struct {
// contains filtered or unexported fields
}
func (*VaultStatusRequest) Descriptor
deprecated
func (*VaultStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use VaultStatusRequest.ProtoReflect.Descriptor instead.
func (*VaultStatusRequest) ProtoMessage ¶
func (*VaultStatusRequest) ProtoMessage()
func (*VaultStatusRequest) ProtoReflect ¶
func (x *VaultStatusRequest) ProtoReflect() protoreflect.Message
func (*VaultStatusRequest) Reset ¶
func (x *VaultStatusRequest) Reset()
func (*VaultStatusRequest) String ¶
func (x *VaultStatusRequest) String() string
type VaultStatusResponse ¶
type VaultStatusResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` SyncedAt int64 `protobuf:"varint,2,opt,name=syncedAt,proto3" json:"syncedAt,omitempty"` // contains filtered or unexported fields }
func (*VaultStatusResponse) Descriptor
deprecated
func (*VaultStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use VaultStatusResponse.ProtoReflect.Descriptor instead.
func (*VaultStatusResponse) GetKID ¶
func (x *VaultStatusResponse) GetKID() string
func (*VaultStatusResponse) GetSyncedAt ¶
func (x *VaultStatusResponse) GetSyncedAt() int64
func (*VaultStatusResponse) ProtoMessage ¶
func (*VaultStatusResponse) ProtoMessage()
func (*VaultStatusResponse) ProtoReflect ¶
func (x *VaultStatusResponse) ProtoReflect() protoreflect.Message
func (*VaultStatusResponse) Reset ¶
func (x *VaultStatusResponse) Reset()
func (*VaultStatusResponse) String ¶
func (x *VaultStatusResponse) String() string
type VaultSyncRequest ¶
type VaultSyncRequest struct {
// contains filtered or unexported fields
}
func (*VaultSyncRequest) Descriptor
deprecated
func (*VaultSyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use VaultSyncRequest.ProtoReflect.Descriptor instead.
func (*VaultSyncRequest) ProtoMessage ¶
func (*VaultSyncRequest) ProtoMessage()
func (*VaultSyncRequest) ProtoReflect ¶
func (x *VaultSyncRequest) ProtoReflect() protoreflect.Message
func (*VaultSyncRequest) Reset ¶
func (x *VaultSyncRequest) Reset()
func (*VaultSyncRequest) String ¶
func (x *VaultSyncRequest) String() string
type VaultSyncResponse ¶
type VaultSyncResponse struct {
// contains filtered or unexported fields
}
func (*VaultSyncResponse) Descriptor
deprecated
func (*VaultSyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use VaultSyncResponse.ProtoReflect.Descriptor instead.
func (*VaultSyncResponse) ProtoMessage ¶
func (*VaultSyncResponse) ProtoMessage()
func (*VaultSyncResponse) ProtoReflect ¶
func (x *VaultSyncResponse) ProtoReflect() protoreflect.Message
func (*VaultSyncResponse) Reset ¶
func (x *VaultSyncResponse) Reset()
func (*VaultSyncResponse) String ¶
func (x *VaultSyncResponse) String() string
type VaultUnsyncRequest ¶
type VaultUnsyncRequest struct {
// contains filtered or unexported fields
}
func (*VaultUnsyncRequest) Descriptor
deprecated
func (*VaultUnsyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use VaultUnsyncRequest.ProtoReflect.Descriptor instead.
func (*VaultUnsyncRequest) ProtoMessage ¶
func (*VaultUnsyncRequest) ProtoMessage()
func (*VaultUnsyncRequest) ProtoReflect ¶
func (x *VaultUnsyncRequest) ProtoReflect() protoreflect.Message
func (*VaultUnsyncRequest) Reset ¶
func (x *VaultUnsyncRequest) Reset()
func (*VaultUnsyncRequest) String ¶
func (x *VaultUnsyncRequest) String() string
type VaultUnsyncResponse ¶
type VaultUnsyncResponse struct {
// contains filtered or unexported fields
}
func (*VaultUnsyncResponse) Descriptor
deprecated
func (*VaultUnsyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use VaultUnsyncResponse.ProtoReflect.Descriptor instead.
func (*VaultUnsyncResponse) ProtoMessage ¶
func (*VaultUnsyncResponse) ProtoMessage()
func (*VaultUnsyncResponse) ProtoReflect ¶
func (x *VaultUnsyncResponse) ProtoReflect() protoreflect.Message
func (*VaultUnsyncResponse) Reset ¶
func (x *VaultUnsyncResponse) Reset()
func (*VaultUnsyncResponse) String ¶
func (x *VaultUnsyncResponse) String() string
type VaultUpdateRequest ¶
type VaultUpdateRequest struct {
// contains filtered or unexported fields
}
func (*VaultUpdateRequest) Descriptor
deprecated
func (*VaultUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use VaultUpdateRequest.ProtoReflect.Descriptor instead.
func (*VaultUpdateRequest) ProtoMessage ¶
func (*VaultUpdateRequest) ProtoMessage()
func (*VaultUpdateRequest) ProtoReflect ¶
func (x *VaultUpdateRequest) ProtoReflect() protoreflect.Message
func (*VaultUpdateRequest) Reset ¶
func (x *VaultUpdateRequest) Reset()
func (*VaultUpdateRequest) String ¶
func (x *VaultUpdateRequest) String() string
type VaultUpdateResponse ¶
type VaultUpdateResponse struct {
// contains filtered or unexported fields
}
func (*VaultUpdateResponse) Descriptor
deprecated
func (*VaultUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use VaultUpdateResponse.ProtoReflect.Descriptor instead.
func (*VaultUpdateResponse) ProtoMessage ¶
func (*VaultUpdateResponse) ProtoMessage()
func (*VaultUpdateResponse) ProtoReflect ¶
func (x *VaultUpdateResponse) ProtoReflect() protoreflect.Message
func (*VaultUpdateResponse) Reset ¶
func (x *VaultUpdateResponse) Reset()
func (*VaultUpdateResponse) String ¶
func (x *VaultUpdateResponse) String() string
type VerifyDetachedFileInput ¶
type VerifyDetachedFileInput struct { // In is input file path. In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` // Signature (detached). Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*VerifyDetachedFileInput) Descriptor
deprecated
func (*VerifyDetachedFileInput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyDetachedFileInput.ProtoReflect.Descriptor instead.
func (*VerifyDetachedFileInput) GetIn ¶
func (x *VerifyDetachedFileInput) GetIn() string
func (*VerifyDetachedFileInput) GetSig ¶
func (x *VerifyDetachedFileInput) GetSig() []byte
func (*VerifyDetachedFileInput) ProtoMessage ¶
func (*VerifyDetachedFileInput) ProtoMessage()
func (*VerifyDetachedFileInput) ProtoReflect ¶
func (x *VerifyDetachedFileInput) ProtoReflect() protoreflect.Message
func (*VerifyDetachedFileInput) Reset ¶
func (x *VerifyDetachedFileInput) Reset()
func (*VerifyDetachedFileInput) String ¶
func (x *VerifyDetachedFileInput) String() string
type VerifyDetachedInput ¶
type VerifyDetachedInput struct { // Data to verify. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Signature (detached). Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*VerifyDetachedInput) Descriptor
deprecated
func (*VerifyDetachedInput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyDetachedInput.ProtoReflect.Descriptor instead.
func (*VerifyDetachedInput) GetData ¶
func (x *VerifyDetachedInput) GetData() []byte
func (*VerifyDetachedInput) GetSig ¶
func (x *VerifyDetachedInput) GetSig() []byte
func (*VerifyDetachedInput) ProtoMessage ¶
func (*VerifyDetachedInput) ProtoMessage()
func (*VerifyDetachedInput) ProtoReflect ¶
func (x *VerifyDetachedInput) ProtoReflect() protoreflect.Message
func (*VerifyDetachedInput) Reset ¶
func (x *VerifyDetachedInput) Reset()
func (*VerifyDetachedInput) String ¶
func (x *VerifyDetachedInput) String() string
type VerifyDetachedRequest ¶
type VerifyDetachedRequest struct { // Data to verify. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*VerifyDetachedRequest) Descriptor
deprecated
func (*VerifyDetachedRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyDetachedRequest.ProtoReflect.Descriptor instead.
func (*VerifyDetachedRequest) GetData ¶
func (x *VerifyDetachedRequest) GetData() []byte
func (*VerifyDetachedRequest) GetSig ¶
func (x *VerifyDetachedRequest) GetSig() []byte
func (*VerifyDetachedRequest) ProtoMessage ¶
func (*VerifyDetachedRequest) ProtoMessage()
func (*VerifyDetachedRequest) ProtoReflect ¶
func (x *VerifyDetachedRequest) ProtoReflect() protoreflect.Message
func (*VerifyDetachedRequest) Reset ¶
func (x *VerifyDetachedRequest) Reset()
func (*VerifyDetachedRequest) String ¶
func (x *VerifyDetachedRequest) String() string
type VerifyDetachedResponse ¶
type VerifyDetachedResponse struct { Signer *Key `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*VerifyDetachedResponse) Descriptor
deprecated
func (*VerifyDetachedResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyDetachedResponse.ProtoReflect.Descriptor instead.
func (*VerifyDetachedResponse) GetSigner ¶
func (x *VerifyDetachedResponse) GetSigner() *Key
func (*VerifyDetachedResponse) ProtoMessage ¶
func (*VerifyDetachedResponse) ProtoMessage()
func (*VerifyDetachedResponse) ProtoReflect ¶
func (x *VerifyDetachedResponse) ProtoReflect() protoreflect.Message
func (*VerifyDetachedResponse) Reset ¶
func (x *VerifyDetachedResponse) Reset()
func (*VerifyDetachedResponse) String ¶
func (x *VerifyDetachedResponse) String() string
type VerifyFileInput ¶
type VerifyFileInput struct { // In is input file path. In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"` // Out is the output file name or directory to save to. Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` // contains filtered or unexported fields }
func (*VerifyFileInput) Descriptor
deprecated
func (*VerifyFileInput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyFileInput.ProtoReflect.Descriptor instead.
func (*VerifyFileInput) GetIn ¶
func (x *VerifyFileInput) GetIn() string
func (*VerifyFileInput) GetOut ¶
func (x *VerifyFileInput) GetOut() string
func (*VerifyFileInput) ProtoMessage ¶
func (*VerifyFileInput) ProtoMessage()
func (*VerifyFileInput) ProtoReflect ¶
func (x *VerifyFileInput) ProtoReflect() protoreflect.Message
func (*VerifyFileInput) Reset ¶
func (x *VerifyFileInput) Reset()
func (*VerifyFileInput) String ¶
func (x *VerifyFileInput) String() string
type VerifyFileOutput ¶
type VerifyFileOutput struct { Signer *Key `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` // contains filtered or unexported fields }
func (*VerifyFileOutput) Descriptor
deprecated
func (*VerifyFileOutput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyFileOutput.ProtoReflect.Descriptor instead.
func (*VerifyFileOutput) GetOut ¶
func (x *VerifyFileOutput) GetOut() string
func (*VerifyFileOutput) GetSigner ¶
func (x *VerifyFileOutput) GetSigner() *Key
func (*VerifyFileOutput) ProtoMessage ¶
func (*VerifyFileOutput) ProtoMessage()
func (*VerifyFileOutput) ProtoReflect ¶
func (x *VerifyFileOutput) ProtoReflect() protoreflect.Message
func (*VerifyFileOutput) Reset ¶
func (x *VerifyFileOutput) Reset()
func (*VerifyFileOutput) String ¶
func (x *VerifyFileOutput) String() string
type VerifyInput ¶
type VerifyInput struct { // Data to verify. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*VerifyInput) Descriptor
deprecated
func (*VerifyInput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyInput.ProtoReflect.Descriptor instead.
func (*VerifyInput) GetData ¶
func (x *VerifyInput) GetData() []byte
func (*VerifyInput) ProtoMessage ¶
func (*VerifyInput) ProtoMessage()
func (*VerifyInput) ProtoReflect ¶
func (x *VerifyInput) ProtoReflect() protoreflect.Message
func (*VerifyInput) Reset ¶
func (x *VerifyInput) Reset()
func (*VerifyInput) String ¶
func (x *VerifyInput) String() string
type VerifyOutput ¶
type VerifyOutput struct { // Data, verified. If empty, is EOF. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signer *Key `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*VerifyOutput) Descriptor
deprecated
func (*VerifyOutput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyOutput.ProtoReflect.Descriptor instead.
func (*VerifyOutput) GetData ¶
func (x *VerifyOutput) GetData() []byte
func (*VerifyOutput) GetSigner ¶
func (x *VerifyOutput) GetSigner() *Key
func (*VerifyOutput) ProtoMessage ¶
func (*VerifyOutput) ProtoMessage()
func (*VerifyOutput) ProtoReflect ¶
func (x *VerifyOutput) ProtoReflect() protoreflect.Message
func (*VerifyOutput) Reset ¶
func (x *VerifyOutput) Reset()
func (*VerifyOutput) String ¶
func (x *VerifyOutput) String() string
type VerifyRequest ¶
type VerifyRequest struct { // Data is verified output. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*VerifyRequest) Descriptor
deprecated
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) GetData ¶
func (x *VerifyRequest) GetData() []byte
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (x *VerifyRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequest) Reset ¶
func (x *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (x *VerifyRequest) String() string
type VerifyResponse ¶
type VerifyResponse struct { // Data (if out is not specified in request). Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signer *Key `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*VerifyResponse) Descriptor
deprecated
func (*VerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.
func (*VerifyResponse) GetData ¶
func (x *VerifyResponse) GetData() []byte
func (*VerifyResponse) GetSigner ¶
func (x *VerifyResponse) GetSigner() *Key
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) ProtoReflect ¶
func (x *VerifyResponse) ProtoReflect() protoreflect.Message
func (*VerifyResponse) Reset ¶
func (x *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (x *VerifyResponse) String() string
type VerifyStreamClient ¶
type VerifyStreamClient interface { Send(*VerifyInput) error Recv() (*VerifyOutput, error) grpc.ClientStream }
VerifyStreamClient ...
func NewVerifyStreamClient ¶
func NewVerifyStreamClient(ctx context.Context, cl RPCClient) (VerifyStreamClient, error)
NewVerifyStreamClient ...
type WormholeInput ¶
type WormholeInput struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Invite string `protobuf:"bytes,3,opt,name=invite,proto3" json:"invite,omitempty"` ID string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` Text string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*WormholeInput) Descriptor
deprecated
func (*WormholeInput) Descriptor() ([]byte, []int)
Deprecated: Use WormholeInput.ProtoReflect.Descriptor instead.
func (*WormholeInput) GetID ¶
func (x *WormholeInput) GetID() string
func (*WormholeInput) GetInvite ¶
func (x *WormholeInput) GetInvite() string
func (*WormholeInput) GetRecipient ¶
func (x *WormholeInput) GetRecipient() string
func (*WormholeInput) GetSender ¶
func (x *WormholeInput) GetSender() string
func (*WormholeInput) GetText ¶
func (x *WormholeInput) GetText() string
func (*WormholeInput) ProtoMessage ¶
func (*WormholeInput) ProtoMessage()
func (*WormholeInput) ProtoReflect ¶
func (x *WormholeInput) ProtoReflect() protoreflect.Message
func (*WormholeInput) Reset ¶
func (x *WormholeInput) Reset()
func (*WormholeInput) String ¶
func (x *WormholeInput) String() string
type WormholeMessage ¶
type WormholeMessage struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sender *Key `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Recipient *Key `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` Status WormholeMessageStatus `protobuf:"varint,5,opt,name=status,proto3,enum=service.WormholeMessageStatus" json:"status,omitempty"` Text string `protobuf:"bytes,10,opt,name=text,proto3" json:"text,omitempty"` CreatedAt int64 `protobuf:"varint,21,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*WormholeMessage) Descriptor
deprecated
func (*WormholeMessage) Descriptor() ([]byte, []int)
Deprecated: Use WormholeMessage.ProtoReflect.Descriptor instead.
func (*WormholeMessage) GetCreatedAt ¶
func (x *WormholeMessage) GetCreatedAt() int64
func (*WormholeMessage) GetID ¶
func (x *WormholeMessage) GetID() string
func (*WormholeMessage) GetRecipient ¶
func (x *WormholeMessage) GetRecipient() *Key
func (*WormholeMessage) GetSender ¶
func (x *WormholeMessage) GetSender() *Key
func (*WormholeMessage) GetStatus ¶
func (x *WormholeMessage) GetStatus() WormholeMessageStatus
func (*WormholeMessage) GetText ¶
func (x *WormholeMessage) GetText() string
func (*WormholeMessage) ProtoMessage ¶
func (*WormholeMessage) ProtoMessage()
func (*WormholeMessage) ProtoReflect ¶
func (x *WormholeMessage) ProtoReflect() protoreflect.Message
func (*WormholeMessage) Reset ¶
func (x *WormholeMessage) Reset()
func (*WormholeMessage) String ¶
func (x *WormholeMessage) String() string
type WormholeMessageStatus ¶
type WormholeMessageStatus int32
const ( WormholeMessageSent WormholeMessageStatus = 0 WormholeMessagePending WormholeMessageStatus = 1 WormholeMessageAck WormholeMessageStatus = 2 )
func (WormholeMessageStatus) Descriptor ¶
func (WormholeMessageStatus) Descriptor() protoreflect.EnumDescriptor
func (WormholeMessageStatus) Enum ¶
func (x WormholeMessageStatus) Enum() *WormholeMessageStatus
func (WormholeMessageStatus) EnumDescriptor
deprecated
func (WormholeMessageStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use WormholeMessageStatus.Descriptor instead.
func (WormholeMessageStatus) Number ¶
func (x WormholeMessageStatus) Number() protoreflect.EnumNumber
func (WormholeMessageStatus) String ¶
func (x WormholeMessageStatus) String() string
func (WormholeMessageStatus) Type ¶
func (WormholeMessageStatus) Type() protoreflect.EnumType
type WormholeOutput ¶
type WormholeOutput struct { Message *WormholeMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Status WormholeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=service.WormholeStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*WormholeOutput) Descriptor
deprecated
func (*WormholeOutput) Descriptor() ([]byte, []int)
Deprecated: Use WormholeOutput.ProtoReflect.Descriptor instead.
func (*WormholeOutput) GetMessage ¶
func (x *WormholeOutput) GetMessage() *WormholeMessage
func (*WormholeOutput) GetStatus ¶
func (x *WormholeOutput) GetStatus() WormholeStatus
func (*WormholeOutput) ProtoMessage ¶
func (*WormholeOutput) ProtoMessage()
func (*WormholeOutput) ProtoReflect ¶
func (x *WormholeOutput) ProtoReflect() protoreflect.Message
func (*WormholeOutput) Reset ¶
func (x *WormholeOutput) Reset()
func (*WormholeOutput) String ¶
func (x *WormholeOutput) String() string
type WormholeStatus ¶
type WormholeStatus int32
const ( WormholeDefault WormholeStatus = 0 // WormholeStarting if starting. WormholeStarting WormholeStatus = 10 // WormholeOffering if offering. WormholeOffering WormholeStatus = 20 // WormholeAnswering if answering. WormholeAnswering WormholeStatus = 21 // WormholeHandshake if found offer/answer and trying to SCTP/Noise handshake. WormholeHandshake WormholeStatus = 40 // WormholeConnected if connected WormholeConnected WormholeStatus = 100 // WormholeClosed if closed WormholeClosed WormholeStatus = 200 )
func (WormholeStatus) Descriptor ¶
func (WormholeStatus) Descriptor() protoreflect.EnumDescriptor
func (WormholeStatus) Enum ¶
func (x WormholeStatus) Enum() *WormholeStatus
func (WormholeStatus) EnumDescriptor
deprecated
func (WormholeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use WormholeStatus.Descriptor instead.
func (WormholeStatus) Number ¶
func (x WormholeStatus) Number() protoreflect.EnumNumber
func (WormholeStatus) String ¶
func (x WormholeStatus) String() string
func (WormholeStatus) Type ¶
func (WormholeStatus) Type() protoreflect.EnumType
Source Files ¶
- admin.go
- auth.go
- auth_fido2.go
- auth_pk.go
- auth_pw.go
- auth_rpc.go
- autostart.go
- cert.go
- check.go
- client.go
- cmd.go
- cmd_admin.go
- cmd_auth.go
- cmd_auth_fido2.go
- cmd_auth_pw.go
- cmd_db.go
- cmd_encrypt.go
- cmd_env.go
- cmd_export.go
- cmd_fido2.go
- cmd_import.go
- cmd_key.go
- cmd_log.go
- cmd_other.go
- cmd_pull.go
- cmd_sigchain.go
- cmd_sign.go
- cmd_start.go
- cmd_user.go
- cmd_vault.go
- cmd_verify.go
- cmd_wormhole.go
- config.go
- db.go
- decrypt.go
- encode.go
- encrypt.go
- env.go
- exec.go
- export.go
- import.go
- install.go
- key.go
- keyring.go
- keys.go
- log.go
- logrus.go
- lookup.go
- password.go
- path.go
- pid.go
- pull.go
- push.go
- rand.go
- rpc.pb.go
- rpc_grpc.pb.go
- run.go
- search.go
- secrets.go
- service.go
- sigchain.go
- sign.go
- status.go
- stream.go
- support.go
- time.go
- update.go
- user.go
- vault.go
- verify.go
- wormhole.go