Documentation ¶
Overview ¶
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
- func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterCollectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCollectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CollectionServiceClient) error
- func RegisterCollectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCollectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CollectionServiceServer) error
- func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)
- func RegisterShortcutServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterShortcutServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShortcutServiceClient) error
- func RegisterShortcutServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterShortcutServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShortcutServiceServer) error
- func RegisterShortcutServiceServer(s grpc.ServiceRegistrar, srv ShortcutServiceServer)
- func RegisterSubscriptionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSubscriptionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SubscriptionServiceClient) error
- func RegisterSubscriptionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSubscriptionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SubscriptionServiceServer) error
- func RegisterSubscriptionServiceServer(s grpc.ServiceRegistrar, srv SubscriptionServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterUserSettingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserSettingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserSettingServiceClient) error
- func RegisterUserSettingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserSettingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserSettingServiceServer) error
- func RegisterUserSettingServiceServer(s grpc.ServiceRegistrar, srv UserSettingServiceServer)
- func RegisterWorkspaceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWorkspaceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkspaceServiceClient) error
- func RegisterWorkspaceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWorkspaceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkspaceServiceServer) error
- func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type AutoBackupWorkspaceSetting
- func (*AutoBackupWorkspaceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *AutoBackupWorkspaceSetting) GetCronExpression() string
- func (x *AutoBackupWorkspaceSetting) GetEnabled() bool
- func (x *AutoBackupWorkspaceSetting) GetMaxKeep() int32
- func (*AutoBackupWorkspaceSetting) ProtoMessage()
- func (x *AutoBackupWorkspaceSetting) ProtoReflect() protoreflect.Message
- func (x *AutoBackupWorkspaceSetting) Reset()
- func (x *AutoBackupWorkspaceSetting) String() string
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetCreatedTime() *timestamppb.Timestamp
- func (x *Collection) GetCreatorId() int32
- func (x *Collection) GetDescription() string
- func (x *Collection) GetId() int32
- func (x *Collection) GetName() string
- func (x *Collection) GetShortcutIds() []int32
- func (x *Collection) GetTitle() string
- func (x *Collection) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Collection) GetVisibility() Visibility
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type CollectionServiceClient
- type CollectionServiceServer
- type CreateCollectionRequest
- func (*CreateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionRequest) GetCollection() *Collection
- func (*CreateCollectionRequest) ProtoMessage()
- func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionRequest) Reset()
- func (x *CreateCollectionRequest) String() string
- type CreateCollectionResponse
- func (*CreateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionResponse) GetCollection() *Collection
- func (*CreateCollectionResponse) ProtoMessage()
- func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionResponse) Reset()
- func (x *CreateCollectionResponse) String() string
- type CreateShortcutRequest
- func (*CreateShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShortcutRequest) GetShortcut() *Shortcut
- func (*CreateShortcutRequest) ProtoMessage()
- func (x *CreateShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *CreateShortcutRequest) Reset()
- func (x *CreateShortcutRequest) String() string
- type CreateShortcutResponse
- func (*CreateShortcutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShortcutResponse) GetShortcut() *Shortcut
- func (*CreateShortcutResponse) ProtoMessage()
- func (x *CreateShortcutResponse) ProtoReflect() protoreflect.Message
- func (x *CreateShortcutResponse) Reset()
- func (x *CreateShortcutResponse) String() string
- type CreateUserAccessTokenRequest
- func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccessTokenRequest) GetDescription() string
- func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp
- func (x *CreateUserAccessTokenRequest) GetId() int32
- func (*CreateUserAccessTokenRequest) ProtoMessage()
- func (x *CreateUserAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserAccessTokenRequest) Reset()
- func (x *CreateUserAccessTokenRequest) String() string
- type CreateUserAccessTokenResponse
- func (*CreateUserAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccessTokenResponse) GetAccessToken() *UserAccessToken
- func (*CreateUserAccessTokenResponse) ProtoMessage()
- func (x *CreateUserAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserAccessTokenResponse) Reset()
- func (x *CreateUserAccessTokenResponse) String() string
- type CreateUserRequest
- type CreateUserResponse
- type DeleteCollectionRequest
- func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCollectionRequest) GetId() int32
- func (*DeleteCollectionRequest) ProtoMessage()
- func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCollectionRequest) Reset()
- func (x *DeleteCollectionRequest) String() string
- type DeleteCollectionResponse
- type DeleteShortcutRequest
- func (*DeleteShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteShortcutRequest) GetId() int32
- func (*DeleteShortcutRequest) ProtoMessage()
- func (x *DeleteShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteShortcutRequest) Reset()
- func (x *DeleteShortcutRequest) String() string
- type DeleteShortcutResponse
- type DeleteUserAccessTokenRequest
- func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserAccessTokenRequest) GetAccessToken() string
- func (x *DeleteUserAccessTokenRequest) GetId() int32
- func (*DeleteUserAccessTokenRequest) ProtoMessage()
- func (x *DeleteUserAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserAccessTokenRequest) Reset()
- func (x *DeleteUserAccessTokenRequest) String() string
- type DeleteUserAccessTokenResponse
- func (*DeleteUserAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserAccessTokenResponse) ProtoMessage()
- func (x *DeleteUserAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserAccessTokenResponse) Reset()
- func (x *DeleteUserAccessTokenResponse) String() string
- type DeleteUserRequest
- type DeleteUserResponse
- type GetAuthStatusRequest
- type GetAuthStatusResponse
- func (*GetAuthStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthStatusResponse) GetUser() *User
- func (*GetAuthStatusResponse) ProtoMessage()
- func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthStatusResponse) Reset()
- func (x *GetAuthStatusResponse) String() string
- type GetCollectionByNameRequest
- func (*GetCollectionByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionByNameRequest) GetName() string
- func (*GetCollectionByNameRequest) ProtoMessage()
- func (x *GetCollectionByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionByNameRequest) Reset()
- func (x *GetCollectionByNameRequest) String() string
- type GetCollectionByNameResponse
- func (*GetCollectionByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionByNameResponse) GetCollection() *Collection
- func (*GetCollectionByNameResponse) ProtoMessage()
- func (x *GetCollectionByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionByNameResponse) Reset()
- func (x *GetCollectionByNameResponse) String() string
- type GetCollectionRequest
- func (*GetCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionRequest) GetId() int32
- func (*GetCollectionRequest) ProtoMessage()
- func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionRequest) Reset()
- func (x *GetCollectionRequest) String() string
- type GetCollectionResponse
- func (*GetCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionResponse) GetCollection() *Collection
- func (*GetCollectionResponse) ProtoMessage()
- func (x *GetCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionResponse) Reset()
- func (x *GetCollectionResponse) String() string
- type GetShortcutAnalyticsRequest
- func (*GetShortcutAnalyticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutAnalyticsRequest) GetId() int32
- func (*GetShortcutAnalyticsRequest) ProtoMessage()
- func (x *GetShortcutAnalyticsRequest) ProtoReflect() protoreflect.Message
- func (x *GetShortcutAnalyticsRequest) Reset()
- func (x *GetShortcutAnalyticsRequest) String() string
- type GetShortcutAnalyticsResponse
- func (*GetShortcutAnalyticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutAnalyticsResponse) GetBrowsers() []*GetShortcutAnalyticsResponse_AnalyticsItem
- func (x *GetShortcutAnalyticsResponse) GetDevices() []*GetShortcutAnalyticsResponse_AnalyticsItem
- func (x *GetShortcutAnalyticsResponse) GetReferences() []*GetShortcutAnalyticsResponse_AnalyticsItem
- func (*GetShortcutAnalyticsResponse) ProtoMessage()
- func (x *GetShortcutAnalyticsResponse) ProtoReflect() protoreflect.Message
- func (x *GetShortcutAnalyticsResponse) Reset()
- func (x *GetShortcutAnalyticsResponse) String() string
- type GetShortcutAnalyticsResponse_AnalyticsItem
- func (*GetShortcutAnalyticsResponse_AnalyticsItem) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutAnalyticsResponse_AnalyticsItem) GetCount() int32
- func (x *GetShortcutAnalyticsResponse_AnalyticsItem) GetName() string
- func (*GetShortcutAnalyticsResponse_AnalyticsItem) ProtoMessage()
- func (x *GetShortcutAnalyticsResponse_AnalyticsItem) ProtoReflect() protoreflect.Message
- func (x *GetShortcutAnalyticsResponse_AnalyticsItem) Reset()
- func (x *GetShortcutAnalyticsResponse_AnalyticsItem) String() string
- type GetShortcutByNameRequest
- func (*GetShortcutByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutByNameRequest) GetName() string
- func (*GetShortcutByNameRequest) ProtoMessage()
- func (x *GetShortcutByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetShortcutByNameRequest) Reset()
- func (x *GetShortcutByNameRequest) String() string
- type GetShortcutByNameResponse
- func (*GetShortcutByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutByNameResponse) GetShortcut() *Shortcut
- func (*GetShortcutByNameResponse) ProtoMessage()
- func (x *GetShortcutByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetShortcutByNameResponse) Reset()
- func (x *GetShortcutByNameResponse) String() string
- type GetShortcutRequest
- type GetShortcutResponse
- func (*GetShortcutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetShortcutResponse) GetShortcut() *Shortcut
- func (*GetShortcutResponse) ProtoMessage()
- func (x *GetShortcutResponse) ProtoReflect() protoreflect.Message
- func (x *GetShortcutResponse) Reset()
- func (x *GetShortcutResponse) String() string
- type GetSubscriptionRequest
- type GetSubscriptionResponse
- func (*GetSubscriptionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionResponse) GetSubscription() *Subscription
- func (*GetSubscriptionResponse) ProtoMessage()
- func (x *GetSubscriptionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionResponse) Reset()
- func (x *GetSubscriptionResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type GetUserSettingRequest
- func (*GetUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingRequest) GetId() int32
- func (*GetUserSettingRequest) ProtoMessage()
- func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingRequest) Reset()
- func (x *GetUserSettingRequest) String() string
- type GetUserSettingResponse
- func (*GetUserSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingResponse) GetUserSetting() *UserSetting
- func (*GetUserSettingResponse) ProtoMessage()
- func (x *GetUserSettingResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingResponse) Reset()
- func (x *GetUserSettingResponse) String() string
- type GetWorkspaceProfileRequest
- type GetWorkspaceProfileResponse
- func (*GetWorkspaceProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkspaceProfileResponse) GetProfile() *WorkspaceProfile
- func (*GetWorkspaceProfileResponse) ProtoMessage()
- func (x *GetWorkspaceProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetWorkspaceProfileResponse) Reset()
- func (x *GetWorkspaceProfileResponse) String() string
- type GetWorkspaceSettingRequest
- type GetWorkspaceSettingResponse
- func (*GetWorkspaceSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkspaceSettingResponse) GetSetting() *WorkspaceSetting
- func (*GetWorkspaceSettingResponse) ProtoMessage()
- func (x *GetWorkspaceSettingResponse) ProtoReflect() protoreflect.Message
- func (x *GetWorkspaceSettingResponse) Reset()
- func (x *GetWorkspaceSettingResponse) String() string
- type ListCollectionsRequest
- type ListCollectionsResponse
- func (*ListCollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionsResponse) GetCollections() []*Collection
- func (*ListCollectionsResponse) ProtoMessage()
- func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionsResponse) Reset()
- func (x *ListCollectionsResponse) String() string
- type ListShortcutsRequest
- type ListShortcutsResponse
- func (*ListShortcutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListShortcutsResponse) GetShortcuts() []*Shortcut
- func (*ListShortcutsResponse) ProtoMessage()
- func (x *ListShortcutsResponse) ProtoReflect() protoreflect.Message
- func (x *ListShortcutsResponse) Reset()
- func (x *ListShortcutsResponse) String() string
- type ListUserAccessTokensRequest
- func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAccessTokensRequest) GetId() int32
- func (*ListUserAccessTokensRequest) ProtoMessage()
- func (x *ListUserAccessTokensRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserAccessTokensRequest) Reset()
- func (x *ListUserAccessTokensRequest) String() string
- type ListUserAccessTokensResponse
- func (*ListUserAccessTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAccessTokensResponse) GetAccessTokens() []*UserAccessToken
- func (*ListUserAccessTokensResponse) ProtoMessage()
- func (x *ListUserAccessTokensResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserAccessTokensResponse) Reset()
- func (x *ListUserAccessTokensResponse) String() string
- type ListUsersRequest
- type ListUsersResponse
- type OpenGraphMetadata
- func (*OpenGraphMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OpenGraphMetadata) GetDescription() string
- func (x *OpenGraphMetadata) GetImage() string
- func (x *OpenGraphMetadata) GetTitle() string
- func (*OpenGraphMetadata) ProtoMessage()
- func (x *OpenGraphMetadata) ProtoReflect() protoreflect.Message
- func (x *OpenGraphMetadata) Reset()
- func (x *OpenGraphMetadata) String() string
- type PlanType
- type Role
- type RowStatus
- type Shortcut
- func (*Shortcut) Descriptor() ([]byte, []int)deprecated
- func (x *Shortcut) GetCreatedTime() *timestamppb.Timestamp
- func (x *Shortcut) GetCreatorId() int32
- func (x *Shortcut) GetDescription() string
- func (x *Shortcut) GetId() int32
- func (x *Shortcut) GetLink() string
- func (x *Shortcut) GetName() string
- func (x *Shortcut) GetOgMetadata() *OpenGraphMetadata
- func (x *Shortcut) GetRowStatus() RowStatus
- func (x *Shortcut) GetTags() []string
- func (x *Shortcut) GetTitle() string
- func (x *Shortcut) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Shortcut) GetViewCount() int32
- func (x *Shortcut) GetVisibility() Visibility
- func (*Shortcut) ProtoMessage()
- func (x *Shortcut) ProtoReflect() protoreflect.Message
- func (x *Shortcut) Reset()
- func (x *Shortcut) String() string
- type ShortcutServiceClient
- type ShortcutServiceServer
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetEmail() string
- func (x *SignInRequest) GetPassword() string
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- type SignInResponse
- type SignOutRequest
- type SignOutResponse
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpRequest) GetEmail() string
- func (x *SignUpRequest) GetNickname() string
- func (x *SignUpRequest) GetPassword() string
- func (*SignUpRequest) ProtoMessage()
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpRequest) Reset()
- func (x *SignUpRequest) String() string
- type SignUpResponse
- type Subscription
- func (*Subscription) Descriptor() ([]byte, []int)deprecated
- func (x *Subscription) GetExpiresTime() *timestamppb.Timestamp
- func (x *Subscription) GetPlan() PlanType
- func (x *Subscription) GetStartedTime() *timestamppb.Timestamp
- func (*Subscription) ProtoMessage()
- func (x *Subscription) ProtoReflect() protoreflect.Message
- func (x *Subscription) Reset()
- func (x *Subscription) String() string
- type SubscriptionServiceClient
- type SubscriptionServiceServer
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
- func (UnimplementedAuthServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
- func (UnimplementedAuthServiceServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
- type UnimplementedCollectionServiceServer
- func (UnimplementedCollectionServiceServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) GetCollectionByName(context.Context, *GetCollectionByNameRequest) (*GetCollectionByNameResponse, error)
- func (UnimplementedCollectionServiceServer) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
- func (UnimplementedCollectionServiceServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
- type UnimplementedShortcutServiceServer
- func (UnimplementedShortcutServiceServer) CreateShortcut(context.Context, *CreateShortcutRequest) (*CreateShortcutResponse, error)
- func (UnimplementedShortcutServiceServer) DeleteShortcut(context.Context, *DeleteShortcutRequest) (*DeleteShortcutResponse, error)
- func (UnimplementedShortcutServiceServer) GetShortcut(context.Context, *GetShortcutRequest) (*GetShortcutResponse, error)
- func (UnimplementedShortcutServiceServer) GetShortcutAnalytics(context.Context, *GetShortcutAnalyticsRequest) (*GetShortcutAnalyticsResponse, error)
- func (UnimplementedShortcutServiceServer) GetShortcutByName(context.Context, *GetShortcutByNameRequest) (*GetShortcutByNameResponse, error)
- func (UnimplementedShortcutServiceServer) ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error)
- func (UnimplementedShortcutServiceServer) UpdateShortcut(context.Context, *UpdateShortcutRequest) (*UpdateShortcutResponse, error)
- type UnimplementedSubscriptionServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserServiceServer) DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
- func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- type UnimplementedUserSettingServiceServer
- type UnimplementedWorkspaceServiceServer
- func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error)
- func (UnimplementedWorkspaceServiceServer) GetWorkspaceSetting(context.Context, *GetWorkspaceSettingRequest) (*GetWorkspaceSettingResponse, error)
- func (UnimplementedWorkspaceServiceServer) UpdateWorkspaceSetting(context.Context, *UpdateWorkspaceSettingRequest) (*UpdateWorkspaceSettingResponse, error)
- type UnsafeAuthServiceServer
- type UnsafeCollectionServiceServer
- type UnsafeShortcutServiceServer
- type UnsafeSubscriptionServiceServer
- type UnsafeUserServiceServer
- type UnsafeUserSettingServiceServer
- type UnsafeWorkspaceServiceServer
- type UpdateCollectionRequest
- func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionRequest) GetCollection() *Collection
- func (x *UpdateCollectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCollectionRequest) ProtoMessage()
- func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionRequest) Reset()
- func (x *UpdateCollectionRequest) String() string
- type UpdateCollectionResponse
- func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionResponse) GetCollection() *Collection
- func (*UpdateCollectionResponse) ProtoMessage()
- func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionResponse) Reset()
- func (x *UpdateCollectionResponse) String() string
- type UpdateShortcutRequest
- func (*UpdateShortcutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateShortcutRequest) GetShortcut() *Shortcut
- func (x *UpdateShortcutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateShortcutRequest) ProtoMessage()
- func (x *UpdateShortcutRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateShortcutRequest) Reset()
- func (x *UpdateShortcutRequest) String() string
- type UpdateShortcutResponse
- func (*UpdateShortcutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateShortcutResponse) GetShortcut() *Shortcut
- func (*UpdateShortcutResponse) ProtoMessage()
- func (x *UpdateShortcutResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateShortcutResponse) Reset()
- func (x *UpdateShortcutResponse) String() string
- type UpdateSubscriptionRequest
- func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscriptionRequest) GetLicenseKey() string
- func (*UpdateSubscriptionRequest) ProtoMessage()
- func (x *UpdateSubscriptionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscriptionRequest) Reset()
- func (x *UpdateSubscriptionRequest) String() string
- type UpdateSubscriptionResponse
- func (*UpdateSubscriptionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSubscriptionResponse) GetSubscription() *Subscription
- func (*UpdateSubscriptionResponse) ProtoMessage()
- func (x *UpdateSubscriptionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSubscriptionResponse) Reset()
- func (x *UpdateSubscriptionResponse) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- type UpdateUserSettingRequest
- func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingRequest) GetId() int32
- func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserSettingRequest) GetUserSetting() *UserSetting
- func (*UpdateUserSettingRequest) ProtoMessage()
- func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingRequest) Reset()
- func (x *UpdateUserSettingRequest) String() string
- type UpdateUserSettingResponse
- func (*UpdateUserSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingResponse) GetUserSetting() *UserSetting
- func (*UpdateUserSettingResponse) ProtoMessage()
- func (x *UpdateUserSettingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingResponse) Reset()
- func (x *UpdateUserSettingResponse) String() string
- type UpdateWorkspaceSettingRequest
- func (*UpdateWorkspaceSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkspaceSettingRequest) GetSetting() *WorkspaceSetting
- func (x *UpdateWorkspaceSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateWorkspaceSettingRequest) ProtoMessage()
- func (x *UpdateWorkspaceSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkspaceSettingRequest) Reset()
- func (x *UpdateWorkspaceSettingRequest) String() string
- type UpdateWorkspaceSettingResponse
- func (*UpdateWorkspaceSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkspaceSettingResponse) GetSetting() *WorkspaceSetting
- func (*UpdateWorkspaceSettingResponse) ProtoMessage()
- func (x *UpdateWorkspaceSettingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkspaceSettingResponse) Reset()
- func (x *UpdateWorkspaceSettingResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedTime() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetId() int32
- func (x *User) GetNickname() string
- func (x *User) GetPassword() string
- func (x *User) GetRole() Role
- func (x *User) GetRowStatus() RowStatus
- func (x *User) GetUpdatedTime() *timestamppb.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserAccessToken
- func (*UserAccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *UserAccessToken) GetAccessToken() string
- func (x *UserAccessToken) GetDescription() string
- func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp
- func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp
- func (*UserAccessToken) ProtoMessage()
- func (x *UserAccessToken) ProtoReflect() protoreflect.Message
- func (x *UserAccessToken) Reset()
- func (x *UserAccessToken) String() string
- type UserServiceClient
- type UserServiceServer
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetColorTheme() UserSetting_ColorTheme
- func (x *UserSetting) GetId() int32
- func (x *UserSetting) GetLocale() UserSetting_Locale
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type UserSettingServiceClient
- type UserSettingServiceServer
- type UserSetting_ColorTheme
- func (UserSetting_ColorTheme) Descriptor() protoreflect.EnumDescriptor
- func (x UserSetting_ColorTheme) Enum() *UserSetting_ColorTheme
- func (UserSetting_ColorTheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSetting_ColorTheme) Number() protoreflect.EnumNumber
- func (x UserSetting_ColorTheme) String() string
- func (UserSetting_ColorTheme) Type() protoreflect.EnumType
- type UserSetting_Locale
- func (UserSetting_Locale) Descriptor() protoreflect.EnumDescriptor
- func (x UserSetting_Locale) Enum() *UserSetting_Locale
- func (UserSetting_Locale) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSetting_Locale) Number() protoreflect.EnumNumber
- func (x UserSetting_Locale) String() string
- func (UserSetting_Locale) Type() protoreflect.EnumType
- type Visibility
- type WorkspaceProfile
- func (*WorkspaceProfile) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceProfile) GetCustomScript() string
- func (x *WorkspaceProfile) GetCustomStyle() string
- func (x *WorkspaceProfile) GetEnableSignup() bool
- func (x *WorkspaceProfile) GetFaviconProvider() string
- func (x *WorkspaceProfile) GetMode() string
- func (x *WorkspaceProfile) GetPlan() PlanType
- func (x *WorkspaceProfile) GetVersion() string
- func (*WorkspaceProfile) ProtoMessage()
- func (x *WorkspaceProfile) ProtoReflect() protoreflect.Message
- func (x *WorkspaceProfile) Reset()
- func (x *WorkspaceProfile) String() string
- type WorkspaceServiceClient
- type WorkspaceServiceServer
- type WorkspaceSetting
- func (*WorkspaceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSetting) GetAutoBackup() *AutoBackupWorkspaceSetting
- func (x *WorkspaceSetting) GetCustomScript() string
- func (x *WorkspaceSetting) GetCustomStyle() string
- func (x *WorkspaceSetting) GetDefaultVisibility() Visibility
- func (x *WorkspaceSetting) GetEnableSignup() bool
- func (x *WorkspaceSetting) GetFaviconProvider() string
- func (x *WorkspaceSetting) GetInstanceUrl() string
- func (x *WorkspaceSetting) GetLicenseKey() string
- func (*WorkspaceSetting) ProtoMessage()
- func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSetting) Reset()
- func (x *WorkspaceSetting) String() string
Constants ¶
const ( AuthService_GetAuthStatus_FullMethodName = "/slash.api.v1.AuthService/GetAuthStatus" AuthService_SignIn_FullMethodName = "/slash.api.v1.AuthService/SignIn" AuthService_SignUp_FullMethodName = "/slash.api.v1.AuthService/SignUp" AuthService_SignOut_FullMethodName = "/slash.api.v1.AuthService/SignOut" )
const ( CollectionService_ListCollections_FullMethodName = "/slash.api.v1.CollectionService/ListCollections" CollectionService_GetCollection_FullMethodName = "/slash.api.v1.CollectionService/GetCollection" CollectionService_GetCollectionByName_FullMethodName = "/slash.api.v1.CollectionService/GetCollectionByName" CollectionService_CreateCollection_FullMethodName = "/slash.api.v1.CollectionService/CreateCollection" CollectionService_UpdateCollection_FullMethodName = "/slash.api.v1.CollectionService/UpdateCollection" CollectionService_DeleteCollection_FullMethodName = "/slash.api.v1.CollectionService/DeleteCollection" )
const ( ShortcutService_ListShortcuts_FullMethodName = "/slash.api.v1.ShortcutService/ListShortcuts" ShortcutService_GetShortcut_FullMethodName = "/slash.api.v1.ShortcutService/GetShortcut" ShortcutService_GetShortcutByName_FullMethodName = "/slash.api.v1.ShortcutService/GetShortcutByName" ShortcutService_CreateShortcut_FullMethodName = "/slash.api.v1.ShortcutService/CreateShortcut" ShortcutService_UpdateShortcut_FullMethodName = "/slash.api.v1.ShortcutService/UpdateShortcut" ShortcutService_DeleteShortcut_FullMethodName = "/slash.api.v1.ShortcutService/DeleteShortcut" ShortcutService_GetShortcutAnalytics_FullMethodName = "/slash.api.v1.ShortcutService/GetShortcutAnalytics" )
const ( SubscriptionService_GetSubscription_FullMethodName = "/slash.api.v1.SubscriptionService/GetSubscription" SubscriptionService_UpdateSubscription_FullMethodName = "/slash.api.v1.SubscriptionService/UpdateSubscription" )
const ( UserService_ListUsers_FullMethodName = "/slash.api.v1.UserService/ListUsers" UserService_GetUser_FullMethodName = "/slash.api.v1.UserService/GetUser" UserService_CreateUser_FullMethodName = "/slash.api.v1.UserService/CreateUser" UserService_UpdateUser_FullMethodName = "/slash.api.v1.UserService/UpdateUser" UserService_DeleteUser_FullMethodName = "/slash.api.v1.UserService/DeleteUser" UserService_ListUserAccessTokens_FullMethodName = "/slash.api.v1.UserService/ListUserAccessTokens" UserService_CreateUserAccessToken_FullMethodName = "/slash.api.v1.UserService/CreateUserAccessToken" UserService_DeleteUserAccessToken_FullMethodName = "/slash.api.v1.UserService/DeleteUserAccessToken" )
const ( UserSettingService_GetUserSetting_FullMethodName = "/slash.api.v1.UserSettingService/GetUserSetting" UserSettingService_UpdateUserSetting_FullMethodName = "/slash.api.v1.UserSettingService/UpdateUserSetting" )
const ( WorkspaceService_GetWorkspaceProfile_FullMethodName = "/slash.api.v1.WorkspaceService/GetWorkspaceProfile" WorkspaceService_GetWorkspaceSetting_FullMethodName = "/slash.api.v1.WorkspaceService/GetWorkspaceSetting" WorkspaceService_UpdateWorkspaceSetting_FullMethodName = "/slash.api.v1.WorkspaceService/UpdateWorkspaceSetting" )
Variables ¶
var ( RowStatus_name = map[int32]string{ 0: "ROW_STATUS_UNSPECIFIED", 1: "NORMAL", 2: "ARCHIVED", } RowStatus_value = map[string]int32{ "ROW_STATUS_UNSPECIFIED": 0, "NORMAL": 1, "ARCHIVED": 2, } )
Enum value maps for RowStatus.
var ( Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "PRIVATE", 2: "WORKSPACE", 3: "PUBLIC", } Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "PRIVATE": 1, "WORKSPACE": 2, "PUBLIC": 3, } )
Enum value maps for Visibility.
var ( PlanType_name = map[int32]string{ 0: "PLAN_TYPE_UNSPECIFIED", 1: "FREE", 2: "PRO", } PlanType_value = map[string]int32{ "PLAN_TYPE_UNSPECIFIED": 0, "FREE": 1, "PRO": 2, } )
Enum value maps for PlanType.
var ( Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "ADMIN", 2: "USER", } Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "ADMIN": 1, "USER": 2, } )
Enum value maps for Role.
var ( UserSetting_Locale_name = map[int32]string{ 0: "LOCALE_UNSPECIFIED", 1: "LOCALE_EN", 2: "LOCALE_ZH", } UserSetting_Locale_value = map[string]int32{ "LOCALE_UNSPECIFIED": 0, "LOCALE_EN": 1, "LOCALE_ZH": 2, } )
Enum value maps for UserSetting_Locale.
var ( UserSetting_ColorTheme_name = map[int32]string{ 0: "COLOR_THEME_UNSPECIFIED", 1: "COLOR_THEME_SYSTEM", 2: "COLOR_THEME_LIGHT", 3: "COLOR_THEME_DARK", } UserSetting_ColorTheme_value = map[string]int32{ "COLOR_THEME_UNSPECIFIED": 0, "COLOR_THEME_SYSTEM": 1, "COLOR_THEME_LIGHT": 2, "COLOR_THEME_DARK": 3, } )
Enum value maps for UserSetting_ColorTheme.
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthStatus", Handler: _AuthService_GetAuthStatus_Handler, }, { MethodName: "SignIn", Handler: _AuthService_SignIn_Handler, }, { MethodName: "SignUp", Handler: _AuthService_SignUp_Handler, }, { MethodName: "SignOut", Handler: _AuthService_SignOut_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/auth_service.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CollectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.CollectionService", HandlerType: (*CollectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListCollections", Handler: _CollectionService_ListCollections_Handler, }, { MethodName: "GetCollection", Handler: _CollectionService_GetCollection_Handler, }, { MethodName: "GetCollectionByName", Handler: _CollectionService_GetCollectionByName_Handler, }, { MethodName: "CreateCollection", Handler: _CollectionService_CreateCollection_Handler, }, { MethodName: "UpdateCollection", Handler: _CollectionService_UpdateCollection_Handler, }, { MethodName: "DeleteCollection", Handler: _CollectionService_DeleteCollection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/collection_service.proto", }
CollectionService_ServiceDesc is the grpc.ServiceDesc for CollectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_v1_auth_service_proto protoreflect.FileDescriptor
var File_api_v1_collection_service_proto protoreflect.FileDescriptor
var File_api_v1_common_proto protoreflect.FileDescriptor
var File_api_v1_shortcut_service_proto protoreflect.FileDescriptor
var File_api_v1_subscription_service_proto protoreflect.FileDescriptor
var File_api_v1_user_service_proto protoreflect.FileDescriptor
var File_api_v1_user_setting_service_proto protoreflect.FileDescriptor
var File_api_v1_workspace_service_proto protoreflect.FileDescriptor
var ShortcutService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.ShortcutService", HandlerType: (*ShortcutServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListShortcuts", Handler: _ShortcutService_ListShortcuts_Handler, }, { MethodName: "GetShortcut", Handler: _ShortcutService_GetShortcut_Handler, }, { MethodName: "GetShortcutByName", Handler: _ShortcutService_GetShortcutByName_Handler, }, { MethodName: "CreateShortcut", Handler: _ShortcutService_CreateShortcut_Handler, }, { MethodName: "UpdateShortcut", Handler: _ShortcutService_UpdateShortcut_Handler, }, { MethodName: "DeleteShortcut", Handler: _ShortcutService_DeleteShortcut_Handler, }, { MethodName: "GetShortcutAnalytics", Handler: _ShortcutService_GetShortcutAnalytics_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/shortcut_service.proto", }
ShortcutService_ServiceDesc is the grpc.ServiceDesc for ShortcutService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SubscriptionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.SubscriptionService", HandlerType: (*SubscriptionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSubscription", Handler: _SubscriptionService_GetSubscription_Handler, }, { MethodName: "UpdateSubscription", Handler: _SubscriptionService_UpdateSubscription_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/subscription_service.proto", }
SubscriptionService_ServiceDesc is the grpc.ServiceDesc for SubscriptionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListUsers", Handler: _UserService_ListUsers_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "ListUserAccessTokens", Handler: _UserService_ListUserAccessTokens_Handler, }, { MethodName: "CreateUserAccessToken", Handler: _UserService_CreateUserAccessToken_Handler, }, { MethodName: "DeleteUserAccessToken", Handler: _UserService_DeleteUserAccessToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserSettingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.UserSettingService", HandlerType: (*UserSettingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserSetting", Handler: _UserSettingService_GetUserSetting_Handler, }, { MethodName: "UpdateUserSetting", Handler: _UserSettingService_UpdateUserSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/user_setting_service.proto", }
UserSettingService_ServiceDesc is the grpc.ServiceDesc for UserSettingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WorkspaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "slash.api.v1.WorkspaceService", HandlerType: (*WorkspaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetWorkspaceProfile", Handler: _WorkspaceService_GetWorkspaceProfile_Handler, }, { MethodName: "GetWorkspaceSetting", Handler: _WorkspaceService_GetWorkspaceSetting_Handler, }, { MethodName: "UpdateWorkspaceSetting", Handler: _WorkspaceService_UpdateWorkspaceSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/workspace_service.proto", }
WorkspaceService_ServiceDesc is the grpc.ServiceDesc for WorkspaceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceHandler ¶
func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthServiceHandlerClient ¶
func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.
func RegisterAuthServiceHandlerFromEndpoint ¶
func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthServiceHandlerServer ¶
func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthServiceHandlerFromEndpoint instead.
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterCollectionServiceHandler ¶
func RegisterCollectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCollectionServiceHandler registers the http handlers for service CollectionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCollectionServiceHandlerClient ¶
func RegisterCollectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CollectionServiceClient) error
RegisterCollectionServiceHandlerClient registers the http handlers for service CollectionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CollectionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CollectionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CollectionServiceClient" to call the correct interceptors.
func RegisterCollectionServiceHandlerFromEndpoint ¶
func RegisterCollectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCollectionServiceHandlerFromEndpoint is same as RegisterCollectionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCollectionServiceHandlerServer ¶
func RegisterCollectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CollectionServiceServer) error
RegisterCollectionServiceHandlerServer registers the http handlers for service CollectionService to "mux". UnaryRPC :call CollectionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCollectionServiceHandlerFromEndpoint instead.
func RegisterCollectionServiceServer ¶
func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)
func RegisterShortcutServiceHandler ¶
func RegisterShortcutServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterShortcutServiceHandler registers the http handlers for service ShortcutService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterShortcutServiceHandlerClient ¶
func RegisterShortcutServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ShortcutServiceClient) error
RegisterShortcutServiceHandlerClient registers the http handlers for service ShortcutService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ShortcutServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ShortcutServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ShortcutServiceClient" to call the correct interceptors.
func RegisterShortcutServiceHandlerFromEndpoint ¶
func RegisterShortcutServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterShortcutServiceHandlerFromEndpoint is same as RegisterShortcutServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterShortcutServiceHandlerServer ¶
func RegisterShortcutServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ShortcutServiceServer) error
RegisterShortcutServiceHandlerServer registers the http handlers for service ShortcutService to "mux". UnaryRPC :call ShortcutServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterShortcutServiceHandlerFromEndpoint instead.
func RegisterShortcutServiceServer ¶
func RegisterShortcutServiceServer(s grpc.ServiceRegistrar, srv ShortcutServiceServer)
func RegisterSubscriptionServiceHandler ¶
func RegisterSubscriptionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSubscriptionServiceHandler registers the http handlers for service SubscriptionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSubscriptionServiceHandlerClient ¶
func RegisterSubscriptionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SubscriptionServiceClient) error
RegisterSubscriptionServiceHandlerClient registers the http handlers for service SubscriptionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SubscriptionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SubscriptionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SubscriptionServiceClient" to call the correct interceptors.
func RegisterSubscriptionServiceHandlerFromEndpoint ¶
func RegisterSubscriptionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSubscriptionServiceHandlerFromEndpoint is same as RegisterSubscriptionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSubscriptionServiceHandlerServer ¶
func RegisterSubscriptionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SubscriptionServiceServer) error
RegisterSubscriptionServiceHandlerServer registers the http handlers for service SubscriptionService to "mux". UnaryRPC :call SubscriptionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSubscriptionServiceHandlerFromEndpoint instead.
func RegisterSubscriptionServiceServer ¶
func RegisterSubscriptionServiceServer(s grpc.ServiceRegistrar, srv SubscriptionServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func RegisterUserSettingServiceHandler ¶
func RegisterUserSettingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserSettingServiceHandler registers the http handlers for service UserSettingService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserSettingServiceHandlerClient ¶
func RegisterUserSettingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserSettingServiceClient) error
RegisterUserSettingServiceHandlerClient registers the http handlers for service UserSettingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserSettingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserSettingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserSettingServiceClient" to call the correct interceptors.
func RegisterUserSettingServiceHandlerFromEndpoint ¶
func RegisterUserSettingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserSettingServiceHandlerFromEndpoint is same as RegisterUserSettingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserSettingServiceHandlerServer ¶
func RegisterUserSettingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserSettingServiceServer) error
RegisterUserSettingServiceHandlerServer registers the http handlers for service UserSettingService to "mux". UnaryRPC :call UserSettingServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserSettingServiceHandlerFromEndpoint instead.
func RegisterUserSettingServiceServer ¶
func RegisterUserSettingServiceServer(s grpc.ServiceRegistrar, srv UserSettingServiceServer)
func RegisterWorkspaceServiceHandler ¶
func RegisterWorkspaceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWorkspaceServiceHandler registers the http handlers for service WorkspaceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWorkspaceServiceHandlerClient ¶
func RegisterWorkspaceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WorkspaceServiceClient) error
RegisterWorkspaceServiceHandlerClient registers the http handlers for service WorkspaceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WorkspaceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WorkspaceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WorkspaceServiceClient" to call the correct interceptors.
func RegisterWorkspaceServiceHandlerFromEndpoint ¶
func RegisterWorkspaceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWorkspaceServiceHandlerFromEndpoint is same as RegisterWorkspaceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWorkspaceServiceHandlerServer ¶
func RegisterWorkspaceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WorkspaceServiceServer) error
RegisterWorkspaceServiceHandlerServer registers the http handlers for service WorkspaceService to "mux". UnaryRPC :call WorkspaceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWorkspaceServiceHandlerFromEndpoint instead.
func RegisterWorkspaceServiceServer ¶
func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
Types ¶
type AuthServiceClient ¶
type AuthServiceClient interface { GetAuthStatus(ctx context.Context, in *GetAuthStatusRequest, opts ...grpc.CallOption) (*GetAuthStatusResponse, error) SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error) SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, error) }
AuthServiceClient is the client API for AuthService 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 NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error) SignIn(context.Context, *SignInRequest) (*SignInResponse, error) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type AutoBackupWorkspaceSetting ¶
type AutoBackupWorkspaceSetting struct { // Whether auto backup is enabled. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The cron expression for auto backup. // For example, "0 0 0 * * *" means backup at 00:00:00 every day. // See https://en.wikipedia.org/wiki/Cron for more details. CronExpression string `protobuf:"bytes,2,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"` // The maximum number of backups to keep. MaxKeep int32 `protobuf:"varint,3,opt,name=max_keep,json=maxKeep,proto3" json:"max_keep,omitempty"` // contains filtered or unexported fields }
func (*AutoBackupWorkspaceSetting) Descriptor
deprecated
func (*AutoBackupWorkspaceSetting) Descriptor() ([]byte, []int)
Deprecated: Use AutoBackupWorkspaceSetting.ProtoReflect.Descriptor instead.
func (*AutoBackupWorkspaceSetting) GetCronExpression ¶
func (x *AutoBackupWorkspaceSetting) GetCronExpression() string
func (*AutoBackupWorkspaceSetting) GetEnabled ¶
func (x *AutoBackupWorkspaceSetting) GetEnabled() bool
func (*AutoBackupWorkspaceSetting) GetMaxKeep ¶
func (x *AutoBackupWorkspaceSetting) GetMaxKeep() int32
func (*AutoBackupWorkspaceSetting) ProtoMessage ¶
func (*AutoBackupWorkspaceSetting) ProtoMessage()
func (*AutoBackupWorkspaceSetting) ProtoReflect ¶
func (x *AutoBackupWorkspaceSetting) ProtoReflect() protoreflect.Message
func (*AutoBackupWorkspaceSetting) Reset ¶
func (x *AutoBackupWorkspaceSetting) Reset()
func (*AutoBackupWorkspaceSetting) String ¶
func (x *AutoBackupWorkspaceSetting) String() string
type Collection ¶
type Collection struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` ShortcutIds []int32 `protobuf:"varint,9,rep,packed,name=shortcut_ids,json=shortcutIds,proto3" json:"shortcut_ids,omitempty"` Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=slash.api.v1.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetCreatedTime ¶
func (x *Collection) GetCreatedTime() *timestamppb.Timestamp
func (*Collection) GetCreatorId ¶
func (x *Collection) GetCreatorId() int32
func (*Collection) GetDescription ¶
func (x *Collection) GetDescription() string
func (*Collection) GetId ¶
func (x *Collection) GetId() int32
func (*Collection) GetName ¶
func (x *Collection) GetName() string
func (*Collection) GetShortcutIds ¶
func (x *Collection) GetShortcutIds() []int32
func (*Collection) GetTitle ¶
func (x *Collection) GetTitle() string
func (*Collection) GetUpdatedTime ¶
func (x *Collection) GetUpdatedTime() *timestamppb.Timestamp
func (*Collection) GetVisibility ¶
func (x *Collection) GetVisibility() Visibility
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 CollectionServiceClient ¶
type CollectionServiceClient interface { // ListCollections returns a list of collections. ListCollections(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error) // GetCollection returns a collection by id. GetCollection(ctx context.Context, in *GetCollectionRequest, opts ...grpc.CallOption) (*GetCollectionResponse, error) // GetCollectionByName returns a collection by name. GetCollectionByName(ctx context.Context, in *GetCollectionByNameRequest, opts ...grpc.CallOption) (*GetCollectionByNameResponse, error) // CreateCollection creates a collection. CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*CreateCollectionResponse, error) // UpdateCollection updates a collection. UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*UpdateCollectionResponse, error) // DeleteCollection deletes a collection by id. DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) }
CollectionServiceClient is the client API for CollectionService 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 NewCollectionServiceClient ¶
func NewCollectionServiceClient(cc grpc.ClientConnInterface) CollectionServiceClient
type CollectionServiceServer ¶
type CollectionServiceServer interface { // ListCollections returns a list of collections. ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error) // GetCollection returns a collection by id. GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error) // GetCollectionByName returns a collection by name. GetCollectionByName(context.Context, *GetCollectionByNameRequest) (*GetCollectionByNameResponse, error) // CreateCollection creates a collection. CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error) // UpdateCollection updates a collection. UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error) // DeleteCollection deletes a collection by id. DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) // contains filtered or unexported methods }
CollectionServiceServer is the server API for CollectionService service. All implementations must embed UnimplementedCollectionServiceServer for forward compatibility
type CreateCollectionRequest ¶
type CreateCollectionRequest struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionRequest) Descriptor
deprecated
func (*CreateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.
func (*CreateCollectionRequest) GetCollection ¶
func (x *CreateCollectionRequest) GetCollection() *Collection
func (*CreateCollectionRequest) ProtoMessage ¶
func (*CreateCollectionRequest) ProtoMessage()
func (*CreateCollectionRequest) ProtoReflect ¶
func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
func (*CreateCollectionRequest) Reset ¶
func (x *CreateCollectionRequest) Reset()
func (*CreateCollectionRequest) String ¶
func (x *CreateCollectionRequest) String() string
type CreateCollectionResponse ¶
type CreateCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionResponse) Descriptor
deprecated
func (*CreateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.
func (*CreateCollectionResponse) GetCollection ¶
func (x *CreateCollectionResponse) GetCollection() *Collection
func (*CreateCollectionResponse) ProtoMessage ¶
func (*CreateCollectionResponse) ProtoMessage()
func (*CreateCollectionResponse) ProtoReflect ¶
func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
func (*CreateCollectionResponse) Reset ¶
func (x *CreateCollectionResponse) Reset()
func (*CreateCollectionResponse) String ¶
func (x *CreateCollectionResponse) String() string
type CreateShortcutRequest ¶
type CreateShortcutRequest struct { Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` // contains filtered or unexported fields }
func (*CreateShortcutRequest) Descriptor
deprecated
func (*CreateShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateShortcutRequest.ProtoReflect.Descriptor instead.
func (*CreateShortcutRequest) GetShortcut ¶
func (x *CreateShortcutRequest) GetShortcut() *Shortcut
func (*CreateShortcutRequest) ProtoMessage ¶
func (*CreateShortcutRequest) ProtoMessage()
func (*CreateShortcutRequest) ProtoReflect ¶
func (x *CreateShortcutRequest) ProtoReflect() protoreflect.Message
func (*CreateShortcutRequest) Reset ¶
func (x *CreateShortcutRequest) Reset()
func (*CreateShortcutRequest) String ¶
func (x *CreateShortcutRequest) String() string
type CreateShortcutResponse ¶
type CreateShortcutResponse struct { Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` // contains filtered or unexported fields }
func (*CreateShortcutResponse) Descriptor
deprecated
func (*CreateShortcutResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateShortcutResponse.ProtoReflect.Descriptor instead.
func (*CreateShortcutResponse) GetShortcut ¶
func (x *CreateShortcutResponse) GetShortcut() *Shortcut
func (*CreateShortcutResponse) ProtoMessage ¶
func (*CreateShortcutResponse) ProtoMessage()
func (*CreateShortcutResponse) ProtoReflect ¶
func (x *CreateShortcutResponse) ProtoReflect() protoreflect.Message
func (*CreateShortcutResponse) Reset ¶
func (x *CreateShortcutResponse) Reset()
func (*CreateShortcutResponse) String ¶
func (x *CreateShortcutResponse) String() string
type CreateUserAccessTokenRequest ¶
type CreateUserAccessTokenRequest struct { // id is the user id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // description is the description of the access token. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // expires_at is the expiration time of the access token. // If expires_at is not set, the access token will never expire. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*CreateUserAccessTokenRequest) Descriptor
deprecated
func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateUserAccessTokenRequest) GetDescription ¶
func (x *CreateUserAccessTokenRequest) GetDescription() string
func (*CreateUserAccessTokenRequest) GetExpiresAt ¶
func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp
func (*CreateUserAccessTokenRequest) GetId ¶
func (x *CreateUserAccessTokenRequest) GetId() int32
func (*CreateUserAccessTokenRequest) ProtoMessage ¶
func (*CreateUserAccessTokenRequest) ProtoMessage()
func (*CreateUserAccessTokenRequest) ProtoReflect ¶
func (x *CreateUserAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateUserAccessTokenRequest) Reset ¶
func (x *CreateUserAccessTokenRequest) Reset()
func (*CreateUserAccessTokenRequest) String ¶
func (x *CreateUserAccessTokenRequest) String() string
type CreateUserAccessTokenResponse ¶
type CreateUserAccessTokenResponse struct { AccessToken *UserAccessToken `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*CreateUserAccessTokenResponse) Descriptor
deprecated
func (*CreateUserAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*CreateUserAccessTokenResponse) GetAccessToken ¶
func (x *CreateUserAccessTokenResponse) GetAccessToken() *UserAccessToken
func (*CreateUserAccessTokenResponse) ProtoMessage ¶
func (*CreateUserAccessTokenResponse) ProtoMessage()
func (*CreateUserAccessTokenResponse) ProtoReflect ¶
func (x *CreateUserAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateUserAccessTokenResponse) Reset ¶
func (x *CreateUserAccessTokenResponse) Reset()
func (*CreateUserAccessTokenResponse) String ¶
func (x *CreateUserAccessTokenResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteCollectionRequest ¶
type DeleteCollectionRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCollectionRequest) Descriptor
deprecated
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteCollectionRequest) GetId ¶
func (x *DeleteCollectionRequest) GetId() int32
func (*DeleteCollectionRequest) ProtoMessage ¶
func (*DeleteCollectionRequest) ProtoMessage()
func (*DeleteCollectionRequest) ProtoReflect ¶
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteCollectionRequest) Reset ¶
func (x *DeleteCollectionRequest) Reset()
func (*DeleteCollectionRequest) String ¶
func (x *DeleteCollectionRequest) String() string
type DeleteCollectionResponse ¶
type DeleteCollectionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCollectionResponse) Descriptor
deprecated
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteCollectionResponse) ProtoMessage ¶
func (*DeleteCollectionResponse) ProtoMessage()
func (*DeleteCollectionResponse) ProtoReflect ¶
func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteCollectionResponse) Reset ¶
func (x *DeleteCollectionResponse) Reset()
func (*DeleteCollectionResponse) String ¶
func (x *DeleteCollectionResponse) String() string
type DeleteShortcutRequest ¶
type DeleteShortcutRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteShortcutRequest) Descriptor
deprecated
func (*DeleteShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShortcutRequest.ProtoReflect.Descriptor instead.
func (*DeleteShortcutRequest) GetId ¶
func (x *DeleteShortcutRequest) GetId() int32
func (*DeleteShortcutRequest) ProtoMessage ¶
func (*DeleteShortcutRequest) ProtoMessage()
func (*DeleteShortcutRequest) ProtoReflect ¶
func (x *DeleteShortcutRequest) ProtoReflect() protoreflect.Message
func (*DeleteShortcutRequest) Reset ¶
func (x *DeleteShortcutRequest) Reset()
func (*DeleteShortcutRequest) String ¶
func (x *DeleteShortcutRequest) String() string
type DeleteShortcutResponse ¶
type DeleteShortcutResponse struct {
// contains filtered or unexported fields
}
func (*DeleteShortcutResponse) Descriptor
deprecated
func (*DeleteShortcutResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShortcutResponse.ProtoReflect.Descriptor instead.
func (*DeleteShortcutResponse) ProtoMessage ¶
func (*DeleteShortcutResponse) ProtoMessage()
func (*DeleteShortcutResponse) ProtoReflect ¶
func (x *DeleteShortcutResponse) ProtoReflect() protoreflect.Message
func (*DeleteShortcutResponse) Reset ¶
func (x *DeleteShortcutResponse) Reset()
func (*DeleteShortcutResponse) String ¶
func (x *DeleteShortcutResponse) String() string
type DeleteUserAccessTokenRequest ¶
type DeleteUserAccessTokenRequest struct { // id is the user id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // access_token is the access token to delete. AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserAccessTokenRequest) Descriptor
deprecated
func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserAccessTokenRequest) GetAccessToken ¶
func (x *DeleteUserAccessTokenRequest) GetAccessToken() string
func (*DeleteUserAccessTokenRequest) GetId ¶
func (x *DeleteUserAccessTokenRequest) GetId() int32
func (*DeleteUserAccessTokenRequest) ProtoMessage ¶
func (*DeleteUserAccessTokenRequest) ProtoMessage()
func (*DeleteUserAccessTokenRequest) ProtoReflect ¶
func (x *DeleteUserAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserAccessTokenRequest) Reset ¶
func (x *DeleteUserAccessTokenRequest) Reset()
func (*DeleteUserAccessTokenRequest) String ¶
func (x *DeleteUserAccessTokenRequest) String() string
type DeleteUserAccessTokenResponse ¶
type DeleteUserAccessTokenResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserAccessTokenResponse) Descriptor
deprecated
func (*DeleteUserAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserAccessTokenResponse) ProtoMessage ¶
func (*DeleteUserAccessTokenResponse) ProtoMessage()
func (*DeleteUserAccessTokenResponse) ProtoReflect ¶
func (x *DeleteUserAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserAccessTokenResponse) Reset ¶
func (x *DeleteUserAccessTokenResponse) Reset()
func (*DeleteUserAccessTokenResponse) String ¶
func (x *DeleteUserAccessTokenResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() int32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type GetAuthStatusRequest ¶
type GetAuthStatusRequest struct {
// contains filtered or unexported fields
}
func (*GetAuthStatusRequest) Descriptor
deprecated
func (*GetAuthStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAuthStatusRequest) ProtoMessage ¶
func (*GetAuthStatusRequest) ProtoMessage()
func (*GetAuthStatusRequest) ProtoReflect ¶
func (x *GetAuthStatusRequest) ProtoReflect() protoreflect.Message
func (*GetAuthStatusRequest) Reset ¶
func (x *GetAuthStatusRequest) Reset()
func (*GetAuthStatusRequest) String ¶
func (x *GetAuthStatusRequest) String() string
type GetAuthStatusResponse ¶
type GetAuthStatusResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetAuthStatusResponse) Descriptor
deprecated
func (*GetAuthStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthStatusResponse.ProtoReflect.Descriptor instead.
func (*GetAuthStatusResponse) GetUser ¶
func (x *GetAuthStatusResponse) GetUser() *User
func (*GetAuthStatusResponse) ProtoMessage ¶
func (*GetAuthStatusResponse) ProtoMessage()
func (*GetAuthStatusResponse) ProtoReflect ¶
func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message
func (*GetAuthStatusResponse) Reset ¶
func (x *GetAuthStatusResponse) Reset()
func (*GetAuthStatusResponse) String ¶
func (x *GetAuthStatusResponse) String() string
type GetCollectionByNameRequest ¶
type GetCollectionByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionByNameRequest) Descriptor
deprecated
func (*GetCollectionByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionByNameRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionByNameRequest) GetName ¶
func (x *GetCollectionByNameRequest) GetName() string
func (*GetCollectionByNameRequest) ProtoMessage ¶
func (*GetCollectionByNameRequest) ProtoMessage()
func (*GetCollectionByNameRequest) ProtoReflect ¶
func (x *GetCollectionByNameRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionByNameRequest) Reset ¶
func (x *GetCollectionByNameRequest) Reset()
func (*GetCollectionByNameRequest) String ¶
func (x *GetCollectionByNameRequest) String() string
type GetCollectionByNameResponse ¶
type GetCollectionByNameResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionByNameResponse) Descriptor
deprecated
func (*GetCollectionByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionByNameResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionByNameResponse) GetCollection ¶
func (x *GetCollectionByNameResponse) GetCollection() *Collection
func (*GetCollectionByNameResponse) ProtoMessage ¶
func (*GetCollectionByNameResponse) ProtoMessage()
func (*GetCollectionByNameResponse) ProtoReflect ¶
func (x *GetCollectionByNameResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionByNameResponse) Reset ¶
func (x *GetCollectionByNameResponse) Reset()
func (*GetCollectionByNameResponse) String ¶
func (x *GetCollectionByNameResponse) String() string
type GetCollectionRequest ¶
type GetCollectionRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionRequest) Descriptor
deprecated
func (*GetCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionRequest) GetId ¶
func (x *GetCollectionRequest) GetId() int32
func (*GetCollectionRequest) ProtoMessage ¶
func (*GetCollectionRequest) ProtoMessage()
func (*GetCollectionRequest) ProtoReflect ¶
func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionRequest) Reset ¶
func (x *GetCollectionRequest) Reset()
func (*GetCollectionRequest) String ¶
func (x *GetCollectionRequest) String() string
type GetCollectionResponse ¶
type GetCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionResponse) Descriptor
deprecated
func (*GetCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionResponse) GetCollection ¶
func (x *GetCollectionResponse) GetCollection() *Collection
func (*GetCollectionResponse) ProtoMessage ¶
func (*GetCollectionResponse) ProtoMessage()
func (*GetCollectionResponse) ProtoReflect ¶
func (x *GetCollectionResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionResponse) Reset ¶
func (x *GetCollectionResponse) Reset()
func (*GetCollectionResponse) String ¶
func (x *GetCollectionResponse) String() string
type GetShortcutAnalyticsRequest ¶
type GetShortcutAnalyticsRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutAnalyticsRequest) Descriptor
deprecated
func (*GetShortcutAnalyticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutAnalyticsRequest.ProtoReflect.Descriptor instead.
func (*GetShortcutAnalyticsRequest) GetId ¶
func (x *GetShortcutAnalyticsRequest) GetId() int32
func (*GetShortcutAnalyticsRequest) ProtoMessage ¶
func (*GetShortcutAnalyticsRequest) ProtoMessage()
func (*GetShortcutAnalyticsRequest) ProtoReflect ¶
func (x *GetShortcutAnalyticsRequest) ProtoReflect() protoreflect.Message
func (*GetShortcutAnalyticsRequest) Reset ¶
func (x *GetShortcutAnalyticsRequest) Reset()
func (*GetShortcutAnalyticsRequest) String ¶
func (x *GetShortcutAnalyticsRequest) String() string
type GetShortcutAnalyticsResponse ¶
type GetShortcutAnalyticsResponse struct { References []*GetShortcutAnalyticsResponse_AnalyticsItem `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` Devices []*GetShortcutAnalyticsResponse_AnalyticsItem `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` Browsers []*GetShortcutAnalyticsResponse_AnalyticsItem `protobuf:"bytes,3,rep,name=browsers,proto3" json:"browsers,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutAnalyticsResponse) Descriptor
deprecated
func (*GetShortcutAnalyticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutAnalyticsResponse.ProtoReflect.Descriptor instead.
func (*GetShortcutAnalyticsResponse) GetBrowsers ¶
func (x *GetShortcutAnalyticsResponse) GetBrowsers() []*GetShortcutAnalyticsResponse_AnalyticsItem
func (*GetShortcutAnalyticsResponse) GetDevices ¶
func (x *GetShortcutAnalyticsResponse) GetDevices() []*GetShortcutAnalyticsResponse_AnalyticsItem
func (*GetShortcutAnalyticsResponse) GetReferences ¶
func (x *GetShortcutAnalyticsResponse) GetReferences() []*GetShortcutAnalyticsResponse_AnalyticsItem
func (*GetShortcutAnalyticsResponse) ProtoMessage ¶
func (*GetShortcutAnalyticsResponse) ProtoMessage()
func (*GetShortcutAnalyticsResponse) ProtoReflect ¶
func (x *GetShortcutAnalyticsResponse) ProtoReflect() protoreflect.Message
func (*GetShortcutAnalyticsResponse) Reset ¶
func (x *GetShortcutAnalyticsResponse) Reset()
func (*GetShortcutAnalyticsResponse) String ¶
func (x *GetShortcutAnalyticsResponse) String() string
type GetShortcutAnalyticsResponse_AnalyticsItem ¶
type GetShortcutAnalyticsResponse_AnalyticsItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutAnalyticsResponse_AnalyticsItem) Descriptor
deprecated
func (*GetShortcutAnalyticsResponse_AnalyticsItem) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutAnalyticsResponse_AnalyticsItem.ProtoReflect.Descriptor instead.
func (*GetShortcutAnalyticsResponse_AnalyticsItem) GetCount ¶
func (x *GetShortcutAnalyticsResponse_AnalyticsItem) GetCount() int32
func (*GetShortcutAnalyticsResponse_AnalyticsItem) GetName ¶
func (x *GetShortcutAnalyticsResponse_AnalyticsItem) GetName() string
func (*GetShortcutAnalyticsResponse_AnalyticsItem) ProtoMessage ¶
func (*GetShortcutAnalyticsResponse_AnalyticsItem) ProtoMessage()
func (*GetShortcutAnalyticsResponse_AnalyticsItem) ProtoReflect ¶
func (x *GetShortcutAnalyticsResponse_AnalyticsItem) ProtoReflect() protoreflect.Message
func (*GetShortcutAnalyticsResponse_AnalyticsItem) Reset ¶
func (x *GetShortcutAnalyticsResponse_AnalyticsItem) Reset()
func (*GetShortcutAnalyticsResponse_AnalyticsItem) String ¶
func (x *GetShortcutAnalyticsResponse_AnalyticsItem) String() string
type GetShortcutByNameRequest ¶
type GetShortcutByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutByNameRequest) Descriptor
deprecated
func (*GetShortcutByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutByNameRequest.ProtoReflect.Descriptor instead.
func (*GetShortcutByNameRequest) GetName ¶
func (x *GetShortcutByNameRequest) GetName() string
func (*GetShortcutByNameRequest) ProtoMessage ¶
func (*GetShortcutByNameRequest) ProtoMessage()
func (*GetShortcutByNameRequest) ProtoReflect ¶
func (x *GetShortcutByNameRequest) ProtoReflect() protoreflect.Message
func (*GetShortcutByNameRequest) Reset ¶
func (x *GetShortcutByNameRequest) Reset()
func (*GetShortcutByNameRequest) String ¶
func (x *GetShortcutByNameRequest) String() string
type GetShortcutByNameResponse ¶
type GetShortcutByNameResponse struct { Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutByNameResponse) Descriptor
deprecated
func (*GetShortcutByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutByNameResponse.ProtoReflect.Descriptor instead.
func (*GetShortcutByNameResponse) GetShortcut ¶
func (x *GetShortcutByNameResponse) GetShortcut() *Shortcut
func (*GetShortcutByNameResponse) ProtoMessage ¶
func (*GetShortcutByNameResponse) ProtoMessage()
func (*GetShortcutByNameResponse) ProtoReflect ¶
func (x *GetShortcutByNameResponse) ProtoReflect() protoreflect.Message
func (*GetShortcutByNameResponse) Reset ¶
func (x *GetShortcutByNameResponse) Reset()
func (*GetShortcutByNameResponse) String ¶
func (x *GetShortcutByNameResponse) String() string
type GetShortcutRequest ¶
type GetShortcutRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutRequest) Descriptor
deprecated
func (*GetShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutRequest.ProtoReflect.Descriptor instead.
func (*GetShortcutRequest) GetId ¶
func (x *GetShortcutRequest) GetId() int32
func (*GetShortcutRequest) ProtoMessage ¶
func (*GetShortcutRequest) ProtoMessage()
func (*GetShortcutRequest) ProtoReflect ¶
func (x *GetShortcutRequest) ProtoReflect() protoreflect.Message
func (*GetShortcutRequest) Reset ¶
func (x *GetShortcutRequest) Reset()
func (*GetShortcutRequest) String ¶
func (x *GetShortcutRequest) String() string
type GetShortcutResponse ¶
type GetShortcutResponse struct { Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` // contains filtered or unexported fields }
func (*GetShortcutResponse) Descriptor
deprecated
func (*GetShortcutResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetShortcutResponse.ProtoReflect.Descriptor instead.
func (*GetShortcutResponse) GetShortcut ¶
func (x *GetShortcutResponse) GetShortcut() *Shortcut
func (*GetShortcutResponse) ProtoMessage ¶
func (*GetShortcutResponse) ProtoMessage()
func (*GetShortcutResponse) ProtoReflect ¶
func (x *GetShortcutResponse) ProtoReflect() protoreflect.Message
func (*GetShortcutResponse) Reset ¶
func (x *GetShortcutResponse) Reset()
func (*GetShortcutResponse) String ¶
func (x *GetShortcutResponse) String() string
type GetSubscriptionRequest ¶
type GetSubscriptionRequest struct {
// contains filtered or unexported fields
}
func (*GetSubscriptionRequest) Descriptor
deprecated
func (*GetSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*GetSubscriptionRequest) ProtoMessage ¶
func (*GetSubscriptionRequest) ProtoMessage()
func (*GetSubscriptionRequest) ProtoReflect ¶
func (x *GetSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*GetSubscriptionRequest) Reset ¶
func (x *GetSubscriptionRequest) Reset()
func (*GetSubscriptionRequest) String ¶
func (x *GetSubscriptionRequest) String() string
type GetSubscriptionResponse ¶
type GetSubscriptionResponse struct { Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*GetSubscriptionResponse) Descriptor
deprecated
func (*GetSubscriptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubscriptionResponse.ProtoReflect.Descriptor instead.
func (*GetSubscriptionResponse) GetSubscription ¶
func (x *GetSubscriptionResponse) GetSubscription() *Subscription
func (*GetSubscriptionResponse) ProtoMessage ¶
func (*GetSubscriptionResponse) ProtoMessage()
func (*GetSubscriptionResponse) ProtoReflect ¶
func (x *GetSubscriptionResponse) ProtoReflect() protoreflect.Message
func (*GetSubscriptionResponse) Reset ¶
func (x *GetSubscriptionResponse) Reset()
func (*GetSubscriptionResponse) String ¶
func (x *GetSubscriptionResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() int32
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUserSettingRequest ¶
type GetUserSettingRequest struct { // id is the user id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingRequest) Descriptor
deprecated
func (*GetUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.
func (*GetUserSettingRequest) GetId ¶
func (x *GetUserSettingRequest) GetId() int32
func (*GetUserSettingRequest) ProtoMessage ¶
func (*GetUserSettingRequest) ProtoMessage()
func (*GetUserSettingRequest) ProtoReflect ¶
func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
func (*GetUserSettingRequest) Reset ¶
func (x *GetUserSettingRequest) Reset()
func (*GetUserSettingRequest) String ¶
func (x *GetUserSettingRequest) String() string
type GetUserSettingResponse ¶
type GetUserSettingResponse struct { UserSetting *UserSetting `protobuf:"bytes,1,opt,name=user_setting,json=userSetting,proto3" json:"user_setting,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingResponse) Descriptor
deprecated
func (*GetUserSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingResponse.ProtoReflect.Descriptor instead.
func (*GetUserSettingResponse) GetUserSetting ¶
func (x *GetUserSettingResponse) GetUserSetting() *UserSetting
func (*GetUserSettingResponse) ProtoMessage ¶
func (*GetUserSettingResponse) ProtoMessage()
func (*GetUserSettingResponse) ProtoReflect ¶
func (x *GetUserSettingResponse) ProtoReflect() protoreflect.Message
func (*GetUserSettingResponse) Reset ¶
func (x *GetUserSettingResponse) Reset()
func (*GetUserSettingResponse) String ¶
func (x *GetUserSettingResponse) String() string
type GetWorkspaceProfileRequest ¶
type GetWorkspaceProfileRequest struct {
// contains filtered or unexported fields
}
func (*GetWorkspaceProfileRequest) Descriptor
deprecated
func (*GetWorkspaceProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspaceProfileRequest.ProtoReflect.Descriptor instead.
func (*GetWorkspaceProfileRequest) ProtoMessage ¶
func (*GetWorkspaceProfileRequest) ProtoMessage()
func (*GetWorkspaceProfileRequest) ProtoReflect ¶
func (x *GetWorkspaceProfileRequest) ProtoReflect() protoreflect.Message
func (*GetWorkspaceProfileRequest) Reset ¶
func (x *GetWorkspaceProfileRequest) Reset()
func (*GetWorkspaceProfileRequest) String ¶
func (x *GetWorkspaceProfileRequest) String() string
type GetWorkspaceProfileResponse ¶
type GetWorkspaceProfileResponse struct { // The workspace profile. Profile *WorkspaceProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*GetWorkspaceProfileResponse) Descriptor
deprecated
func (*GetWorkspaceProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspaceProfileResponse.ProtoReflect.Descriptor instead.
func (*GetWorkspaceProfileResponse) GetProfile ¶
func (x *GetWorkspaceProfileResponse) GetProfile() *WorkspaceProfile
func (*GetWorkspaceProfileResponse) ProtoMessage ¶
func (*GetWorkspaceProfileResponse) ProtoMessage()
func (*GetWorkspaceProfileResponse) ProtoReflect ¶
func (x *GetWorkspaceProfileResponse) ProtoReflect() protoreflect.Message
func (*GetWorkspaceProfileResponse) Reset ¶
func (x *GetWorkspaceProfileResponse) Reset()
func (*GetWorkspaceProfileResponse) String ¶
func (x *GetWorkspaceProfileResponse) String() string
type GetWorkspaceSettingRequest ¶
type GetWorkspaceSettingRequest struct {
// contains filtered or unexported fields
}
func (*GetWorkspaceSettingRequest) Descriptor
deprecated
func (*GetWorkspaceSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspaceSettingRequest.ProtoReflect.Descriptor instead.
func (*GetWorkspaceSettingRequest) ProtoMessage ¶
func (*GetWorkspaceSettingRequest) ProtoMessage()
func (*GetWorkspaceSettingRequest) ProtoReflect ¶
func (x *GetWorkspaceSettingRequest) ProtoReflect() protoreflect.Message
func (*GetWorkspaceSettingRequest) Reset ¶
func (x *GetWorkspaceSettingRequest) Reset()
func (*GetWorkspaceSettingRequest) String ¶
func (x *GetWorkspaceSettingRequest) String() string
type GetWorkspaceSettingResponse ¶
type GetWorkspaceSettingResponse struct { // The user setting. Setting *WorkspaceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*GetWorkspaceSettingResponse) Descriptor
deprecated
func (*GetWorkspaceSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspaceSettingResponse.ProtoReflect.Descriptor instead.
func (*GetWorkspaceSettingResponse) GetSetting ¶
func (x *GetWorkspaceSettingResponse) GetSetting() *WorkspaceSetting
func (*GetWorkspaceSettingResponse) ProtoMessage ¶
func (*GetWorkspaceSettingResponse) ProtoMessage()
func (*GetWorkspaceSettingResponse) ProtoReflect ¶
func (x *GetWorkspaceSettingResponse) ProtoReflect() protoreflect.Message
func (*GetWorkspaceSettingResponse) Reset ¶
func (x *GetWorkspaceSettingResponse) Reset()
func (*GetWorkspaceSettingResponse) String ¶
func (x *GetWorkspaceSettingResponse) String() string
type ListCollectionsRequest ¶
type ListCollectionsRequest struct {
// contains filtered or unexported fields
}
func (*ListCollectionsRequest) Descriptor
deprecated
func (*ListCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionsRequest) ProtoMessage ¶
func (*ListCollectionsRequest) ProtoMessage()
func (*ListCollectionsRequest) ProtoReflect ¶
func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionsRequest) Reset ¶
func (x *ListCollectionsRequest) Reset()
func (*ListCollectionsRequest) String ¶
func (x *ListCollectionsRequest) String() string
type ListCollectionsResponse ¶
type ListCollectionsResponse struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionsResponse) Descriptor
deprecated
func (*ListCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionsResponse) GetCollections ¶
func (x *ListCollectionsResponse) GetCollections() []*Collection
func (*ListCollectionsResponse) ProtoMessage ¶
func (*ListCollectionsResponse) ProtoMessage()
func (*ListCollectionsResponse) ProtoReflect ¶
func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionsResponse) Reset ¶
func (x *ListCollectionsResponse) Reset()
func (*ListCollectionsResponse) String ¶
func (x *ListCollectionsResponse) String() string
type ListShortcutsRequest ¶
type ListShortcutsRequest struct {
// contains filtered or unexported fields
}
func (*ListShortcutsRequest) Descriptor
deprecated
func (*ListShortcutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListShortcutsRequest.ProtoReflect.Descriptor instead.
func (*ListShortcutsRequest) ProtoMessage ¶
func (*ListShortcutsRequest) ProtoMessage()
func (*ListShortcutsRequest) ProtoReflect ¶
func (x *ListShortcutsRequest) ProtoReflect() protoreflect.Message
func (*ListShortcutsRequest) Reset ¶
func (x *ListShortcutsRequest) Reset()
func (*ListShortcutsRequest) String ¶
func (x *ListShortcutsRequest) String() string
type ListShortcutsResponse ¶
type ListShortcutsResponse struct { Shortcuts []*Shortcut `protobuf:"bytes,1,rep,name=shortcuts,proto3" json:"shortcuts,omitempty"` // contains filtered or unexported fields }
func (*ListShortcutsResponse) Descriptor
deprecated
func (*ListShortcutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListShortcutsResponse.ProtoReflect.Descriptor instead.
func (*ListShortcutsResponse) GetShortcuts ¶
func (x *ListShortcutsResponse) GetShortcuts() []*Shortcut
func (*ListShortcutsResponse) ProtoMessage ¶
func (*ListShortcutsResponse) ProtoMessage()
func (*ListShortcutsResponse) ProtoReflect ¶
func (x *ListShortcutsResponse) ProtoReflect() protoreflect.Message
func (*ListShortcutsResponse) Reset ¶
func (x *ListShortcutsResponse) Reset()
func (*ListShortcutsResponse) String ¶
func (x *ListShortcutsResponse) String() string
type ListUserAccessTokensRequest ¶
type ListUserAccessTokensRequest struct { // id is the user id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListUserAccessTokensRequest) Descriptor
deprecated
func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAccessTokensRequest.ProtoReflect.Descriptor instead.
func (*ListUserAccessTokensRequest) GetId ¶
func (x *ListUserAccessTokensRequest) GetId() int32
func (*ListUserAccessTokensRequest) ProtoMessage ¶
func (*ListUserAccessTokensRequest) ProtoMessage()
func (*ListUserAccessTokensRequest) ProtoReflect ¶
func (x *ListUserAccessTokensRequest) ProtoReflect() protoreflect.Message
func (*ListUserAccessTokensRequest) Reset ¶
func (x *ListUserAccessTokensRequest) Reset()
func (*ListUserAccessTokensRequest) String ¶
func (x *ListUserAccessTokensRequest) String() string
type ListUserAccessTokensResponse ¶
type ListUserAccessTokensResponse struct { AccessTokens []*UserAccessToken `protobuf:"bytes,1,rep,name=access_tokens,json=accessTokens,proto3" json:"access_tokens,omitempty"` // contains filtered or unexported fields }
func (*ListUserAccessTokensResponse) Descriptor
deprecated
func (*ListUserAccessTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAccessTokensResponse.ProtoReflect.Descriptor instead.
func (*ListUserAccessTokensResponse) GetAccessTokens ¶
func (x *ListUserAccessTokensResponse) GetAccessTokens() []*UserAccessToken
func (*ListUserAccessTokensResponse) ProtoMessage ¶
func (*ListUserAccessTokensResponse) ProtoMessage()
func (*ListUserAccessTokensResponse) ProtoReflect ¶
func (x *ListUserAccessTokensResponse) ProtoReflect() protoreflect.Message
func (*ListUserAccessTokensResponse) Reset ¶
func (x *ListUserAccessTokensResponse) Reset()
func (*ListUserAccessTokensResponse) String ¶
func (x *ListUserAccessTokensResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct {
// contains filtered or unexported fields
}
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type OpenGraphMetadata ¶
type OpenGraphMetadata struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*OpenGraphMetadata) Descriptor
deprecated
func (*OpenGraphMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OpenGraphMetadata.ProtoReflect.Descriptor instead.
func (*OpenGraphMetadata) GetDescription ¶
func (x *OpenGraphMetadata) GetDescription() string
func (*OpenGraphMetadata) GetImage ¶
func (x *OpenGraphMetadata) GetImage() string
func (*OpenGraphMetadata) GetTitle ¶
func (x *OpenGraphMetadata) GetTitle() string
func (*OpenGraphMetadata) ProtoMessage ¶
func (*OpenGraphMetadata) ProtoMessage()
func (*OpenGraphMetadata) ProtoReflect ¶
func (x *OpenGraphMetadata) ProtoReflect() protoreflect.Message
func (*OpenGraphMetadata) Reset ¶
func (x *OpenGraphMetadata) Reset()
func (*OpenGraphMetadata) String ¶
func (x *OpenGraphMetadata) String() string
type PlanType ¶
type PlanType int32
func (PlanType) Descriptor ¶
func (PlanType) Descriptor() protoreflect.EnumDescriptor
func (PlanType) EnumDescriptor
deprecated
func (PlanType) Number ¶
func (x PlanType) Number() protoreflect.EnumNumber
func (PlanType) Type ¶
func (PlanType) Type() protoreflect.EnumType
type Role ¶
type Role int32
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type RowStatus ¶
type RowStatus int32
func (RowStatus) Descriptor ¶
func (RowStatus) Descriptor() protoreflect.EnumDescriptor
func (RowStatus) EnumDescriptor
deprecated
func (RowStatus) Number ¶
func (x RowStatus) Number() protoreflect.EnumNumber
func (RowStatus) Type ¶
func (RowStatus) Type() protoreflect.EnumType
type Shortcut ¶
type Shortcut struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` RowStatus RowStatus `protobuf:"varint,5,opt,name=row_status,json=rowStatus,proto3,enum=slash.api.v1.RowStatus" json:"row_status,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` Visibility Visibility `protobuf:"varint,11,opt,name=visibility,proto3,enum=slash.api.v1.Visibility" json:"visibility,omitempty"` ViewCount int32 `protobuf:"varint,12,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"` OgMetadata *OpenGraphMetadata `protobuf:"bytes,13,opt,name=og_metadata,json=ogMetadata,proto3" json:"og_metadata,omitempty"` // contains filtered or unexported fields }
func (*Shortcut) Descriptor
deprecated
func (*Shortcut) GetCreatedTime ¶
func (x *Shortcut) GetCreatedTime() *timestamppb.Timestamp
func (*Shortcut) GetCreatorId ¶
func (*Shortcut) GetDescription ¶
func (*Shortcut) GetOgMetadata ¶
func (x *Shortcut) GetOgMetadata() *OpenGraphMetadata
func (*Shortcut) GetRowStatus ¶
func (*Shortcut) GetUpdatedTime ¶
func (x *Shortcut) GetUpdatedTime() *timestamppb.Timestamp
func (*Shortcut) GetViewCount ¶
func (*Shortcut) GetVisibility ¶
func (x *Shortcut) GetVisibility() Visibility
func (*Shortcut) ProtoMessage ¶
func (*Shortcut) ProtoMessage()
func (*Shortcut) ProtoReflect ¶
func (x *Shortcut) ProtoReflect() protoreflect.Message
type ShortcutServiceClient ¶
type ShortcutServiceClient interface { // ListShortcuts returns a list of shortcuts. ListShortcuts(ctx context.Context, in *ListShortcutsRequest, opts ...grpc.CallOption) (*ListShortcutsResponse, error) // GetShortcut returns a shortcut by id. GetShortcut(ctx context.Context, in *GetShortcutRequest, opts ...grpc.CallOption) (*GetShortcutResponse, error) // GetShortcutByName returns a shortcut by name. GetShortcutByName(ctx context.Context, in *GetShortcutByNameRequest, opts ...grpc.CallOption) (*GetShortcutByNameResponse, error) // CreateShortcut creates a shortcut. CreateShortcut(ctx context.Context, in *CreateShortcutRequest, opts ...grpc.CallOption) (*CreateShortcutResponse, error) // UpdateShortcut updates a shortcut. UpdateShortcut(ctx context.Context, in *UpdateShortcutRequest, opts ...grpc.CallOption) (*UpdateShortcutResponse, error) // DeleteShortcut deletes a shortcut by name. DeleteShortcut(ctx context.Context, in *DeleteShortcutRequest, opts ...grpc.CallOption) (*DeleteShortcutResponse, error) // GetShortcutAnalytics returns the analytics for a shortcut. GetShortcutAnalytics(ctx context.Context, in *GetShortcutAnalyticsRequest, opts ...grpc.CallOption) (*GetShortcutAnalyticsResponse, error) }
ShortcutServiceClient is the client API for ShortcutService 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 NewShortcutServiceClient ¶
func NewShortcutServiceClient(cc grpc.ClientConnInterface) ShortcutServiceClient
type ShortcutServiceServer ¶
type ShortcutServiceServer interface { // ListShortcuts returns a list of shortcuts. ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error) // GetShortcut returns a shortcut by id. GetShortcut(context.Context, *GetShortcutRequest) (*GetShortcutResponse, error) // GetShortcutByName returns a shortcut by name. GetShortcutByName(context.Context, *GetShortcutByNameRequest) (*GetShortcutByNameResponse, error) // CreateShortcut creates a shortcut. CreateShortcut(context.Context, *CreateShortcutRequest) (*CreateShortcutResponse, error) // UpdateShortcut updates a shortcut. UpdateShortcut(context.Context, *UpdateShortcutRequest) (*UpdateShortcutResponse, error) // DeleteShortcut deletes a shortcut by name. DeleteShortcut(context.Context, *DeleteShortcutRequest) (*DeleteShortcutResponse, error) // GetShortcutAnalytics returns the analytics for a shortcut. GetShortcutAnalytics(context.Context, *GetShortcutAnalyticsRequest) (*GetShortcutAnalyticsResponse, error) // contains filtered or unexported methods }
ShortcutServiceServer is the server API for ShortcutService service. All implementations must embed UnimplementedShortcutServiceServer for forward compatibility
type SignInRequest ¶
type SignInRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SignInRequest) Descriptor
deprecated
func (*SignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
func (*SignInRequest) GetEmail ¶
func (x *SignInRequest) GetEmail() string
func (*SignInRequest) GetPassword ¶
func (x *SignInRequest) GetPassword() string
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) ProtoReflect ¶
func (x *SignInRequest) ProtoReflect() protoreflect.Message
func (*SignInRequest) Reset ¶
func (x *SignInRequest) Reset()
func (*SignInRequest) String ¶
func (x *SignInRequest) String() string
type SignInResponse ¶
type SignInResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SignInResponse) Descriptor
deprecated
func (*SignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
func (*SignInResponse) GetUser ¶
func (x *SignInResponse) GetUser() *User
func (*SignInResponse) ProtoMessage ¶
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) ProtoReflect ¶
func (x *SignInResponse) ProtoReflect() protoreflect.Message
func (*SignInResponse) Reset ¶
func (x *SignInResponse) Reset()
func (*SignInResponse) String ¶
func (x *SignInResponse) String() string
type SignOutRequest ¶
type SignOutRequest struct {
// contains filtered or unexported fields
}
func (*SignOutRequest) Descriptor
deprecated
func (*SignOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
func (*SignOutRequest) ProtoMessage ¶
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) ProtoReflect ¶
func (x *SignOutRequest) ProtoReflect() protoreflect.Message
func (*SignOutRequest) Reset ¶
func (x *SignOutRequest) Reset()
func (*SignOutRequest) String ¶
func (x *SignOutRequest) String() string
type SignOutResponse ¶
type SignOutResponse struct {
// contains filtered or unexported fields
}
func (*SignOutResponse) Descriptor
deprecated
func (*SignOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.
func (*SignOutResponse) ProtoMessage ¶
func (*SignOutResponse) ProtoMessage()
func (*SignOutResponse) ProtoReflect ¶
func (x *SignOutResponse) ProtoReflect() protoreflect.Message
func (*SignOutResponse) Reset ¶
func (x *SignOutResponse) Reset()
func (*SignOutResponse) String ¶
func (x *SignOutResponse) String() string
type SignUpRequest ¶
type SignUpRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SignUpRequest) Descriptor
deprecated
func (*SignUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
func (*SignUpRequest) GetEmail ¶
func (x *SignUpRequest) GetEmail() string
func (*SignUpRequest) GetNickname ¶
func (x *SignUpRequest) GetNickname() string
func (*SignUpRequest) GetPassword ¶
func (x *SignUpRequest) GetPassword() string
func (*SignUpRequest) ProtoMessage ¶
func (*SignUpRequest) ProtoMessage()
func (*SignUpRequest) ProtoReflect ¶
func (x *SignUpRequest) ProtoReflect() protoreflect.Message
func (*SignUpRequest) Reset ¶
func (x *SignUpRequest) Reset()
func (*SignUpRequest) String ¶
func (x *SignUpRequest) String() string
type SignUpResponse ¶
type SignUpResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SignUpResponse) Descriptor
deprecated
func (*SignUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.
func (*SignUpResponse) GetUser ¶
func (x *SignUpResponse) GetUser() *User
func (*SignUpResponse) ProtoMessage ¶
func (*SignUpResponse) ProtoMessage()
func (*SignUpResponse) ProtoReflect ¶
func (x *SignUpResponse) ProtoReflect() protoreflect.Message
func (*SignUpResponse) Reset ¶
func (x *SignUpResponse) Reset()
func (*SignUpResponse) String ¶
func (x *SignUpResponse) String() string
type Subscription ¶
type Subscription struct { Plan PlanType `protobuf:"varint,1,opt,name=plan,proto3,enum=slash.api.v1.PlanType" json:"plan,omitempty"` StartedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` ExpiresTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"` // contains filtered or unexported fields }
func (*Subscription) Descriptor
deprecated
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (*Subscription) GetExpiresTime ¶
func (x *Subscription) GetExpiresTime() *timestamppb.Timestamp
func (*Subscription) GetPlan ¶
func (x *Subscription) GetPlan() PlanType
func (*Subscription) GetStartedTime ¶
func (x *Subscription) GetStartedTime() *timestamppb.Timestamp
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) ProtoReflect ¶
func (x *Subscription) ProtoReflect() protoreflect.Message
func (*Subscription) Reset ¶
func (x *Subscription) Reset()
func (*Subscription) String ¶
func (x *Subscription) String() string
type SubscriptionServiceClient ¶
type SubscriptionServiceClient interface { GetSubscription(ctx context.Context, in *GetSubscriptionRequest, opts ...grpc.CallOption) (*GetSubscriptionResponse, error) UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*UpdateSubscriptionResponse, error) }
SubscriptionServiceClient is the client API for SubscriptionService 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 NewSubscriptionServiceClient ¶
func NewSubscriptionServiceClient(cc grpc.ClientConnInterface) SubscriptionServiceClient
type SubscriptionServiceServer ¶
type SubscriptionServiceServer interface { GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionResponse, error) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error) // contains filtered or unexported methods }
SubscriptionServiceServer is the server API for SubscriptionService service. All implementations must embed UnimplementedSubscriptionServiceServer for forward compatibility
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) GetAuthStatus ¶
func (UnimplementedAuthServiceServer) GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
func (UnimplementedAuthServiceServer) SignIn ¶
func (UnimplementedAuthServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedAuthServiceServer) SignOut ¶
func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
func (UnimplementedAuthServiceServer) SignUp ¶
func (UnimplementedAuthServiceServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
type UnimplementedCollectionServiceServer ¶
type UnimplementedCollectionServiceServer struct { }
UnimplementedCollectionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCollectionServiceServer) CreateCollection ¶
func (UnimplementedCollectionServiceServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
func (UnimplementedCollectionServiceServer) DeleteCollection ¶
func (UnimplementedCollectionServiceServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
func (UnimplementedCollectionServiceServer) GetCollection ¶
func (UnimplementedCollectionServiceServer) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
func (UnimplementedCollectionServiceServer) GetCollectionByName ¶
func (UnimplementedCollectionServiceServer) GetCollectionByName(context.Context, *GetCollectionByNameRequest) (*GetCollectionByNameResponse, error)
func (UnimplementedCollectionServiceServer) ListCollections ¶
func (UnimplementedCollectionServiceServer) ListCollections(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
func (UnimplementedCollectionServiceServer) UpdateCollection ¶
func (UnimplementedCollectionServiceServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
type UnimplementedShortcutServiceServer ¶
type UnimplementedShortcutServiceServer struct { }
UnimplementedShortcutServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedShortcutServiceServer) CreateShortcut ¶
func (UnimplementedShortcutServiceServer) CreateShortcut(context.Context, *CreateShortcutRequest) (*CreateShortcutResponse, error)
func (UnimplementedShortcutServiceServer) DeleteShortcut ¶
func (UnimplementedShortcutServiceServer) DeleteShortcut(context.Context, *DeleteShortcutRequest) (*DeleteShortcutResponse, error)
func (UnimplementedShortcutServiceServer) GetShortcut ¶
func (UnimplementedShortcutServiceServer) GetShortcut(context.Context, *GetShortcutRequest) (*GetShortcutResponse, error)
func (UnimplementedShortcutServiceServer) GetShortcutAnalytics ¶
func (UnimplementedShortcutServiceServer) GetShortcutAnalytics(context.Context, *GetShortcutAnalyticsRequest) (*GetShortcutAnalyticsResponse, error)
func (UnimplementedShortcutServiceServer) GetShortcutByName ¶
func (UnimplementedShortcutServiceServer) GetShortcutByName(context.Context, *GetShortcutByNameRequest) (*GetShortcutByNameResponse, error)
func (UnimplementedShortcutServiceServer) ListShortcuts ¶
func (UnimplementedShortcutServiceServer) ListShortcuts(context.Context, *ListShortcutsRequest) (*ListShortcutsResponse, error)
func (UnimplementedShortcutServiceServer) UpdateShortcut ¶
func (UnimplementedShortcutServiceServer) UpdateShortcut(context.Context, *UpdateShortcutRequest) (*UpdateShortcutResponse, error)
type UnimplementedSubscriptionServiceServer ¶
type UnimplementedSubscriptionServiceServer struct { }
UnimplementedSubscriptionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSubscriptionServiceServer) GetSubscription ¶
func (UnimplementedSubscriptionServiceServer) GetSubscription(context.Context, *GetSubscriptionRequest) (*GetSubscriptionResponse, error)
func (UnimplementedSubscriptionServiceServer) UpdateSubscription ¶
func (UnimplementedSubscriptionServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) CreateUserAccessToken ¶
func (UnimplementedUserServiceServer) CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) DeleteUserAccessToken ¶
func (UnimplementedUserServiceServer) DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) ListUserAccessTokens ¶
func (UnimplementedUserServiceServer) ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
func (UnimplementedUserServiceServer) ListUsers ¶
func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
type UnimplementedUserSettingServiceServer ¶
type UnimplementedUserSettingServiceServer struct { }
UnimplementedUserSettingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserSettingServiceServer) GetUserSetting ¶
func (UnimplementedUserSettingServiceServer) GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
func (UnimplementedUserSettingServiceServer) UpdateUserSetting ¶
func (UnimplementedUserSettingServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
type UnimplementedWorkspaceServiceServer ¶
type UnimplementedWorkspaceServiceServer struct { }
UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile ¶
func (UnimplementedWorkspaceServiceServer) GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error)
func (UnimplementedWorkspaceServiceServer) GetWorkspaceSetting ¶
func (UnimplementedWorkspaceServiceServer) GetWorkspaceSetting(context.Context, *GetWorkspaceSettingRequest) (*GetWorkspaceSettingResponse, error)
func (UnimplementedWorkspaceServiceServer) UpdateWorkspaceSetting ¶
func (UnimplementedWorkspaceServiceServer) UpdateWorkspaceSetting(context.Context, *UpdateWorkspaceSettingRequest) (*UpdateWorkspaceSettingResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeCollectionServiceServer ¶
type UnsafeCollectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCollectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CollectionServiceServer will result in compilation errors.
type UnsafeShortcutServiceServer ¶
type UnsafeShortcutServiceServer interface {
// contains filtered or unexported methods
}
UnsafeShortcutServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShortcutServiceServer will result in compilation errors.
type UnsafeSubscriptionServiceServer ¶
type UnsafeSubscriptionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSubscriptionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubscriptionServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UnsafeUserSettingServiceServer ¶
type UnsafeUserSettingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserSettingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserSettingServiceServer will result in compilation errors.
type UnsafeWorkspaceServiceServer ¶
type UnsafeWorkspaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkspaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkspaceServiceServer will result in compilation errors.
type UpdateCollectionRequest ¶
type UpdateCollectionRequest struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateCollectionRequest) Descriptor
deprecated
func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateCollectionRequest) GetCollection ¶
func (x *UpdateCollectionRequest) GetCollection() *Collection
func (*UpdateCollectionRequest) GetUpdateMask ¶
func (x *UpdateCollectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCollectionRequest) ProtoMessage ¶
func (*UpdateCollectionRequest) ProtoMessage()
func (*UpdateCollectionRequest) ProtoReflect ¶
func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionRequest) Reset ¶
func (x *UpdateCollectionRequest) Reset()
func (*UpdateCollectionRequest) String ¶
func (x *UpdateCollectionRequest) String() string
type UpdateCollectionResponse ¶
type UpdateCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*UpdateCollectionResponse) Descriptor
deprecated
func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.
func (*UpdateCollectionResponse) GetCollection ¶
func (x *UpdateCollectionResponse) GetCollection() *Collection
func (*UpdateCollectionResponse) ProtoMessage ¶
func (*UpdateCollectionResponse) ProtoMessage()
func (*UpdateCollectionResponse) ProtoReflect ¶
func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message
func (*UpdateCollectionResponse) Reset ¶
func (x *UpdateCollectionResponse) Reset()
func (*UpdateCollectionResponse) String ¶
func (x *UpdateCollectionResponse) String() string
type UpdateShortcutRequest ¶
type UpdateShortcutRequest struct { Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateShortcutRequest) Descriptor
deprecated
func (*UpdateShortcutRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateShortcutRequest.ProtoReflect.Descriptor instead.
func (*UpdateShortcutRequest) GetShortcut ¶
func (x *UpdateShortcutRequest) GetShortcut() *Shortcut
func (*UpdateShortcutRequest) GetUpdateMask ¶
func (x *UpdateShortcutRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateShortcutRequest) ProtoMessage ¶
func (*UpdateShortcutRequest) ProtoMessage()
func (*UpdateShortcutRequest) ProtoReflect ¶
func (x *UpdateShortcutRequest) ProtoReflect() protoreflect.Message
func (*UpdateShortcutRequest) Reset ¶
func (x *UpdateShortcutRequest) Reset()
func (*UpdateShortcutRequest) String ¶
func (x *UpdateShortcutRequest) String() string
type UpdateShortcutResponse ¶
type UpdateShortcutResponse struct { Shortcut *Shortcut `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` // contains filtered or unexported fields }
func (*UpdateShortcutResponse) Descriptor
deprecated
func (*UpdateShortcutResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateShortcutResponse.ProtoReflect.Descriptor instead.
func (*UpdateShortcutResponse) GetShortcut ¶
func (x *UpdateShortcutResponse) GetShortcut() *Shortcut
func (*UpdateShortcutResponse) ProtoMessage ¶
func (*UpdateShortcutResponse) ProtoMessage()
func (*UpdateShortcutResponse) ProtoReflect ¶
func (x *UpdateShortcutResponse) ProtoReflect() protoreflect.Message
func (*UpdateShortcutResponse) Reset ¶
func (x *UpdateShortcutResponse) Reset()
func (*UpdateShortcutResponse) String ¶
func (x *UpdateShortcutResponse) String() string
type UpdateSubscriptionRequest ¶
type UpdateSubscriptionRequest struct { LicenseKey string `protobuf:"bytes,1,opt,name=license_key,json=licenseKey,proto3" json:"license_key,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscriptionRequest) Descriptor
deprecated
func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionRequest) GetLicenseKey ¶
func (x *UpdateSubscriptionRequest) GetLicenseKey() string
func (*UpdateSubscriptionRequest) ProtoMessage ¶
func (*UpdateSubscriptionRequest) ProtoMessage()
func (*UpdateSubscriptionRequest) ProtoReflect ¶
func (x *UpdateSubscriptionRequest) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionRequest) Reset ¶
func (x *UpdateSubscriptionRequest) Reset()
func (*UpdateSubscriptionRequest) String ¶
func (x *UpdateSubscriptionRequest) String() string
type UpdateSubscriptionResponse ¶
type UpdateSubscriptionResponse struct { Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
func (*UpdateSubscriptionResponse) Descriptor
deprecated
func (*UpdateSubscriptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionResponse.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionResponse) GetSubscription ¶
func (x *UpdateSubscriptionResponse) GetSubscription() *Subscription
func (*UpdateSubscriptionResponse) ProtoMessage ¶
func (*UpdateSubscriptionResponse) ProtoMessage()
func (*UpdateSubscriptionResponse) ProtoReflect ¶
func (x *UpdateSubscriptionResponse) ProtoReflect() protoreflect.Message
func (*UpdateSubscriptionResponse) Reset ¶
func (x *UpdateSubscriptionResponse) Reset()
func (*UpdateSubscriptionResponse) String ¶
func (x *UpdateSubscriptionResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUpdateMask ¶
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetUser ¶
func (x *UpdateUserResponse) GetUser() *User
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type UpdateUserSettingRequest ¶
type UpdateUserSettingRequest struct { // id is the user id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // user_setting is the user setting to update. UserSetting *UserSetting `protobuf:"bytes,2,opt,name=user_setting,json=userSetting,proto3" json:"user_setting,omitempty"` // update_mask is the field mask to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserSettingRequest) Descriptor
deprecated
func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingRequest) GetId ¶
func (x *UpdateUserSettingRequest) GetId() int32
func (*UpdateUserSettingRequest) GetUpdateMask ¶
func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserSettingRequest) GetUserSetting ¶
func (x *UpdateUserSettingRequest) GetUserSetting() *UserSetting
func (*UpdateUserSettingRequest) ProtoMessage ¶
func (*UpdateUserSettingRequest) ProtoMessage()
func (*UpdateUserSettingRequest) ProtoReflect ¶
func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingRequest) Reset ¶
func (x *UpdateUserSettingRequest) Reset()
func (*UpdateUserSettingRequest) String ¶
func (x *UpdateUserSettingRequest) String() string
type UpdateUserSettingResponse ¶
type UpdateUserSettingResponse struct { UserSetting *UserSetting `protobuf:"bytes,1,opt,name=user_setting,json=userSetting,proto3" json:"user_setting,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserSettingResponse) Descriptor
deprecated
func (*UpdateUserSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingResponse) GetUserSetting ¶
func (x *UpdateUserSettingResponse) GetUserSetting() *UserSetting
func (*UpdateUserSettingResponse) ProtoMessage ¶
func (*UpdateUserSettingResponse) ProtoMessage()
func (*UpdateUserSettingResponse) ProtoReflect ¶
func (x *UpdateUserSettingResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingResponse) Reset ¶
func (x *UpdateUserSettingResponse) Reset()
func (*UpdateUserSettingResponse) String ¶
func (x *UpdateUserSettingResponse) String() string
type UpdateWorkspaceSettingRequest ¶
type UpdateWorkspaceSettingRequest struct { // The user setting. Setting *WorkspaceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // The update mask. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateWorkspaceSettingRequest) Descriptor
deprecated
func (*UpdateWorkspaceSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkspaceSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkspaceSettingRequest) GetSetting ¶
func (x *UpdateWorkspaceSettingRequest) GetSetting() *WorkspaceSetting
func (*UpdateWorkspaceSettingRequest) GetUpdateMask ¶
func (x *UpdateWorkspaceSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWorkspaceSettingRequest) ProtoMessage ¶
func (*UpdateWorkspaceSettingRequest) ProtoMessage()
func (*UpdateWorkspaceSettingRequest) ProtoReflect ¶
func (x *UpdateWorkspaceSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkspaceSettingRequest) Reset ¶
func (x *UpdateWorkspaceSettingRequest) Reset()
func (*UpdateWorkspaceSettingRequest) String ¶
func (x *UpdateWorkspaceSettingRequest) String() string
type UpdateWorkspaceSettingResponse ¶
type UpdateWorkspaceSettingResponse struct { // The user setting. Setting *WorkspaceSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*UpdateWorkspaceSettingResponse) Descriptor
deprecated
func (*UpdateWorkspaceSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkspaceSettingResponse.ProtoReflect.Descriptor instead.
func (*UpdateWorkspaceSettingResponse) GetSetting ¶
func (x *UpdateWorkspaceSettingResponse) GetSetting() *WorkspaceSetting
func (*UpdateWorkspaceSettingResponse) ProtoMessage ¶
func (*UpdateWorkspaceSettingResponse) ProtoMessage()
func (*UpdateWorkspaceSettingResponse) ProtoReflect ¶
func (x *UpdateWorkspaceSettingResponse) ProtoReflect() protoreflect.Message
func (*UpdateWorkspaceSettingResponse) Reset ¶
func (x *UpdateWorkspaceSettingResponse) Reset()
func (*UpdateWorkspaceSettingResponse) String ¶
func (x *UpdateWorkspaceSettingResponse) String() string
type User ¶
type User struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RowStatus RowStatus `protobuf:"varint,2,opt,name=row_status,json=rowStatus,proto3,enum=slash.api.v1.RowStatus" json:"row_status,omitempty"` CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` Role Role `protobuf:"varint,6,opt,name=role,proto3,enum=slash.api.v1.Role" json:"role,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Nickname string `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"` Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedTime ¶
func (x *User) GetCreatedTime() *timestamppb.Timestamp
func (*User) GetNickname ¶
func (*User) GetPassword ¶
func (*User) GetRowStatus ¶
func (*User) GetUpdatedTime ¶
func (x *User) GetUpdatedTime() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserAccessToken ¶
type UserAccessToken struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` IssuedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*UserAccessToken) Descriptor
deprecated
func (*UserAccessToken) Descriptor() ([]byte, []int)
Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.
func (*UserAccessToken) GetAccessToken ¶
func (x *UserAccessToken) GetAccessToken() string
func (*UserAccessToken) GetDescription ¶
func (x *UserAccessToken) GetDescription() string
func (*UserAccessToken) GetExpiresAt ¶
func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp
func (*UserAccessToken) GetIssuedAt ¶
func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp
func (*UserAccessToken) ProtoMessage ¶
func (*UserAccessToken) ProtoMessage()
func (*UserAccessToken) ProtoReflect ¶
func (x *UserAccessToken) ProtoReflect() protoreflect.Message
func (*UserAccessToken) Reset ¶
func (x *UserAccessToken) Reset()
func (*UserAccessToken) String ¶
func (x *UserAccessToken) String() string
type UserServiceClient ¶
type UserServiceClient interface { // ListUsers returns a list of users. ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) // GetUser returns a user by id. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // CreateUser creates a new user. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) // DeleteUser deletes a user by id. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) // ListUserAccessTokens returns a list of access tokens for a user. ListUserAccessTokens(ctx context.Context, in *ListUserAccessTokensRequest, opts ...grpc.CallOption) (*ListUserAccessTokensResponse, error) // CreateUserAccessToken creates a new access token for a user. CreateUserAccessToken(ctx context.Context, in *CreateUserAccessTokenRequest, opts ...grpc.CallOption) (*CreateUserAccessTokenResponse, error) // DeleteUserAccessToken deletes an access token for a user. DeleteUserAccessToken(ctx context.Context, in *DeleteUserAccessTokenRequest, opts ...grpc.CallOption) (*DeleteUserAccessTokenResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // ListUsers returns a list of users. ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // GetUser returns a user by id. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // CreateUser creates a new user. CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) // DeleteUser deletes a user by id. DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) // ListUserAccessTokens returns a list of access tokens for a user. ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error) // CreateUserAccessToken creates a new access token for a user. CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error) // DeleteUserAccessToken deletes an access token for a user. DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserSetting ¶
type UserSetting struct { // id is the user id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // locale is the user locale. Locale UserSetting_Locale `protobuf:"varint,2,opt,name=locale,proto3,enum=slash.api.v1.UserSetting_Locale" json:"locale,omitempty"` // color_theme is the user color theme. ColorTheme UserSetting_ColorTheme `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserSetting) Descriptor
deprecated
func (*UserSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.
func (*UserSetting) GetColorTheme ¶
func (x *UserSetting) GetColorTheme() UserSetting_ColorTheme
func (*UserSetting) GetId ¶
func (x *UserSetting) GetId() int32
func (*UserSetting) GetLocale ¶
func (x *UserSetting) GetLocale() UserSetting_Locale
func (*UserSetting) ProtoMessage ¶
func (*UserSetting) ProtoMessage()
func (*UserSetting) ProtoReflect ¶
func (x *UserSetting) ProtoReflect() protoreflect.Message
func (*UserSetting) Reset ¶
func (x *UserSetting) Reset()
func (*UserSetting) String ¶
func (x *UserSetting) String() string
type UserSettingServiceClient ¶
type UserSettingServiceClient interface { // GetUserSetting returns the user setting. GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*GetUserSettingResponse, error) // UpdateUserSetting updates the user setting. UpdateUserSetting(ctx context.Context, in *UpdateUserSettingRequest, opts ...grpc.CallOption) (*UpdateUserSettingResponse, error) }
UserSettingServiceClient is the client API for UserSettingService 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 NewUserSettingServiceClient ¶
func NewUserSettingServiceClient(cc grpc.ClientConnInterface) UserSettingServiceClient
type UserSettingServiceServer ¶
type UserSettingServiceServer interface { // GetUserSetting returns the user setting. GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error) // UpdateUserSetting updates the user setting. UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error) // contains filtered or unexported methods }
UserSettingServiceServer is the server API for UserSettingService service. All implementations must embed UnimplementedUserSettingServiceServer for forward compatibility
type UserSetting_ColorTheme ¶
type UserSetting_ColorTheme int32
const ( UserSetting_COLOR_THEME_UNSPECIFIED UserSetting_ColorTheme = 0 UserSetting_COLOR_THEME_SYSTEM UserSetting_ColorTheme = 1 UserSetting_COLOR_THEME_LIGHT UserSetting_ColorTheme = 2 UserSetting_COLOR_THEME_DARK UserSetting_ColorTheme = 3 )
func (UserSetting_ColorTheme) Descriptor ¶
func (UserSetting_ColorTheme) Descriptor() protoreflect.EnumDescriptor
func (UserSetting_ColorTheme) Enum ¶
func (x UserSetting_ColorTheme) Enum() *UserSetting_ColorTheme
func (UserSetting_ColorTheme) EnumDescriptor
deprecated
func (UserSetting_ColorTheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSetting_ColorTheme.Descriptor instead.
func (UserSetting_ColorTheme) Number ¶
func (x UserSetting_ColorTheme) Number() protoreflect.EnumNumber
func (UserSetting_ColorTheme) String ¶
func (x UserSetting_ColorTheme) String() string
func (UserSetting_ColorTheme) Type ¶
func (UserSetting_ColorTheme) Type() protoreflect.EnumType
type UserSetting_Locale ¶
type UserSetting_Locale int32
const ( UserSetting_LOCALE_UNSPECIFIED UserSetting_Locale = 0 UserSetting_LOCALE_EN UserSetting_Locale = 1 UserSetting_LOCALE_ZH UserSetting_Locale = 2 )
func (UserSetting_Locale) Descriptor ¶
func (UserSetting_Locale) Descriptor() protoreflect.EnumDescriptor
func (UserSetting_Locale) Enum ¶
func (x UserSetting_Locale) Enum() *UserSetting_Locale
func (UserSetting_Locale) EnumDescriptor
deprecated
func (UserSetting_Locale) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSetting_Locale.Descriptor instead.
func (UserSetting_Locale) Number ¶
func (x UserSetting_Locale) Number() protoreflect.EnumNumber
func (UserSetting_Locale) String ¶
func (x UserSetting_Locale) String() string
func (UserSetting_Locale) Type ¶
func (UserSetting_Locale) Type() protoreflect.EnumType
type Visibility ¶
type Visibility int32
const ( Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 Visibility_PRIVATE Visibility = 1 Visibility_WORKSPACE Visibility = 2 Visibility_PUBLIC Visibility = 3 )
func (Visibility) Descriptor ¶
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶
func (x Visibility) String() string
func (Visibility) Type ¶
func (Visibility) Type() protoreflect.EnumType
type WorkspaceProfile ¶
type WorkspaceProfile struct { // Current workspace mode: dev, prod. Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"` // Current workspace version. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The workspace plan. Plan PlanType `protobuf:"varint,3,opt,name=plan,proto3,enum=slash.api.v1.PlanType" json:"plan,omitempty"` // Whether to enable other users to sign up. EnableSignup bool `protobuf:"varint,4,opt,name=enable_signup,json=enableSignup,proto3" json:"enable_signup,omitempty"` // The custom style. CustomStyle string `protobuf:"bytes,5,opt,name=custom_style,json=customStyle,proto3" json:"custom_style,omitempty"` // The custom script. CustomScript string `protobuf:"bytes,6,opt,name=custom_script,json=customScript,proto3" json:"custom_script,omitempty"` // The url of custom favicon provider. FaviconProvider string `protobuf:"bytes,7,opt,name=favicon_provider,json=faviconProvider,proto3" json:"favicon_provider,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceProfile) Descriptor
deprecated
func (*WorkspaceProfile) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceProfile.ProtoReflect.Descriptor instead.
func (*WorkspaceProfile) GetCustomScript ¶
func (x *WorkspaceProfile) GetCustomScript() string
func (*WorkspaceProfile) GetCustomStyle ¶
func (x *WorkspaceProfile) GetCustomStyle() string
func (*WorkspaceProfile) GetEnableSignup ¶
func (x *WorkspaceProfile) GetEnableSignup() bool
func (*WorkspaceProfile) GetFaviconProvider ¶
func (x *WorkspaceProfile) GetFaviconProvider() string
func (*WorkspaceProfile) GetMode ¶
func (x *WorkspaceProfile) GetMode() string
func (*WorkspaceProfile) GetPlan ¶
func (x *WorkspaceProfile) GetPlan() PlanType
func (*WorkspaceProfile) GetVersion ¶
func (x *WorkspaceProfile) GetVersion() string
func (*WorkspaceProfile) ProtoMessage ¶
func (*WorkspaceProfile) ProtoMessage()
func (*WorkspaceProfile) ProtoReflect ¶
func (x *WorkspaceProfile) ProtoReflect() protoreflect.Message
func (*WorkspaceProfile) Reset ¶
func (x *WorkspaceProfile) Reset()
func (*WorkspaceProfile) String ¶
func (x *WorkspaceProfile) String() string
type WorkspaceServiceClient ¶
type WorkspaceServiceClient interface { GetWorkspaceProfile(ctx context.Context, in *GetWorkspaceProfileRequest, opts ...grpc.CallOption) (*GetWorkspaceProfileResponse, error) GetWorkspaceSetting(ctx context.Context, in *GetWorkspaceSettingRequest, opts ...grpc.CallOption) (*GetWorkspaceSettingResponse, error) UpdateWorkspaceSetting(ctx context.Context, in *UpdateWorkspaceSettingRequest, opts ...grpc.CallOption) (*UpdateWorkspaceSettingResponse, error) }
WorkspaceServiceClient is the client API for WorkspaceService 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 NewWorkspaceServiceClient ¶
func NewWorkspaceServiceClient(cc grpc.ClientConnInterface) WorkspaceServiceClient
type WorkspaceServiceServer ¶
type WorkspaceServiceServer interface { GetWorkspaceProfile(context.Context, *GetWorkspaceProfileRequest) (*GetWorkspaceProfileResponse, error) GetWorkspaceSetting(context.Context, *GetWorkspaceSettingRequest) (*GetWorkspaceSettingResponse, error) UpdateWorkspaceSetting(context.Context, *UpdateWorkspaceSettingRequest) (*UpdateWorkspaceSettingResponse, error) // contains filtered or unexported methods }
WorkspaceServiceServer is the server API for WorkspaceService service. All implementations must embed UnimplementedWorkspaceServiceServer for forward compatibility
type WorkspaceSetting ¶
type WorkspaceSetting struct { LicenseKey string `protobuf:"bytes,1,opt,name=license_key,json=licenseKey,proto3" json:"license_key,omitempty"` // Whether to enable other users to sign up. EnableSignup bool `protobuf:"varint,2,opt,name=enable_signup,json=enableSignup,proto3" json:"enable_signup,omitempty"` // The instance URL. InstanceUrl string `protobuf:"bytes,3,opt,name=instance_url,json=instanceUrl,proto3" json:"instance_url,omitempty"` // The custom style. CustomStyle string `protobuf:"bytes,4,opt,name=custom_style,json=customStyle,proto3" json:"custom_style,omitempty"` // The custom script. CustomScript string `protobuf:"bytes,5,opt,name=custom_script,json=customScript,proto3" json:"custom_script,omitempty"` // The auto backup setting. (Unimplemented) AutoBackup *AutoBackupWorkspaceSetting `protobuf:"bytes,6,opt,name=auto_backup,json=autoBackup,proto3" json:"auto_backup,omitempty"` // The default visibility of shortcuts and collections. DefaultVisibility Visibility `` /* 142-byte string literal not displayed */ // The url of custom favicon provider. FaviconProvider string `protobuf:"bytes,8,opt,name=favicon_provider,json=faviconProvider,proto3" json:"favicon_provider,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceSetting) Descriptor
deprecated
func (*WorkspaceSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceSetting) GetAutoBackup ¶
func (x *WorkspaceSetting) GetAutoBackup() *AutoBackupWorkspaceSetting
func (*WorkspaceSetting) GetCustomScript ¶
func (x *WorkspaceSetting) GetCustomScript() string
func (*WorkspaceSetting) GetCustomStyle ¶
func (x *WorkspaceSetting) GetCustomStyle() string
func (*WorkspaceSetting) GetDefaultVisibility ¶
func (x *WorkspaceSetting) GetDefaultVisibility() Visibility
func (*WorkspaceSetting) GetEnableSignup ¶
func (x *WorkspaceSetting) GetEnableSignup() bool
func (*WorkspaceSetting) GetFaviconProvider ¶
func (x *WorkspaceSetting) GetFaviconProvider() string
func (*WorkspaceSetting) GetInstanceUrl ¶
func (x *WorkspaceSetting) GetInstanceUrl() string
func (*WorkspaceSetting) GetLicenseKey ¶
func (x *WorkspaceSetting) GetLicenseKey() string
func (*WorkspaceSetting) ProtoMessage ¶
func (*WorkspaceSetting) ProtoMessage()
func (*WorkspaceSetting) ProtoReflect ¶
func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceSetting) Reset ¶
func (x *WorkspaceSetting) Reset()
func (*WorkspaceSetting) String ¶
func (x *WorkspaceSetting) String() string
Source Files ¶
- auth_service.pb.go
- auth_service.pb.gw.go
- auth_service_grpc.pb.go
- collection_service.pb.go
- collection_service.pb.gw.go
- collection_service_grpc.pb.go
- common.pb.go
- shortcut_service.pb.go
- shortcut_service.pb.gw.go
- shortcut_service_grpc.pb.go
- subscription_service.pb.go
- subscription_service.pb.gw.go
- subscription_service_grpc.pb.go
- user_service.pb.go
- user_service.pb.gw.go
- user_service_grpc.pb.go
- user_setting_service.pb.go
- user_setting_service.pb.gw.go
- user_setting_service_grpc.pb.go
- workspace_service.pb.go
- workspace_service.pb.gw.go
- workspace_service_grpc.pb.go