Documentation ¶
Index ¶
- Variables
- func DeleteCertificate(env *Env) error
- func GenerateCertificate(env *Env, save bool) (*keys.CertificateKey, error)
- func IsPortInUse(port int) bool
- func LoadCertificate(env *Env) (string, error)
- 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 SetLogger(l Logger) func()
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetEmail() string
- func (x *Account) GetKID() string
- func (x *Account) GetVerified() bool
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountCreateRequest
- func (*AccountCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCreateRequest) GetAccountKey() string
- func (x *AccountCreateRequest) GetClientKey() string
- func (x *AccountCreateRequest) GetCode() string
- func (x *AccountCreateRequest) GetEmail() string
- func (*AccountCreateRequest) ProtoMessage()
- func (x *AccountCreateRequest) ProtoReflect() protoreflect.Message
- func (x *AccountCreateRequest) Reset()
- func (x *AccountCreateRequest) String() string
- type AccountCreateResponse
- type AccountInviteAcceptRequest
- func (*AccountInviteAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInviteAcceptRequest) GetCode() string
- func (*AccountInviteAcceptRequest) ProtoMessage()
- func (x *AccountInviteAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *AccountInviteAcceptRequest) Reset()
- func (x *AccountInviteAcceptRequest) String() string
- type AccountInviteAcceptResponse
- type AccountInviteRequest
- func (*AccountInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInviteRequest) GetEmail() string
- func (*AccountInviteRequest) ProtoMessage()
- func (x *AccountInviteRequest) ProtoReflect() protoreflect.Message
- func (x *AccountInviteRequest) Reset()
- func (x *AccountInviteRequest) String() string
- type AccountInviteResponse
- func (*AccountInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInviteResponse) GetInviteCode() string
- func (*AccountInviteResponse) ProtoMessage()
- func (x *AccountInviteResponse) ProtoReflect() protoreflect.Message
- func (x *AccountInviteResponse) Reset()
- func (x *AccountInviteResponse) String() string
- type AccountRegisterRequest
- func (*AccountRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountRegisterRequest) GetEmail() string
- func (*AccountRegisterRequest) ProtoMessage()
- func (x *AccountRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *AccountRegisterRequest) Reset()
- func (x *AccountRegisterRequest) String() string
- type AccountRegisterResponse
- type AccountSetUsernameRequest
- func (*AccountSetUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountSetUsernameRequest) GetUsername() string
- func (*AccountSetUsernameRequest) ProtoMessage()
- func (x *AccountSetUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *AccountSetUsernameRequest) Reset()
- func (x *AccountSetUsernameRequest) String() string
- type AccountSetUsernameResponse
- type AccountStatus
- func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AccountStatus) Enum() *AccountStatus
- func (AccountStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountStatus) Number() protoreflect.EnumNumber
- func (x AccountStatus) String() string
- func (AccountStatus) Type() protoreflect.EnumType
- type AccountStatusRequest
- type AccountStatusResponse
- func (*AccountStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountStatusResponse) GetStatus() AccountStatus
- func (*AccountStatusResponse) ProtoMessage()
- func (x *AccountStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AccountStatusResponse) Reset()
- func (x *AccountStatusResponse) String() string
- type AuthLockRequest
- type AuthLockResponse
- type AuthStatus
- type AuthStatusRequest
- type AuthStatusResponse
- func (*AuthStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStatusResponse) GetStatus() AuthStatus
- func (*AuthStatusResponse) ProtoMessage()
- func (x *AuthStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AuthStatusResponse) Reset()
- func (x *AuthStatusResponse) String() string
- 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 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) GetSnippet() string
- func (x *Channel) GetType() ChannelType
- 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) GetDescription() string
- func (x *ChannelCreateRequest) GetName() string
- func (x *ChannelCreateRequest) GetPrivate() bool
- 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) GetID() string
- 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 (*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 ChannelType
- func (ChannelType) Descriptor() protoreflect.EnumDescriptor
- func (x ChannelType) Enum() *ChannelType
- func (ChannelType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChannelType) Number() protoreflect.EnumNumber
- func (x ChannelType) String() string
- func (ChannelType) Type() protoreflect.EnumType
- type ChannelUser
- type ChannelUsersAddRequest
- func (*ChannelUsersAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelUsersAddRequest) GetChannel() string
- func (x *ChannelUsersAddRequest) GetUsers() []string
- func (*ChannelUsersAddRequest) ProtoMessage()
- func (x *ChannelUsersAddRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelUsersAddRequest) Reset()
- func (x *ChannelUsersAddRequest) String() string
- type ChannelUsersAddResponse
- type ChannelUsersRemoveRequest
- func (*ChannelUsersRemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelUsersRemoveRequest) GetChannel() string
- func (x *ChannelUsersRemoveRequest) GetUsers() []string
- func (*ChannelUsersRemoveRequest) ProtoMessage()
- func (x *ChannelUsersRemoveRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelUsersRemoveRequest) Reset()
- func (x *ChannelUsersRemoveRequest) String() string
- type ChannelUsersRemoveResponse
- type ChannelUsersRequest
- func (*ChannelUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelUsersRequest) GetChannel() string
- func (*ChannelUsersRequest) ProtoMessage()
- func (x *ChannelUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelUsersRequest) Reset()
- func (x *ChannelUsersRequest) String() string
- type ChannelUsersResponse
- func (*ChannelUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelUsersResponse) GetUsers() []*ChannelUser
- func (*ChannelUsersResponse) ProtoMessage()
- func (x *ChannelUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelUsersResponse) Reset()
- func (x *ChannelUsersResponse) String() string
- type ChannelsRequest
- type ChannelsResponse
- 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 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 DocumentsRequest
- func (*DocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentsRequest) GetDB() string
- func (x *DocumentsRequest) GetPath() 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 Env
- func (e Env) AppDir() string
- func (e Env) AppName() string
- func (e Env) AppPath(file string, makeDir bool) (string, error)
- func (e Env) ChillServerURL() string
- func (e Env) Export() ([]byte, error)
- func (e *Env) Get(key string, dflt string) string
- func (e *Env) GetBool(key string) bool
- func (e *Env) GetInt(key string, dflt int) int
- func (e Env) IsKey(s string) bool
- func (e Env) KeysPubServerURL() string
- func (e *Env) Load() error
- func (e Env) LogsDir() string
- func (e Env) LogsPath(file string, makeDir bool) (string, error)
- func (e *Env) Path(makeDir bool) (string, error)
- func (e Env) Port() int
- func (e *Env) Reset() error
- func (e *Env) Save() error
- func (e *Env) Set(key string, value string)
- func (e *Env) SetBool(key string, b bool)
- func (e *Env) SetInt(key string, n int)
- 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() string
- 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 MessagePrepareRequest
- func (*MessagePrepareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessagePrepareRequest) GetChannel() 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 MessageSendRequest
- func (*MessageSendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageSendRequest) GetChannel() string
- func (x *MessageSendRequest) GetID() string
- func (x *MessageSendRequest) GetText() string
- func (*MessageSendRequest) ProtoMessage()
- func (x *MessageSendRequest) ProtoReflect() protoreflect.Message
- func (x *MessageSendRequest) Reset()
- func (x *MessageSendRequest) String() string
- type MessageSendResponse
- func (*MessageSendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageSendResponse) GetMessage() *Message
- func (*MessageSendResponse) ProtoMessage()
- func (x *MessageSendResponse) ProtoReflect() protoreflect.Message
- func (x *MessageSendResponse) Reset()
- func (x *MessageSendResponse) 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 MessagesOpts
- 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 RPCClient
- type RPCServer
- type RPC_RelayClient
- type RPC_RelayServer
- 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() *RelayOutput_Channel
- func (x *RelayOutput) GetType() string
- func (*RelayOutput) ProtoMessage()
- func (x *RelayOutput) ProtoReflect() protoreflect.Message
- func (x *RelayOutput) Reset()
- func (x *RelayOutput) String() string
- type RelayOutput_Channel
- func (*RelayOutput_Channel) Descriptor() ([]byte, []int)deprecated
- func (x *RelayOutput_Channel) GetID() string
- func (x *RelayOutput_Channel) GetIndex() int64
- func (*RelayOutput_Channel) ProtoMessage()
- func (x *RelayOutput_Channel) ProtoReflect() protoreflect.Message
- func (x *RelayOutput_Channel) Reset()
- func (x *RelayOutput_Channel) String() string
- type RelayRequest
- type ServeFn
- type Team
- type TeamCreateRequest
- type TeamCreateResponse
- type UnimplementedRPCServer
- func (*UnimplementedRPCServer) AccountCreate(context.Context, *AccountCreateRequest) (*AccountCreateResponse, error)
- func (*UnimplementedRPCServer) AccountInvite(context.Context, *AccountInviteRequest) (*AccountInviteResponse, error)
- func (*UnimplementedRPCServer) AccountInviteAccept(context.Context, *AccountInviteAcceptRequest) (*AccountInviteAcceptResponse, error)
- func (*UnimplementedRPCServer) AccountRegister(context.Context, *AccountRegisterRequest) (*AccountRegisterResponse, error)
- func (*UnimplementedRPCServer) AccountSetUsername(context.Context, *AccountSetUsernameRequest) (*AccountSetUsernameResponse, error)
- func (*UnimplementedRPCServer) AccountStatus(context.Context, *AccountStatusRequest) (*AccountStatusResponse, error)
- func (*UnimplementedRPCServer) AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error)
- func (*UnimplementedRPCServer) AuthStatus(context.Context, *AuthStatusRequest) (*AuthStatusResponse, error)
- func (*UnimplementedRPCServer) AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error)
- func (*UnimplementedRPCServer) ChannelCreate(context.Context, *ChannelCreateRequest) (*ChannelCreateResponse, error)
- func (*UnimplementedRPCServer) ChannelLeave(context.Context, *ChannelLeaveRequest) (*ChannelLeaveResponse, error)
- func (*UnimplementedRPCServer) ChannelRead(context.Context, *ChannelReadRequest) (*ChannelReadResponse, error)
- func (*UnimplementedRPCServer) ChannelUsers(context.Context, *ChannelUsersRequest) (*ChannelUsersResponse, error)
- func (*UnimplementedRPCServer) ChannelUsersAdd(context.Context, *ChannelUsersAddRequest) (*ChannelUsersAddResponse, error)
- func (*UnimplementedRPCServer) ChannelUsersRemove(context.Context, *ChannelUsersRemoveRequest) (*ChannelUsersRemoveResponse, error)
- func (*UnimplementedRPCServer) Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error)
- func (*UnimplementedRPCServer) Collections(context.Context, *CollectionsRequest) (*CollectionsResponse, error)
- func (*UnimplementedRPCServer) Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error)
- func (*UnimplementedRPCServer) MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error)
- func (*UnimplementedRPCServer) MessageSend(context.Context, *MessageSendRequest) (*MessageSendResponse, error)
- func (*UnimplementedRPCServer) Messages(context.Context, *MessagesRequest) (*MessagesResponse, 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) TeamCreate(context.Context, *TeamCreateRequest) (*TeamCreateResponse, error)
Constants ¶
This section is empty.
Variables ¶
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 ( 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 ( AccountStatus_name = map[int32]string{ 0: "ACCOUNT_UNKNOWN", 1: "ACCOUNT_CREATE", 2: "ACCOUNT_INVITE_CODE", 3: "ACCOUNT_USERNAME", 4: "ACCOUNT_COMPLETE", } AccountStatus_value = map[string]int32{ "ACCOUNT_UNKNOWN": 0, "ACCOUNT_CREATE": 1, "ACCOUNT_INVITE_CODE": 2, "ACCOUNT_USERNAME": 3, "ACCOUNT_COMPLETE": 4, } )
Enum value maps for AccountStatus.
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 ( 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 ( ChannelType_name = map[int32]string{ 0: "CHANNEL_UNKNOWN", 1: "CHANNEL_TEAM", 2: "CHANNEL_USERS", } ChannelType_value = map[string]int32{ "CHANNEL_UNKNOWN": 0, "CHANNEL_TEAM": 1, "CHANNEL_USERS": 2, } )
Enum value maps for ChannelType.
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 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 LoadCertificate ¶
LoadCertificate returns public certificate PEM from the filesystem.
func NewServiceFn ¶
func NewServiceFn(env *Env, build Build, cert *keys.CertificateKey, lgi LogInterceptor) (ServeFn, CloseFn, error)
NewServiceFn ...
func RegisterRPCServer ¶
Types ¶
type Account ¶
type Account struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Verified bool `protobuf:"varint,3,opt,name=verified,proto3" json:"verified,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetVerified ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountCreateRequest ¶
type AccountCreateRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // AccountKey is optional (generated if not specified). AccountKey string `protobuf:"bytes,10,opt,name=accountKey,proto3" json:"accountKey,omitempty"` // ClientKey is optional (generated if not specified). ClientKey string `protobuf:"bytes,11,opt,name=clientKey,proto3" json:"clientKey,omitempty"` // contains filtered or unexported fields }
func (*AccountCreateRequest) Descriptor
deprecated
func (*AccountCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountCreateRequest.ProtoReflect.Descriptor instead.
func (*AccountCreateRequest) GetAccountKey ¶
func (x *AccountCreateRequest) GetAccountKey() string
func (*AccountCreateRequest) GetClientKey ¶
func (x *AccountCreateRequest) GetClientKey() string
func (*AccountCreateRequest) GetCode ¶
func (x *AccountCreateRequest) GetCode() string
func (*AccountCreateRequest) GetEmail ¶
func (x *AccountCreateRequest) GetEmail() string
func (*AccountCreateRequest) ProtoMessage ¶
func (*AccountCreateRequest) ProtoMessage()
func (*AccountCreateRequest) ProtoReflect ¶
func (x *AccountCreateRequest) ProtoReflect() protoreflect.Message
func (*AccountCreateRequest) Reset ¶
func (x *AccountCreateRequest) Reset()
func (*AccountCreateRequest) String ¶
func (x *AccountCreateRequest) String() string
type AccountCreateResponse ¶
type AccountCreateResponse struct {
// contains filtered or unexported fields
}
func (*AccountCreateResponse) Descriptor
deprecated
func (*AccountCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountCreateResponse.ProtoReflect.Descriptor instead.
func (*AccountCreateResponse) ProtoMessage ¶
func (*AccountCreateResponse) ProtoMessage()
func (*AccountCreateResponse) ProtoReflect ¶
func (x *AccountCreateResponse) ProtoReflect() protoreflect.Message
func (*AccountCreateResponse) Reset ¶
func (x *AccountCreateResponse) Reset()
func (*AccountCreateResponse) String ¶
func (x *AccountCreateResponse) String() string
type AccountInviteAcceptRequest ¶
type AccountInviteAcceptRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*AccountInviteAcceptRequest) Descriptor
deprecated
func (*AccountInviteAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountInviteAcceptRequest.ProtoReflect.Descriptor instead.
func (*AccountInviteAcceptRequest) GetCode ¶
func (x *AccountInviteAcceptRequest) GetCode() string
func (*AccountInviteAcceptRequest) ProtoMessage ¶
func (*AccountInviteAcceptRequest) ProtoMessage()
func (*AccountInviteAcceptRequest) ProtoReflect ¶
func (x *AccountInviteAcceptRequest) ProtoReflect() protoreflect.Message
func (*AccountInviteAcceptRequest) Reset ¶
func (x *AccountInviteAcceptRequest) Reset()
func (*AccountInviteAcceptRequest) String ¶
func (x *AccountInviteAcceptRequest) String() string
type AccountInviteAcceptResponse ¶
type AccountInviteAcceptResponse struct {
// contains filtered or unexported fields
}
func (*AccountInviteAcceptResponse) Descriptor
deprecated
func (*AccountInviteAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountInviteAcceptResponse.ProtoReflect.Descriptor instead.
func (*AccountInviteAcceptResponse) ProtoMessage ¶
func (*AccountInviteAcceptResponse) ProtoMessage()
func (*AccountInviteAcceptResponse) ProtoReflect ¶
func (x *AccountInviteAcceptResponse) ProtoReflect() protoreflect.Message
func (*AccountInviteAcceptResponse) Reset ¶
func (x *AccountInviteAcceptResponse) Reset()
func (*AccountInviteAcceptResponse) String ¶
func (x *AccountInviteAcceptResponse) String() string
type AccountInviteRequest ¶
type AccountInviteRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*AccountInviteRequest) Descriptor
deprecated
func (*AccountInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountInviteRequest.ProtoReflect.Descriptor instead.
func (*AccountInviteRequest) GetEmail ¶
func (x *AccountInviteRequest) GetEmail() string
func (*AccountInviteRequest) ProtoMessage ¶
func (*AccountInviteRequest) ProtoMessage()
func (*AccountInviteRequest) ProtoReflect ¶
func (x *AccountInviteRequest) ProtoReflect() protoreflect.Message
func (*AccountInviteRequest) Reset ¶
func (x *AccountInviteRequest) Reset()
func (*AccountInviteRequest) String ¶
func (x *AccountInviteRequest) String() string
type AccountInviteResponse ¶
type AccountInviteResponse struct { InviteCode string `protobuf:"bytes,1,opt,name=inviteCode,proto3" json:"inviteCode,omitempty"` // contains filtered or unexported fields }
func (*AccountInviteResponse) Descriptor
deprecated
func (*AccountInviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountInviteResponse.ProtoReflect.Descriptor instead.
func (*AccountInviteResponse) GetInviteCode ¶
func (x *AccountInviteResponse) GetInviteCode() string
func (*AccountInviteResponse) ProtoMessage ¶
func (*AccountInviteResponse) ProtoMessage()
func (*AccountInviteResponse) ProtoReflect ¶
func (x *AccountInviteResponse) ProtoReflect() protoreflect.Message
func (*AccountInviteResponse) Reset ¶
func (x *AccountInviteResponse) Reset()
func (*AccountInviteResponse) String ¶
func (x *AccountInviteResponse) String() string
type AccountRegisterRequest ¶
type AccountRegisterRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*AccountRegisterRequest) Descriptor
deprecated
func (*AccountRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountRegisterRequest.ProtoReflect.Descriptor instead.
func (*AccountRegisterRequest) GetEmail ¶
func (x *AccountRegisterRequest) GetEmail() string
func (*AccountRegisterRequest) ProtoMessage ¶
func (*AccountRegisterRequest) ProtoMessage()
func (*AccountRegisterRequest) ProtoReflect ¶
func (x *AccountRegisterRequest) ProtoReflect() protoreflect.Message
func (*AccountRegisterRequest) Reset ¶
func (x *AccountRegisterRequest) Reset()
func (*AccountRegisterRequest) String ¶
func (x *AccountRegisterRequest) String() string
type AccountRegisterResponse ¶
type AccountRegisterResponse struct {
// contains filtered or unexported fields
}
func (*AccountRegisterResponse) Descriptor
deprecated
func (*AccountRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountRegisterResponse.ProtoReflect.Descriptor instead.
func (*AccountRegisterResponse) ProtoMessage ¶
func (*AccountRegisterResponse) ProtoMessage()
func (*AccountRegisterResponse) ProtoReflect ¶
func (x *AccountRegisterResponse) ProtoReflect() protoreflect.Message
func (*AccountRegisterResponse) Reset ¶
func (x *AccountRegisterResponse) Reset()
func (*AccountRegisterResponse) String ¶
func (x *AccountRegisterResponse) String() string
type AccountSetUsernameRequest ¶
type AccountSetUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*AccountSetUsernameRequest) Descriptor
deprecated
func (*AccountSetUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountSetUsernameRequest.ProtoReflect.Descriptor instead.
func (*AccountSetUsernameRequest) GetUsername ¶
func (x *AccountSetUsernameRequest) GetUsername() string
func (*AccountSetUsernameRequest) ProtoMessage ¶
func (*AccountSetUsernameRequest) ProtoMessage()
func (*AccountSetUsernameRequest) ProtoReflect ¶
func (x *AccountSetUsernameRequest) ProtoReflect() protoreflect.Message
func (*AccountSetUsernameRequest) Reset ¶
func (x *AccountSetUsernameRequest) Reset()
func (*AccountSetUsernameRequest) String ¶
func (x *AccountSetUsernameRequest) String() string
type AccountSetUsernameResponse ¶
type AccountSetUsernameResponse struct {
// contains filtered or unexported fields
}
func (*AccountSetUsernameResponse) Descriptor
deprecated
func (*AccountSetUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountSetUsernameResponse.ProtoReflect.Descriptor instead.
func (*AccountSetUsernameResponse) ProtoMessage ¶
func (*AccountSetUsernameResponse) ProtoMessage()
func (*AccountSetUsernameResponse) ProtoReflect ¶
func (x *AccountSetUsernameResponse) ProtoReflect() protoreflect.Message
func (*AccountSetUsernameResponse) Reset ¶
func (x *AccountSetUsernameResponse) Reset()
func (*AccountSetUsernameResponse) String ¶
func (x *AccountSetUsernameResponse) String() string
type AccountStatus ¶
type AccountStatus int32
const ( AccountUnknown AccountStatus = 0 AccountStatusCreate AccountStatus = 1 AccountStatusInviteCode AccountStatus = 2 AccountStatusUsername AccountStatus = 3 AccountStatusComplete AccountStatus = 4 )
func (AccountStatus) Descriptor ¶
func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
func (AccountStatus) Enum ¶
func (x AccountStatus) Enum() *AccountStatus
func (AccountStatus) EnumDescriptor
deprecated
func (AccountStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountStatus.Descriptor instead.
func (AccountStatus) Number ¶
func (x AccountStatus) Number() protoreflect.EnumNumber
func (AccountStatus) String ¶
func (x AccountStatus) String() string
func (AccountStatus) Type ¶
func (AccountStatus) Type() protoreflect.EnumType
type AccountStatusRequest ¶
type AccountStatusRequest struct {
// contains filtered or unexported fields
}
func (*AccountStatusRequest) Descriptor
deprecated
func (*AccountStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountStatusRequest.ProtoReflect.Descriptor instead.
func (*AccountStatusRequest) ProtoMessage ¶
func (*AccountStatusRequest) ProtoMessage()
func (*AccountStatusRequest) ProtoReflect ¶
func (x *AccountStatusRequest) ProtoReflect() protoreflect.Message
func (*AccountStatusRequest) Reset ¶
func (x *AccountStatusRequest) Reset()
func (*AccountStatusRequest) String ¶
func (x *AccountStatusRequest) String() string
type AccountStatusResponse ¶
type AccountStatusResponse struct { Status AccountStatus `protobuf:"varint,1,opt,name=status,proto3,enum=service.AccountStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AccountStatusResponse) Descriptor
deprecated
func (*AccountStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountStatusResponse.ProtoReflect.Descriptor instead.
func (*AccountStatusResponse) GetStatus ¶
func (x *AccountStatusResponse) GetStatus() AccountStatus
func (*AccountStatusResponse) ProtoMessage ¶
func (*AccountStatusResponse) ProtoMessage()
func (*AccountStatusResponse) ProtoReflect ¶
func (x *AccountStatusResponse) ProtoReflect() protoreflect.Message
func (*AccountStatusResponse) Reset ¶
func (x *AccountStatusResponse) Reset()
func (*AccountStatusResponse) String ¶
func (x *AccountStatusResponse) 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 AuthStatus ¶
type AuthStatus int32
const ( AuthUnknown AuthStatus = 0 AuthSetupNeeded AuthStatus = 1 AuthUnlocked AuthStatus = 2 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 AuthStatusRequest ¶
type AuthStatusRequest struct {
// contains filtered or unexported fields
}
func (*AuthStatusRequest) Descriptor
deprecated
func (*AuthStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthStatusRequest.ProtoReflect.Descriptor instead.
func (*AuthStatusRequest) ProtoMessage ¶
func (*AuthStatusRequest) ProtoMessage()
func (*AuthStatusRequest) ProtoReflect ¶
func (x *AuthStatusRequest) ProtoReflect() protoreflect.Message
func (*AuthStatusRequest) Reset ¶
func (x *AuthStatusRequest) Reset()
func (*AuthStatusRequest) String ¶
func (x *AuthStatusRequest) String() string
type AuthStatusResponse ¶
type AuthStatusResponse struct { Status AuthStatus `protobuf:"varint,1,opt,name=status,proto3,enum=service.AuthStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AuthStatusResponse) Descriptor
deprecated
func (*AuthStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthStatusResponse.ProtoReflect.Descriptor instead.
func (*AuthStatusResponse) GetStatus ¶
func (x *AuthStatusResponse) GetStatus() AuthStatus
func (*AuthStatusResponse) ProtoMessage ¶
func (*AuthStatusResponse) ProtoMessage()
func (*AuthStatusResponse) ProtoReflect ¶
func (x *AuthStatusResponse) ProtoReflect() protoreflect.Message
func (*AuthStatusResponse) Reset ¶
func (x *AuthStatusResponse) Reset()
func (*AuthStatusResponse) String ¶
func (x *AuthStatusResponse) String() string
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 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"` Type ChannelType `protobuf:"varint,3,opt,name=type,proto3,enum=service.ChannelType" json:"type,omitempty"` Snippet string `protobuf:"bytes,10,opt,name=snippet,proto3" json:"snippet,omitempty"` UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Index int64 `protobuf:"varint,20,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetSnippet ¶
func (*Channel) GetType ¶
func (x *Channel) GetType() ChannelType
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"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Private bool `protobuf:"varint,10,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*ChannelCreateRequest) Descriptor
deprecated
func (*ChannelCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCreateRequest.ProtoReflect.Descriptor instead.
func (*ChannelCreateRequest) GetDescription ¶
func (x *ChannelCreateRequest) GetDescription() string
func (*ChannelCreateRequest) GetName ¶
func (x *ChannelCreateRequest) GetName() string
func (*ChannelCreateRequest) GetPrivate ¶
func (x *ChannelCreateRequest) GetPrivate() bool
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 { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ChannelCreateResponse) Descriptor
deprecated
func (*ChannelCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCreateResponse.ProtoReflect.Descriptor instead.
func (*ChannelCreateResponse) GetID ¶
func (x *ChannelCreateResponse) GetID() string
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"` // 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) 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 ChannelType ¶
type ChannelType int32
const ( UnknownChannelType ChannelType = 0 TeamChannelType ChannelType = 1 UsersChannelType ChannelType = 2 )
func (ChannelType) Descriptor ¶
func (ChannelType) Descriptor() protoreflect.EnumDescriptor
func (ChannelType) Enum ¶
func (x ChannelType) Enum() *ChannelType
func (ChannelType) EnumDescriptor
deprecated
func (ChannelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelType.Descriptor instead.
func (ChannelType) Number ¶
func (x ChannelType) Number() protoreflect.EnumNumber
func (ChannelType) String ¶
func (x ChannelType) String() string
func (ChannelType) Type ¶
func (ChannelType) Type() protoreflect.EnumType
type ChannelUser ¶
type ChannelUser 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"` // contains filtered or unexported fields }
func (*ChannelUser) Descriptor
deprecated
func (*ChannelUser) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUser.ProtoReflect.Descriptor instead.
func (*ChannelUser) GetID ¶
func (x *ChannelUser) GetID() string
func (*ChannelUser) GetName ¶
func (x *ChannelUser) GetName() string
func (*ChannelUser) ProtoMessage ¶
func (*ChannelUser) ProtoMessage()
func (*ChannelUser) ProtoReflect ¶
func (x *ChannelUser) ProtoReflect() protoreflect.Message
func (*ChannelUser) Reset ¶
func (x *ChannelUser) Reset()
func (*ChannelUser) String ¶
func (x *ChannelUser) String() string
type ChannelUsersAddRequest ¶
type ChannelUsersAddRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ChannelUsersAddRequest) Descriptor
deprecated
func (*ChannelUsersAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUsersAddRequest.ProtoReflect.Descriptor instead.
func (*ChannelUsersAddRequest) GetChannel ¶
func (x *ChannelUsersAddRequest) GetChannel() string
func (*ChannelUsersAddRequest) GetUsers ¶
func (x *ChannelUsersAddRequest) GetUsers() []string
func (*ChannelUsersAddRequest) ProtoMessage ¶
func (*ChannelUsersAddRequest) ProtoMessage()
func (*ChannelUsersAddRequest) ProtoReflect ¶
func (x *ChannelUsersAddRequest) ProtoReflect() protoreflect.Message
func (*ChannelUsersAddRequest) Reset ¶
func (x *ChannelUsersAddRequest) Reset()
func (*ChannelUsersAddRequest) String ¶
func (x *ChannelUsersAddRequest) String() string
type ChannelUsersAddResponse ¶
type ChannelUsersAddResponse struct {
// contains filtered or unexported fields
}
func (*ChannelUsersAddResponse) Descriptor
deprecated
func (*ChannelUsersAddResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUsersAddResponse.ProtoReflect.Descriptor instead.
func (*ChannelUsersAddResponse) ProtoMessage ¶
func (*ChannelUsersAddResponse) ProtoMessage()
func (*ChannelUsersAddResponse) ProtoReflect ¶
func (x *ChannelUsersAddResponse) ProtoReflect() protoreflect.Message
func (*ChannelUsersAddResponse) Reset ¶
func (x *ChannelUsersAddResponse) Reset()
func (*ChannelUsersAddResponse) String ¶
func (x *ChannelUsersAddResponse) String() string
type ChannelUsersRemoveRequest ¶
type ChannelUsersRemoveRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ChannelUsersRemoveRequest) Descriptor
deprecated
func (*ChannelUsersRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUsersRemoveRequest.ProtoReflect.Descriptor instead.
func (*ChannelUsersRemoveRequest) GetChannel ¶
func (x *ChannelUsersRemoveRequest) GetChannel() string
func (*ChannelUsersRemoveRequest) GetUsers ¶
func (x *ChannelUsersRemoveRequest) GetUsers() []string
func (*ChannelUsersRemoveRequest) ProtoMessage ¶
func (*ChannelUsersRemoveRequest) ProtoMessage()
func (*ChannelUsersRemoveRequest) ProtoReflect ¶
func (x *ChannelUsersRemoveRequest) ProtoReflect() protoreflect.Message
func (*ChannelUsersRemoveRequest) Reset ¶
func (x *ChannelUsersRemoveRequest) Reset()
func (*ChannelUsersRemoveRequest) String ¶
func (x *ChannelUsersRemoveRequest) String() string
type ChannelUsersRemoveResponse ¶
type ChannelUsersRemoveResponse struct {
// contains filtered or unexported fields
}
func (*ChannelUsersRemoveResponse) Descriptor
deprecated
func (*ChannelUsersRemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUsersRemoveResponse.ProtoReflect.Descriptor instead.
func (*ChannelUsersRemoveResponse) ProtoMessage ¶
func (*ChannelUsersRemoveResponse) ProtoMessage()
func (*ChannelUsersRemoveResponse) ProtoReflect ¶
func (x *ChannelUsersRemoveResponse) ProtoReflect() protoreflect.Message
func (*ChannelUsersRemoveResponse) Reset ¶
func (x *ChannelUsersRemoveResponse) Reset()
func (*ChannelUsersRemoveResponse) String ¶
func (x *ChannelUsersRemoveResponse) String() string
type ChannelUsersRequest ¶
type ChannelUsersRequest struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*ChannelUsersRequest) Descriptor
deprecated
func (*ChannelUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUsersRequest.ProtoReflect.Descriptor instead.
func (*ChannelUsersRequest) GetChannel ¶
func (x *ChannelUsersRequest) GetChannel() string
func (*ChannelUsersRequest) ProtoMessage ¶
func (*ChannelUsersRequest) ProtoMessage()
func (*ChannelUsersRequest) ProtoReflect ¶
func (x *ChannelUsersRequest) ProtoReflect() protoreflect.Message
func (*ChannelUsersRequest) Reset ¶
func (x *ChannelUsersRequest) Reset()
func (*ChannelUsersRequest) String ¶
func (x *ChannelUsersRequest) String() string
type ChannelUsersResponse ¶
type ChannelUsersResponse struct { Users []*ChannelUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ChannelUsersResponse) Descriptor
deprecated
func (*ChannelUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUsersResponse.ProtoReflect.Descriptor instead.
func (*ChannelUsersResponse) GetUsers ¶
func (x *ChannelUsersResponse) GetUsers() []*ChannelUser
func (*ChannelUsersResponse) ProtoMessage ¶
func (*ChannelUsersResponse) ProtoMessage()
func (*ChannelUsersResponse) ProtoReflect ¶
func (x *ChannelUsersResponse) ProtoReflect() protoreflect.Message
func (*ChannelUsersResponse) Reset ¶
func (x *ChannelUsersResponse) Reset()
func (*ChannelUsersResponse) String ¶
func (x *ChannelUsersResponse) String() string
type ChannelsRequest ¶
type ChannelsRequest struct { Update bool `protobuf:"varint,1,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*ChannelsRequest) Descriptor
deprecated
func (*ChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelsRequest.ProtoReflect.Descriptor instead.
func (*ChannelsRequest) GetUpdate ¶
func (x *ChannelsRequest) GetUpdate() bool
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 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 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 DocumentsRequest ¶
type DocumentsRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,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) GetPath ¶
func (x *DocumentsRequest) GetPath() 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 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.
func (Env) KeysPubServerURL ¶
KeysPubServerURL to connect to.
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 string `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 MessagePrepareRequest ¶
type MessagePrepareRequest struct { Channel string `protobuf:"bytes,1,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) 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 MessageSendRequest ¶
type MessageSendRequest struct { Channel string `protobuf:"bytes,1,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 (*MessageSendRequest) Descriptor
deprecated
func (*MessageSendRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageSendRequest.ProtoReflect.Descriptor instead.
func (*MessageSendRequest) GetChannel ¶
func (x *MessageSendRequest) GetChannel() string
func (*MessageSendRequest) GetID ¶
func (x *MessageSendRequest) GetID() string
func (*MessageSendRequest) GetText ¶
func (x *MessageSendRequest) GetText() string
func (*MessageSendRequest) ProtoMessage ¶
func (*MessageSendRequest) ProtoMessage()
func (*MessageSendRequest) ProtoReflect ¶
func (x *MessageSendRequest) ProtoReflect() protoreflect.Message
func (*MessageSendRequest) Reset ¶
func (x *MessageSendRequest) Reset()
func (*MessageSendRequest) String ¶
func (x *MessageSendRequest) String() string
type MessageSendResponse ¶
type MessageSendResponse struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*MessageSendResponse) Descriptor
deprecated
func (*MessageSendResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageSendResponse.ProtoReflect.Descriptor instead.
func (*MessageSendResponse) GetMessage ¶
func (x *MessageSendResponse) GetMessage() *Message
func (*MessageSendResponse) ProtoMessage ¶
func (*MessageSendResponse) ProtoMessage()
func (*MessageSendResponse) ProtoReflect ¶
func (x *MessageSendResponse) ProtoReflect() protoreflect.Message
func (*MessageSendResponse) Reset ¶
func (x *MessageSendResponse) Reset()
func (*MessageSendResponse) String ¶
func (x *MessageSendResponse) 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 MessagesOpts ¶
type MessagesOpts struct { // Index to list to/from Index int64 // Order ascending or descending Order events.Direction // Limit by Limit int }
MessagesOpts options for Messages.
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 RPCClient ¶
type RPCClient interface { // BEGIN NO AUTH AuthStatus(ctx context.Context, in *AuthStatusRequest, opts ...grpc.CallOption) (*AuthStatusResponse, error) AuthUnlock(ctx context.Context, in *AuthUnlockRequest, opts ...grpc.CallOption) (*AuthUnlockResponse, error) AuthLock(ctx context.Context, in *AuthLockRequest, opts ...grpc.CallOption) (*AuthLockResponse, error) Rand(ctx context.Context, in *RandRequest, opts ...grpc.CallOption) (*RandResponse, error) RandPassword(ctx context.Context, in *RandPasswordRequest, opts ...grpc.CallOption) (*RandPasswordResponse, error) AccountRegister(ctx context.Context, in *AccountRegisterRequest, opts ...grpc.CallOption) (*AccountRegisterResponse, error) AccountCreate(ctx context.Context, in *AccountCreateRequest, opts ...grpc.CallOption) (*AccountCreateResponse, error) AccountStatus(ctx context.Context, in *AccountStatusRequest, opts ...grpc.CallOption) (*AccountStatusResponse, error) AccountInvite(ctx context.Context, in *AccountInviteRequest, opts ...grpc.CallOption) (*AccountInviteResponse, error) AccountInviteAccept(ctx context.Context, in *AccountInviteAcceptRequest, opts ...grpc.CallOption) (*AccountInviteAcceptResponse, error) AccountSetUsername(ctx context.Context, in *AccountSetUsernameRequest, opts ...grpc.CallOption) (*AccountSetUsernameResponse, error) TeamCreate(ctx context.Context, in *TeamCreateRequest, opts ...grpc.CallOption) (*TeamCreateResponse, error) // Channels Channels(ctx context.Context, in *ChannelsRequest, opts ...grpc.CallOption) (*ChannelsResponse, error) ChannelCreate(ctx context.Context, in *ChannelCreateRequest, opts ...grpc.CallOption) (*ChannelCreateResponse, error) ChannelLeave(ctx context.Context, in *ChannelLeaveRequest, opts ...grpc.CallOption) (*ChannelLeaveResponse, error) ChannelRead(ctx context.Context, in *ChannelReadRequest, opts ...grpc.CallOption) (*ChannelReadResponse, error) ChannelUsers(ctx context.Context, in *ChannelUsersRequest, opts ...grpc.CallOption) (*ChannelUsersResponse, error) ChannelUsersAdd(ctx context.Context, in *ChannelUsersAddRequest, opts ...grpc.CallOption) (*ChannelUsersAddResponse, error) ChannelUsersRemove(ctx context.Context, in *ChannelUsersRemoveRequest, opts ...grpc.CallOption) (*ChannelUsersRemoveResponse, error) // Messages MessagePrepare(ctx context.Context, in *MessagePrepareRequest, opts ...grpc.CallOption) (*MessagePrepareResponse, error) MessageSend(ctx context.Context, in *MessageSendRequest, opts ...grpc.CallOption) (*MessageSendResponse, 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) // DB Collections(ctx context.Context, in *CollectionsRequest, opts ...grpc.CallOption) (*CollectionsResponse, error) Documents(ctx context.Context, in *DocumentsRequest, opts ...grpc.CallOption) (*DocumentsResponse, 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 { // BEGIN NO AUTH AuthStatus(context.Context, *AuthStatusRequest) (*AuthStatusResponse, error) AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error) AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error) Rand(context.Context, *RandRequest) (*RandResponse, error) RandPassword(context.Context, *RandPasswordRequest) (*RandPasswordResponse, error) AccountRegister(context.Context, *AccountRegisterRequest) (*AccountRegisterResponse, error) AccountCreate(context.Context, *AccountCreateRequest) (*AccountCreateResponse, error) AccountStatus(context.Context, *AccountStatusRequest) (*AccountStatusResponse, error) AccountInvite(context.Context, *AccountInviteRequest) (*AccountInviteResponse, error) AccountInviteAccept(context.Context, *AccountInviteAcceptRequest) (*AccountInviteAcceptResponse, error) AccountSetUsername(context.Context, *AccountSetUsernameRequest) (*AccountSetUsernameResponse, error) TeamCreate(context.Context, *TeamCreateRequest) (*TeamCreateResponse, error) // Channels Channels(context.Context, *ChannelsRequest) (*ChannelsResponse, error) ChannelCreate(context.Context, *ChannelCreateRequest) (*ChannelCreateResponse, error) ChannelLeave(context.Context, *ChannelLeaveRequest) (*ChannelLeaveResponse, error) ChannelRead(context.Context, *ChannelReadRequest) (*ChannelReadResponse, error) ChannelUsers(context.Context, *ChannelUsersRequest) (*ChannelUsersResponse, error) ChannelUsersAdd(context.Context, *ChannelUsersAddRequest) (*ChannelUsersAddResponse, error) ChannelUsersRemove(context.Context, *ChannelUsersRemoveRequest) (*ChannelUsersRemoveResponse, error) // Messages MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error) MessageSend(context.Context, *MessageSendRequest) (*MessageSendResponse, error) Messages(context.Context, *MessagesRequest) (*MessagesResponse, error) // Relay Relay(*RelayRequest, RPC_RelayServer) error // DB Collections(context.Context, *CollectionsRequest) (*CollectionsResponse, error) Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error) // contains filtered or unexported methods }
RPCServer is the server API for RPC service. All implementations must embed UnimplementedRPCServer for forward compatibility
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 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 { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Channel *RelayOutput_Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,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() *RelayOutput_Channel
func (*RelayOutput) GetType ¶
func (x *RelayOutput) GetType() 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 RelayOutput_Channel ¶
type RelayOutput_Channel struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*RelayOutput_Channel) Descriptor
deprecated
func (*RelayOutput_Channel) Descriptor() ([]byte, []int)
Deprecated: Use RelayOutput_Channel.ProtoReflect.Descriptor instead.
func (*RelayOutput_Channel) GetID ¶
func (x *RelayOutput_Channel) GetID() string
func (*RelayOutput_Channel) GetIndex ¶
func (x *RelayOutput_Channel) GetIndex() int64
func (*RelayOutput_Channel) ProtoMessage ¶
func (*RelayOutput_Channel) ProtoMessage()
func (*RelayOutput_Channel) ProtoReflect ¶
func (x *RelayOutput_Channel) ProtoReflect() protoreflect.Message
func (*RelayOutput_Channel) Reset ¶
func (x *RelayOutput_Channel) Reset()
func (*RelayOutput_Channel) String ¶
func (x *RelayOutput_Channel) String() string
type RelayRequest ¶
type RelayRequest struct {
// contains filtered or unexported fields
}
func (*RelayRequest) Descriptor
deprecated
func (*RelayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelayRequest.ProtoReflect.Descriptor instead.
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 Team ¶
type Team struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Team) Descriptor
deprecated
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message
type TeamCreateRequest ¶
type TeamCreateRequest struct { TeamKey string `protobuf:"bytes,1,opt,name=teamKey,proto3" json:"teamKey,omitempty"` // contains filtered or unexported fields }
func (*TeamCreateRequest) Descriptor
deprecated
func (*TeamCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TeamCreateRequest.ProtoReflect.Descriptor instead.
func (*TeamCreateRequest) GetTeamKey ¶
func (x *TeamCreateRequest) GetTeamKey() string
func (*TeamCreateRequest) ProtoMessage ¶
func (*TeamCreateRequest) ProtoMessage()
func (*TeamCreateRequest) ProtoReflect ¶
func (x *TeamCreateRequest) ProtoReflect() protoreflect.Message
func (*TeamCreateRequest) Reset ¶
func (x *TeamCreateRequest) Reset()
func (*TeamCreateRequest) String ¶
func (x *TeamCreateRequest) String() string
type TeamCreateResponse ¶
type TeamCreateResponse struct {
// contains filtered or unexported fields
}
func (*TeamCreateResponse) Descriptor
deprecated
func (*TeamCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TeamCreateResponse.ProtoReflect.Descriptor instead.
func (*TeamCreateResponse) ProtoMessage ¶
func (*TeamCreateResponse) ProtoMessage()
func (*TeamCreateResponse) ProtoReflect ¶
func (x *TeamCreateResponse) ProtoReflect() protoreflect.Message
func (*TeamCreateResponse) Reset ¶
func (x *TeamCreateResponse) Reset()
func (*TeamCreateResponse) String ¶
func (x *TeamCreateResponse) String() string
type UnimplementedRPCServer ¶
type UnimplementedRPCServer struct { }
UnimplementedRPCServer must be embedded to have forward compatible implementations.
func (*UnimplementedRPCServer) AccountCreate ¶
func (*UnimplementedRPCServer) AccountCreate(context.Context, *AccountCreateRequest) (*AccountCreateResponse, error)
func (*UnimplementedRPCServer) AccountInvite ¶
func (*UnimplementedRPCServer) AccountInvite(context.Context, *AccountInviteRequest) (*AccountInviteResponse, error)
func (*UnimplementedRPCServer) AccountInviteAccept ¶
func (*UnimplementedRPCServer) AccountInviteAccept(context.Context, *AccountInviteAcceptRequest) (*AccountInviteAcceptResponse, error)
func (*UnimplementedRPCServer) AccountRegister ¶
func (*UnimplementedRPCServer) AccountRegister(context.Context, *AccountRegisterRequest) (*AccountRegisterResponse, error)
func (*UnimplementedRPCServer) AccountSetUsername ¶
func (*UnimplementedRPCServer) AccountSetUsername(context.Context, *AccountSetUsernameRequest) (*AccountSetUsernameResponse, error)
func (*UnimplementedRPCServer) AccountStatus ¶
func (*UnimplementedRPCServer) AccountStatus(context.Context, *AccountStatusRequest) (*AccountStatusResponse, error)
func (*UnimplementedRPCServer) AuthLock ¶
func (*UnimplementedRPCServer) AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error)
func (*UnimplementedRPCServer) AuthStatus ¶
func (*UnimplementedRPCServer) AuthStatus(context.Context, *AuthStatusRequest) (*AuthStatusResponse, error)
func (*UnimplementedRPCServer) AuthUnlock ¶
func (*UnimplementedRPCServer) AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error)
func (*UnimplementedRPCServer) ChannelCreate ¶
func (*UnimplementedRPCServer) ChannelCreate(context.Context, *ChannelCreateRequest) (*ChannelCreateResponse, 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) ChannelUsers ¶
func (*UnimplementedRPCServer) ChannelUsers(context.Context, *ChannelUsersRequest) (*ChannelUsersResponse, error)
func (*UnimplementedRPCServer) ChannelUsersAdd ¶
func (*UnimplementedRPCServer) ChannelUsersAdd(context.Context, *ChannelUsersAddRequest) (*ChannelUsersAddResponse, error)
func (*UnimplementedRPCServer) ChannelUsersRemove ¶
func (*UnimplementedRPCServer) ChannelUsersRemove(context.Context, *ChannelUsersRemoveRequest) (*ChannelUsersRemoveResponse, 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) Documents ¶
func (*UnimplementedRPCServer) Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error)
func (*UnimplementedRPCServer) MessagePrepare ¶
func (*UnimplementedRPCServer) MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error)
func (*UnimplementedRPCServer) MessageSend ¶
func (*UnimplementedRPCServer) MessageSend(context.Context, *MessageSendRequest) (*MessageSendResponse, error)
func (*UnimplementedRPCServer) Messages ¶
func (*UnimplementedRPCServer) Messages(context.Context, *MessagesRequest) (*MessagesResponse, 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) TeamCreate ¶
func (*UnimplementedRPCServer) TeamCreate(context.Context, *TeamCreateRequest) (*TeamCreateResponse, error)