Documentation
¶
Overview ¶
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package apiv2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error
- func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error
- func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
- 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 RegisterInboxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInboxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InboxServiceClient) error
- func RegisterInboxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInboxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InboxServiceServer) error
- func RegisterInboxServiceServer(s grpc.ServiceRegistrar, srv InboxServiceServer)
- func RegisterMemoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MemoServiceClient) error
- func RegisterMemoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MemoServiceServer) error
- func RegisterMemoServiceServer(s grpc.ServiceRegistrar, srv MemoServiceServer)
- func RegisterResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error
- func RegisterResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- func RegisterSystemServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSystemServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SystemServiceClient) error
- func RegisterSystemServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSystemServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SystemServiceServer) error
- func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
- func RegisterTagServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTagServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagServiceClient) error
- func RegisterTagServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTagServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagServiceServer) error
- func RegisterTagServiceServer(s grpc.ServiceRegistrar, srv TagServiceServer)
- 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 RegisterWebhookServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWebhookServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebhookServiceClient) error
- func RegisterWebhookServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWebhookServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WebhookServiceServer) error
- func RegisterWebhookServiceServer(s grpc.ServiceRegistrar, srv WebhookServiceServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetCreateTime() *timestamppb.Timestamp
- func (x *Activity) GetCreatorId() int32
- func (x *Activity) GetId() int32
- func (x *Activity) GetLevel() string
- func (x *Activity) GetPayload() *ActivityPayload
- func (x *Activity) GetType() string
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type ActivityMemoCommentPayload
- func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityMemoCommentPayload) GetMemoId() int32
- func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
- func (*ActivityMemoCommentPayload) ProtoMessage()
- func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityMemoCommentPayload) Reset()
- func (x *ActivityMemoCommentPayload) String() string
- type ActivityPayload
- func (*ActivityPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
- func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload
- func (*ActivityPayload) ProtoMessage()
- func (x *ActivityPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityPayload) Reset()
- func (x *ActivityPayload) String() string
- type ActivityServiceClient
- type ActivityServiceServer
- type ActivityVersionUpdatePayload
- func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityVersionUpdatePayload) GetVersion() string
- func (*ActivityVersionUpdatePayload) ProtoMessage()
- func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
- func (x *ActivityVersionUpdatePayload) Reset()
- func (x *ActivityVersionUpdatePayload) String() string
- type AuthServiceClient
- type AuthServiceServer
- type CreateMemoCommentRequest
- func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoCommentRequest) GetCreate() *CreateMemoRequest
- func (x *CreateMemoCommentRequest) GetId() int32
- func (*CreateMemoCommentRequest) ProtoMessage()
- func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMemoCommentRequest) Reset()
- func (x *CreateMemoCommentRequest) String() string
- type CreateMemoCommentResponse
- func (*CreateMemoCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoCommentResponse) GetMemo() *Memo
- func (*CreateMemoCommentResponse) ProtoMessage()
- func (x *CreateMemoCommentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMemoCommentResponse) Reset()
- func (x *CreateMemoCommentResponse) String() string
- type CreateMemoRequest
- func (*CreateMemoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemoRequest) GetContent() string
- func (x *CreateMemoRequest) GetVisibility() Visibility
- func (*CreateMemoRequest) ProtoMessage()
- func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMemoRequest) Reset()
- func (x *CreateMemoRequest) String() string
- type CreateMemoResponse
- type CreateResourceRequest
- func (*CreateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRequest) GetExternalLink() string
- func (x *CreateResourceRequest) GetFilename() string
- func (x *CreateResourceRequest) GetMemoId() int32
- func (x *CreateResourceRequest) GetType() string
- func (*CreateResourceRequest) ProtoMessage()
- func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRequest) Reset()
- func (x *CreateResourceRequest) String() string
- type CreateResourceResponse
- func (*CreateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceResponse) GetResource() *Resource
- func (*CreateResourceResponse) ProtoMessage()
- func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResourceResponse) Reset()
- func (x *CreateResourceResponse) String() string
- type CreateUserAccessTokenRequest
- func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserAccessTokenRequest) GetDescription() string
- func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp
- func (x *CreateUserAccessTokenRequest) GetName() string
- 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 CreateWebhookRequest
- func (*CreateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWebhookRequest) GetName() string
- func (x *CreateWebhookRequest) GetUrl() string
- func (*CreateWebhookRequest) ProtoMessage()
- func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWebhookRequest) Reset()
- func (x *CreateWebhookRequest) String() string
- type CreateWebhookResponse
- func (*CreateWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWebhookResponse) GetWebhook() *Webhook
- func (*CreateWebhookResponse) ProtoMessage()
- func (x *CreateWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWebhookResponse) Reset()
- func (x *CreateWebhookResponse) String() string
- type DeleteInboxRequest
- func (*DeleteInboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInboxRequest) GetName() string
- func (*DeleteInboxRequest) ProtoMessage()
- func (x *DeleteInboxRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInboxRequest) Reset()
- func (x *DeleteInboxRequest) String() string
- type DeleteInboxResponse
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRequest) GetId() int32
- func (*DeleteResourceRequest) ProtoMessage()
- func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRequest) Reset()
- func (x *DeleteResourceRequest) String() string
- type DeleteResourceResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DeleteUserAccessTokenRequest
- func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserAccessTokenRequest) GetAccessToken() string
- func (x *DeleteUserAccessTokenRequest) GetName() string
- 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 DeleteWebhookRequest
- func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWebhookRequest) GetId() int32
- func (*DeleteWebhookRequest) ProtoMessage()
- func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWebhookRequest) Reset()
- func (x *DeleteWebhookRequest) String() string
- type DeleteWebhookResponse
- type GetActivityRequest
- type GetActivityResponse
- func (*GetActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActivityResponse) GetActivity() *Activity
- func (*GetActivityResponse) ProtoMessage()
- func (x *GetActivityResponse) ProtoReflect() protoreflect.Message
- func (x *GetActivityResponse) Reset()
- func (x *GetActivityResponse) String() string
- 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 GetMemoRequest
- type GetMemoResponse
- type GetSystemInfoRequest
- type GetSystemInfoResponse
- func (*GetSystemInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSystemInfoResponse) GetSystemInfo() *SystemInfo
- func (*GetSystemInfoResponse) ProtoMessage()
- func (x *GetSystemInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetSystemInfoResponse) Reset()
- func (x *GetSystemInfoResponse) String() string
- type GetTagSuggestionsRequest
- func (*GetTagSuggestionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSuggestionsRequest) GetUser() string
- func (*GetTagSuggestionsRequest) ProtoMessage()
- func (x *GetTagSuggestionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagSuggestionsRequest) Reset()
- func (x *GetTagSuggestionsRequest) String() string
- type GetTagSuggestionsResponse
- func (*GetTagSuggestionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSuggestionsResponse) GetTags() []string
- func (*GetTagSuggestionsResponse) ProtoMessage()
- func (x *GetTagSuggestionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTagSuggestionsResponse) Reset()
- func (x *GetTagSuggestionsResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type GetUserSettingRequest
- func (*GetUserSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSettingRequest) GetName() string
- 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) GetSetting() *UserSetting
- func (*GetUserSettingResponse) ProtoMessage()
- func (x *GetUserSettingResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSettingResponse) Reset()
- func (x *GetUserSettingResponse) String() string
- type GetWebhookRequest
- type GetWebhookResponse
- func (*GetWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWebhookResponse) GetWebhook() *Webhook
- func (*GetWebhookResponse) ProtoMessage()
- func (x *GetWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *GetWebhookResponse) Reset()
- func (x *GetWebhookResponse) String() string
- type Inbox
- func (*Inbox) Descriptor() ([]byte, []int)deprecated
- func (x *Inbox) GetActivityId() int32
- func (x *Inbox) GetCreateTime() *timestamppb.Timestamp
- func (x *Inbox) GetName() string
- func (x *Inbox) GetReceiver() string
- func (x *Inbox) GetSender() string
- func (x *Inbox) GetStatus() Inbox_Status
- func (x *Inbox) GetType() Inbox_Type
- func (*Inbox) ProtoMessage()
- func (x *Inbox) ProtoReflect() protoreflect.Message
- func (x *Inbox) Reset()
- func (x *Inbox) String() string
- type InboxServiceClient
- type InboxServiceServer
- type Inbox_Status
- func (Inbox_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Inbox_Status) Enum() *Inbox_Status
- func (Inbox_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Inbox_Status) Number() protoreflect.EnumNumber
- func (x Inbox_Status) String() string
- func (Inbox_Status) Type() protoreflect.EnumType
- type Inbox_Type
- type ListInboxesRequest
- func (*ListInboxesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInboxesRequest) GetUser() string
- func (*ListInboxesRequest) ProtoMessage()
- func (x *ListInboxesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInboxesRequest) Reset()
- func (x *ListInboxesRequest) String() string
- type ListInboxesResponse
- func (*ListInboxesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInboxesResponse) GetInboxes() []*Inbox
- func (*ListInboxesResponse) ProtoMessage()
- func (x *ListInboxesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInboxesResponse) Reset()
- func (x *ListInboxesResponse) String() string
- type ListMemoCommentsRequest
- func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoCommentsRequest) GetId() int32
- func (*ListMemoCommentsRequest) ProtoMessage()
- func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemoCommentsRequest) Reset()
- func (x *ListMemoCommentsRequest) String() string
- type ListMemoCommentsResponse
- func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemoCommentsResponse) GetMemos() []*Memo
- func (*ListMemoCommentsResponse) ProtoMessage()
- func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemoCommentsResponse) Reset()
- func (x *ListMemoCommentsResponse) String() string
- type ListMemosRequest
- func (*ListMemosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemosRequest) GetCreatorId() int32
- func (x *ListMemosRequest) GetFilter() string
- func (x *ListMemosRequest) GetPage() int32
- func (x *ListMemosRequest) GetPageSize() int32
- func (*ListMemosRequest) ProtoMessage()
- func (x *ListMemosRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemosRequest) Reset()
- func (x *ListMemosRequest) String() string
- type ListMemosResponse
- type ListResourcesRequest
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse) GetResources() []*Resource
- func (*ListResourcesResponse) ProtoMessage()
- func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse) Reset()
- func (x *ListResourcesResponse) String() string
- type ListTagsRequest
- type ListTagsResponse
- type ListUserAccessTokensRequest
- func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAccessTokensRequest) GetName() string
- 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 ListWebhooksRequest
- func (*ListWebhooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksRequest) GetCreatorId() int32
- func (*ListWebhooksRequest) ProtoMessage()
- func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksRequest) Reset()
- func (x *ListWebhooksRequest) String() string
- type ListWebhooksResponse
- func (*ListWebhooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksResponse) GetWebhooks() []*Webhook
- func (*ListWebhooksResponse) ProtoMessage()
- func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksResponse) Reset()
- func (x *ListWebhooksResponse) String() string
- type Memo
- func (*Memo) Descriptor() ([]byte, []int)deprecated
- func (x *Memo) GetContent() string
- func (x *Memo) GetCreatedTs() int64
- func (x *Memo) GetCreatorId() int32
- func (x *Memo) GetId() int32
- func (x *Memo) GetPinned() bool
- func (x *Memo) GetRowStatus() RowStatus
- func (x *Memo) GetUpdatedTs() int64
- func (x *Memo) GetVisibility() Visibility
- func (*Memo) ProtoMessage()
- func (x *Memo) ProtoReflect() protoreflect.Message
- func (x *Memo) Reset()
- func (x *Memo) String() string
- type MemoServiceClient
- type MemoServiceServer
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCreatedTs() *timestamppb.Timestamp
- func (x *Resource) GetExternalLink() string
- func (x *Resource) GetFilename() string
- func (x *Resource) GetId() int32
- func (x *Resource) GetMemoId() int32
- func (x *Resource) GetSize() int64
- func (x *Resource) GetType() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceServiceClient
- type ResourceServiceServer
- type RowStatus
- type SystemInfo
- func (*SystemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfo) GetAdditionalScript() string
- func (x *SystemInfo) GetAdditionalStyle() string
- func (x *SystemInfo) GetAllowRegistration() bool
- func (x *SystemInfo) GetDbSize() int64
- func (x *SystemInfo) GetDisablePasswordLogin() bool
- func (x *SystemInfo) GetMode() string
- func (x *SystemInfo) GetVersion() string
- func (*SystemInfo) ProtoMessage()
- func (x *SystemInfo) ProtoReflect() protoreflect.Message
- func (x *SystemInfo) Reset()
- func (x *SystemInfo) String() string
- type SystemServiceClient
- type SystemServiceServer
- type Tag
- type TagServiceClient
- type TagServiceServer
- type UnimplementedActivityServiceServer
- type UnimplementedAuthServiceServer
- type UnimplementedInboxServiceServer
- func (UnimplementedInboxServiceServer) DeleteInbox(context.Context, *DeleteInboxRequest) (*DeleteInboxResponse, error)
- func (UnimplementedInboxServiceServer) ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error)
- func (UnimplementedInboxServiceServer) UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error)
- type UnimplementedMemoServiceServer
- func (UnimplementedMemoServiceServer) CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error)
- func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error)
- func (UnimplementedMemoServiceServer) GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
- func (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
- func (UnimplementedMemoServiceServer) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
- type UnimplementedResourceServiceServer
- func (UnimplementedResourceServiceServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
- func (UnimplementedResourceServiceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
- func (UnimplementedResourceServiceServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
- func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
- type UnimplementedSystemServiceServer
- type UnimplementedTagServiceServer
- func (UnimplementedTagServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error)
- func (UnimplementedTagServiceServer) GetTagSuggestions(context.Context, *GetTagSuggestionsRequest) (*GetTagSuggestionsResponse, error)
- func (UnimplementedTagServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
- func (UnimplementedTagServiceServer) UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error)
- 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) GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
- func (UnimplementedUserServiceServer) ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedUserServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
- type UnimplementedWebhookServiceServer
- func (UnimplementedWebhookServiceServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error)
- func (UnimplementedWebhookServiceServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error)
- func (UnimplementedWebhookServiceServer) GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
- func (UnimplementedWebhookServiceServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
- func (UnimplementedWebhookServiceServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
- type UnsafeActivityServiceServer
- type UnsafeAuthServiceServer
- type UnsafeInboxServiceServer
- type UnsafeMemoServiceServer
- type UnsafeResourceServiceServer
- type UnsafeSystemServiceServer
- type UnsafeTagServiceServer
- type UnsafeUserServiceServer
- type UnsafeWebhookServiceServer
- type UpdateInboxRequest
- func (*UpdateInboxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInboxRequest) GetInbox() *Inbox
- func (x *UpdateInboxRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateInboxRequest) ProtoMessage()
- func (x *UpdateInboxRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInboxRequest) Reset()
- func (x *UpdateInboxRequest) String() string
- type UpdateInboxResponse
- func (*UpdateInboxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInboxResponse) GetInbox() *Inbox
- func (*UpdateInboxResponse) ProtoMessage()
- func (x *UpdateInboxResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateInboxResponse) Reset()
- func (x *UpdateInboxResponse) String() string
- type UpdateResourceRequest
- func (*UpdateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRequest) GetResource() *Resource
- func (x *UpdateResourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateResourceRequest) ProtoMessage()
- func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRequest) Reset()
- func (x *UpdateResourceRequest) String() string
- type UpdateResourceResponse
- func (*UpdateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceResponse) GetResource() *Resource
- func (*UpdateResourceResponse) ProtoMessage()
- func (x *UpdateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceResponse) Reset()
- func (x *UpdateResourceResponse) String() string
- type UpdateSystemInfoRequest
- func (*UpdateSystemInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSystemInfoRequest) GetSystemInfo() *SystemInfo
- func (x *UpdateSystemInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSystemInfoRequest) ProtoMessage()
- func (x *UpdateSystemInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSystemInfoRequest) Reset()
- func (x *UpdateSystemInfoRequest) String() string
- type UpdateSystemInfoResponse
- func (*UpdateSystemInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSystemInfoResponse) GetSystemInfo() *SystemInfo
- func (*UpdateSystemInfoResponse) ProtoMessage()
- func (x *UpdateSystemInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSystemInfoResponse) Reset()
- func (x *UpdateSystemInfoResponse) 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) GetSetting() *UserSetting
- func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- 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) GetSetting() *UserSetting
- func (*UpdateUserSettingResponse) ProtoMessage()
- func (x *UpdateUserSettingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingResponse) Reset()
- func (x *UpdateUserSettingResponse) String() string
- type UpdateWebhookRequest
- func (*UpdateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWebhookRequest) GetWebhook() *Webhook
- func (*UpdateWebhookRequest) ProtoMessage()
- func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWebhookRequest) Reset()
- func (x *UpdateWebhookRequest) String() string
- type UpdateWebhookResponse
- func (*UpdateWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWebhookResponse) GetWebhook() *Webhook
- func (*UpdateWebhookResponse) ProtoMessage()
- func (x *UpdateWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateWebhookResponse) Reset()
- func (x *UpdateWebhookResponse) String() string
- type UpsertTagRequest
- type UpsertTagResponse
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarUrl() string
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetId() int32
- func (x *User) GetName() string
- func (x *User) GetNickname() string
- func (x *User) GetPassword() string
- func (x *User) GetRole() User_Role
- func (x *User) GetRowStatus() RowStatus
- func (x *User) GetUpdateTime() *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) GetAppearance() string
- func (x *UserSetting) GetLocale() string
- func (x *UserSetting) GetMemoVisibility() string
- func (x *UserSetting) GetName() string
- func (x *UserSetting) GetTelegramUserId() string
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type User_Role
- type Visibility
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook) GetCreatedTime() *timestamppb.Timestamp
- func (x *Webhook) GetCreatorId() int32
- func (x *Webhook) GetId() int32
- func (x *Webhook) GetName() string
- func (x *Webhook) GetRowStatus() RowStatus
- func (x *Webhook) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Webhook) GetUrl() string
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
- type WebhookServiceClient
- type WebhookServiceServer
Constants ¶
const ( InboxService_ListInboxes_FullMethodName = "/memos.api.v2.InboxService/ListInboxes" InboxService_UpdateInbox_FullMethodName = "/memos.api.v2.InboxService/UpdateInbox" InboxService_DeleteInbox_FullMethodName = "/memos.api.v2.InboxService/DeleteInbox" )
const ( MemoService_CreateMemo_FullMethodName = "/memos.api.v2.MemoService/CreateMemo" MemoService_ListMemos_FullMethodName = "/memos.api.v2.MemoService/ListMemos" MemoService_GetMemo_FullMethodName = "/memos.api.v2.MemoService/GetMemo" MemoService_CreateMemoComment_FullMethodName = "/memos.api.v2.MemoService/CreateMemoComment" MemoService_ListMemoComments_FullMethodName = "/memos.api.v2.MemoService/ListMemoComments" )
const ( ResourceService_CreateResource_FullMethodName = "/memos.api.v2.ResourceService/CreateResource" ResourceService_ListResources_FullMethodName = "/memos.api.v2.ResourceService/ListResources" ResourceService_UpdateResource_FullMethodName = "/memos.api.v2.ResourceService/UpdateResource" ResourceService_DeleteResource_FullMethodName = "/memos.api.v2.ResourceService/DeleteResource" )
const ( SystemService_GetSystemInfo_FullMethodName = "/memos.api.v2.SystemService/GetSystemInfo" SystemService_UpdateSystemInfo_FullMethodName = "/memos.api.v2.SystemService/UpdateSystemInfo" )
const ( TagService_UpsertTag_FullMethodName = "/memos.api.v2.TagService/UpsertTag" TagService_ListTags_FullMethodName = "/memos.api.v2.TagService/ListTags" TagService_DeleteTag_FullMethodName = "/memos.api.v2.TagService/DeleteTag" TagService_GetTagSuggestions_FullMethodName = "/memos.api.v2.TagService/GetTagSuggestions" )
const ( UserService_GetUser_FullMethodName = "/memos.api.v2.UserService/GetUser" UserService_CreateUser_FullMethodName = "/memos.api.v2.UserService/CreateUser" UserService_UpdateUser_FullMethodName = "/memos.api.v2.UserService/UpdateUser" UserService_DeleteUser_FullMethodName = "/memos.api.v2.UserService/DeleteUser" UserService_GetUserSetting_FullMethodName = "/memos.api.v2.UserService/GetUserSetting" UserService_UpdateUserSetting_FullMethodName = "/memos.api.v2.UserService/UpdateUserSetting" UserService_ListUserAccessTokens_FullMethodName = "/memos.api.v2.UserService/ListUserAccessTokens" UserService_CreateUserAccessToken_FullMethodName = "/memos.api.v2.UserService/CreateUserAccessToken" UserService_DeleteUserAccessToken_FullMethodName = "/memos.api.v2.UserService/DeleteUserAccessToken" )
const ( WebhookService_CreateWebhook_FullMethodName = "/memos.api.v2.WebhookService/CreateWebhook" WebhookService_GetWebhook_FullMethodName = "/memos.api.v2.WebhookService/GetWebhook" WebhookService_ListWebhooks_FullMethodName = "/memos.api.v2.WebhookService/ListWebhooks" WebhookService_UpdateWebhook_FullMethodName = "/memos.api.v2.WebhookService/UpdateWebhook" WebhookService_DeleteWebhook_FullMethodName = "/memos.api.v2.WebhookService/DeleteWebhook" )
const (
ActivityService_GetActivity_FullMethodName = "/memos.api.v2.ActivityService/GetActivity"
)
const (
AuthService_GetAuthStatus_FullMethodName = "/memos.api.v2.AuthService/GetAuthStatus"
)
Variables ¶
var ( RowStatus_name = map[int32]string{ 0: "ROW_STATUS_UNSPECIFIED", 1: "ACTIVE", 2: "ARCHIVED", } RowStatus_value = map[string]int32{ "ROW_STATUS_UNSPECIFIED": 0, "ACTIVE": 1, "ARCHIVED": 2, } )
Enum value maps for RowStatus.
var ( Inbox_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "UNREAD", 2: "ARCHIVED", } Inbox_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "UNREAD": 1, "ARCHIVED": 2, } )
Enum value maps for Inbox_Status.
var ( Inbox_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_MEMO_COMMENT", 2: "TYPE_VERSION_UPDATE", } Inbox_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_MEMO_COMMENT": 1, "TYPE_VERSION_UPDATE": 2, } )
Enum value maps for Inbox_Type.
var ( Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "PRIVATE", 2: "PROTECTED", 3: "PUBLIC", } Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "PRIVATE": 1, "PROTECTED": 2, "PUBLIC": 3, } )
Enum value maps for Visibility.
var ( User_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "HOST", 2: "ADMIN", 3: "USER", } User_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "HOST": 1, "ADMIN": 2, "USER": 3, } )
Enum value maps for User_Role.
var ActivityService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.ActivityService", HandlerType: (*ActivityServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetActivity", Handler: _ActivityService_GetActivity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/activity_service.proto", }
ActivityService_ServiceDesc is the grpc.ServiceDesc for ActivityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthStatus", Handler: _AuthService_GetAuthStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/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 File_api_v2_activity_service_proto protoreflect.FileDescriptor
var File_api_v2_auth_service_proto protoreflect.FileDescriptor
var File_api_v2_common_proto protoreflect.FileDescriptor
var File_api_v2_inbox_service_proto protoreflect.FileDescriptor
var File_api_v2_memo_service_proto protoreflect.FileDescriptor
var File_api_v2_resource_service_proto protoreflect.FileDescriptor
var File_api_v2_system_service_proto protoreflect.FileDescriptor
var File_api_v2_tag_service_proto protoreflect.FileDescriptor
var File_api_v2_user_service_proto protoreflect.FileDescriptor
var File_api_v2_webhook_service_proto protoreflect.FileDescriptor
var InboxService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.InboxService", HandlerType: (*InboxServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListInboxes", Handler: _InboxService_ListInboxes_Handler, }, { MethodName: "UpdateInbox", Handler: _InboxService_UpdateInbox_Handler, }, { MethodName: "DeleteInbox", Handler: _InboxService_DeleteInbox_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/inbox_service.proto", }
InboxService_ServiceDesc is the grpc.ServiceDesc for InboxService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MemoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.MemoService", HandlerType: (*MemoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateMemo", Handler: _MemoService_CreateMemo_Handler, }, { MethodName: "ListMemos", Handler: _MemoService_ListMemos_Handler, }, { MethodName: "GetMemo", Handler: _MemoService_GetMemo_Handler, }, { MethodName: "CreateMemoComment", Handler: _MemoService_CreateMemoComment_Handler, }, { MethodName: "ListMemoComments", Handler: _MemoService_ListMemoComments_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/memo_service.proto", }
MemoService_ServiceDesc is the grpc.ServiceDesc for MemoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ResourceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.ResourceService", HandlerType: (*ResourceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateResource", Handler: _ResourceService_CreateResource_Handler, }, { MethodName: "ListResources", Handler: _ResourceService_ListResources_Handler, }, { MethodName: "UpdateResource", Handler: _ResourceService_UpdateResource_Handler, }, { MethodName: "DeleteResource", Handler: _ResourceService_DeleteResource_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/resource_service.proto", }
ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.SystemService", HandlerType: (*SystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSystemInfo", Handler: _SystemService_GetSystemInfo_Handler, }, { MethodName: "UpdateSystemInfo", Handler: _SystemService_UpdateSystemInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/system_service.proto", }
SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TagService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.TagService", HandlerType: (*TagServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpsertTag", Handler: _TagService_UpsertTag_Handler, }, { MethodName: "ListTags", Handler: _TagService_ListTags_Handler, }, { MethodName: "DeleteTag", Handler: _TagService_DeleteTag_Handler, }, { MethodName: "GetTagSuggestions", Handler: _TagService_GetTagSuggestions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/tag_service.proto", }
TagService_ServiceDesc is the grpc.ServiceDesc for TagService 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: "memos.api.v2.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { 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: "GetUserSetting", Handler: _UserService_GetUserSetting_Handler, }, { MethodName: "UpdateUserSetting", Handler: _UserService_UpdateUserSetting_Handler, }, { MethodName: "ListUserAccessTokens", Handler: _UserService_ListUserAccessTokens_Handler, }, { MethodName: "CreateUserAccessToken", Handler: _UserService_CreateUserAccessToken_Handler, }, { MethodName: "DeleteUserAccessToken", Handler: _UserService_DeleteUserAccessToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/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 WebhookService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "memos.api.v2.WebhookService", HandlerType: (*WebhookServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateWebhook", Handler: _WebhookService_CreateWebhook_Handler, }, { MethodName: "GetWebhook", Handler: _WebhookService_GetWebhook_Handler, }, { MethodName: "ListWebhooks", Handler: _WebhookService_ListWebhooks_Handler, }, { MethodName: "UpdateWebhook", Handler: _WebhookService_UpdateWebhook_Handler, }, { MethodName: "DeleteWebhook", Handler: _WebhookService_DeleteWebhook_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v2/webhook_service.proto", }
WebhookService_ServiceDesc is the grpc.ServiceDesc for WebhookService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterActivityServiceHandler ¶ added in v0.17.0
func RegisterActivityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterActivityServiceHandler registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterActivityServiceHandlerClient ¶ added in v0.17.0
func RegisterActivityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityServiceClient) error
RegisterActivityServiceHandlerClient registers the http handlers for service ActivityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ActivityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ActivityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ActivityServiceClient" to call the correct interceptors.
func RegisterActivityServiceHandlerFromEndpoint ¶ added in v0.17.0
func RegisterActivityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterActivityServiceHandlerFromEndpoint is same as RegisterActivityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterActivityServiceHandlerServer ¶ added in v0.17.0
func RegisterActivityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityServiceServer) error
RegisterActivityServiceHandlerServer registers the http handlers for service ActivityService to "mux". UnaryRPC :call ActivityServiceServer 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 RegisterActivityServiceHandlerFromEndpoint instead.
func RegisterActivityServiceServer ¶ added in v0.17.0
func RegisterActivityServiceServer(s grpc.ServiceRegistrar, srv ActivityServiceServer)
func RegisterAuthServiceHandler ¶ added in v0.18.0
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 ¶ added in v0.18.0
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 ¶ added in v0.18.0
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 ¶ added in v0.18.0
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 ¶ added in v0.18.0
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterInboxServiceHandler ¶ added in v0.17.0
func RegisterInboxServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInboxServiceHandler registers the http handlers for service InboxService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInboxServiceHandlerClient ¶ added in v0.17.0
func RegisterInboxServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InboxServiceClient) error
RegisterInboxServiceHandlerClient registers the http handlers for service InboxService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InboxServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InboxServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InboxServiceClient" to call the correct interceptors.
func RegisterInboxServiceHandlerFromEndpoint ¶ added in v0.17.0
func RegisterInboxServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInboxServiceHandlerFromEndpoint is same as RegisterInboxServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInboxServiceHandlerServer ¶ added in v0.17.0
func RegisterInboxServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InboxServiceServer) error
RegisterInboxServiceHandlerServer registers the http handlers for service InboxService to "mux". UnaryRPC :call InboxServiceServer 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 RegisterInboxServiceHandlerFromEndpoint instead.
func RegisterInboxServiceServer ¶ added in v0.17.0
func RegisterInboxServiceServer(s grpc.ServiceRegistrar, srv InboxServiceServer)
func RegisterMemoServiceHandler ¶
func RegisterMemoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMemoServiceHandler registers the http handlers for service MemoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMemoServiceHandlerClient ¶
func RegisterMemoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MemoServiceClient) error
RegisterMemoServiceHandlerClient registers the http handlers for service MemoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MemoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MemoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MemoServiceClient" to call the correct interceptors.
func RegisterMemoServiceHandlerFromEndpoint ¶
func RegisterMemoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMemoServiceHandlerFromEndpoint is same as RegisterMemoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMemoServiceHandlerServer ¶
func RegisterMemoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MemoServiceServer) error
RegisterMemoServiceHandlerServer registers the http handlers for service MemoService to "mux". UnaryRPC :call MemoServiceServer 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 RegisterMemoServiceHandlerFromEndpoint instead.
func RegisterMemoServiceServer ¶
func RegisterMemoServiceServer(s grpc.ServiceRegistrar, srv MemoServiceServer)
func RegisterResourceServiceHandler ¶ added in v0.15.0
func RegisterResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterResourceServiceHandler registers the http handlers for service ResourceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterResourceServiceHandlerClient ¶ added in v0.15.0
func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error
RegisterResourceServiceHandlerClient registers the http handlers for service ResourceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceServiceClient" to call the correct interceptors.
func RegisterResourceServiceHandlerFromEndpoint ¶ added in v0.15.0
func RegisterResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterResourceServiceHandlerFromEndpoint is same as RegisterResourceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterResourceServiceHandlerServer ¶ added in v0.15.0
func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error
RegisterResourceServiceHandlerServer registers the http handlers for service ResourceService to "mux". UnaryRPC :call ResourceServiceServer 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 RegisterResourceServiceHandlerFromEndpoint instead.
func RegisterResourceServiceServer ¶ added in v0.15.0
func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
func RegisterSystemServiceHandler ¶
func RegisterSystemServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSystemServiceHandler registers the http handlers for service SystemService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSystemServiceHandlerClient ¶
func RegisterSystemServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SystemServiceClient) error
RegisterSystemServiceHandlerClient registers the http handlers for service SystemService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SystemServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SystemServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SystemServiceClient" to call the correct interceptors.
func RegisterSystemServiceHandlerFromEndpoint ¶
func RegisterSystemServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSystemServiceHandlerFromEndpoint is same as RegisterSystemServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSystemServiceHandlerServer ¶
func RegisterSystemServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SystemServiceServer) error
RegisterSystemServiceHandlerServer registers the http handlers for service SystemService to "mux". UnaryRPC :call SystemServiceServer 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 RegisterSystemServiceHandlerFromEndpoint instead.
func RegisterSystemServiceServer ¶
func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
func RegisterTagServiceHandler ¶
func RegisterTagServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTagServiceHandler registers the http handlers for service TagService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTagServiceHandlerClient ¶
func RegisterTagServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagServiceClient) error
RegisterTagServiceHandlerClient registers the http handlers for service TagService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TagServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TagServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TagServiceClient" to call the correct interceptors.
func RegisterTagServiceHandlerFromEndpoint ¶
func RegisterTagServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTagServiceHandlerFromEndpoint is same as RegisterTagServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTagServiceHandlerServer ¶
func RegisterTagServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagServiceServer) error
RegisterTagServiceHandlerServer registers the http handlers for service TagService to "mux". UnaryRPC :call TagServiceServer 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 RegisterTagServiceHandlerFromEndpoint instead.
func RegisterTagServiceServer ¶
func RegisterTagServiceServer(s grpc.ServiceRegistrar, srv TagServiceServer)
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 RegisterWebhookServiceHandler ¶ added in v0.18.0
func RegisterWebhookServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWebhookServiceHandler registers the http handlers for service WebhookService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWebhookServiceHandlerClient ¶ added in v0.18.0
func RegisterWebhookServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebhookServiceClient) error
RegisterWebhookServiceHandlerClient registers the http handlers for service WebhookService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WebhookServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WebhookServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WebhookServiceClient" to call the correct interceptors.
func RegisterWebhookServiceHandlerFromEndpoint ¶ added in v0.18.0
func RegisterWebhookServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWebhookServiceHandlerFromEndpoint is same as RegisterWebhookServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWebhookServiceHandlerServer ¶ added in v0.18.0
func RegisterWebhookServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WebhookServiceServer) error
RegisterWebhookServiceHandlerServer registers the http handlers for service WebhookService to "mux". UnaryRPC :call WebhookServiceServer 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 RegisterWebhookServiceHandlerFromEndpoint instead.
func RegisterWebhookServiceServer ¶ added in v0.18.0
func RegisterWebhookServiceServer(s grpc.ServiceRegistrar, srv WebhookServiceServer)
Types ¶
type Activity ¶ added in v0.17.0
type Activity 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"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Payload *ActivityPayload `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Activity) Descriptor
deprecated
added in
v0.17.0
func (*Activity) GetCreateTime ¶ added in v0.17.0
func (x *Activity) GetCreateTime() *timestamppb.Timestamp
func (*Activity) GetCreatorId ¶ added in v0.17.0
func (*Activity) GetPayload ¶ added in v0.17.0
func (x *Activity) GetPayload() *ActivityPayload
func (*Activity) ProtoMessage ¶ added in v0.17.0
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶ added in v0.17.0
func (x *Activity) ProtoReflect() protoreflect.Message
type ActivityMemoCommentPayload ¶ added in v0.17.0
type ActivityMemoCommentPayload struct { MemoId int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"` RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"` // contains filtered or unexported fields }
func (*ActivityMemoCommentPayload) Descriptor
deprecated
added in
v0.17.0
func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
func (*ActivityMemoCommentPayload) GetMemoId ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) GetMemoId() int32
func (*ActivityMemoCommentPayload) GetRelatedMemoId ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
func (*ActivityMemoCommentPayload) ProtoMessage ¶ added in v0.17.0
func (*ActivityMemoCommentPayload) ProtoMessage()
func (*ActivityMemoCommentPayload) ProtoReflect ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
func (*ActivityMemoCommentPayload) Reset ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) Reset()
func (*ActivityMemoCommentPayload) String ¶ added in v0.17.0
func (x *ActivityMemoCommentPayload) String() string
type ActivityPayload ¶ added in v0.17.0
type ActivityPayload struct { MemoComment *ActivityMemoCommentPayload `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3" json:"memo_comment,omitempty"` VersionUpdate *ActivityVersionUpdatePayload `protobuf:"bytes,2,opt,name=version_update,json=versionUpdate,proto3" json:"version_update,omitempty"` // contains filtered or unexported fields }
func (*ActivityPayload) Descriptor
deprecated
added in
v0.17.0
func (*ActivityPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.
func (*ActivityPayload) GetMemoComment ¶ added in v0.17.0
func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
func (*ActivityPayload) GetVersionUpdate ¶ added in v0.17.1
func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload
func (*ActivityPayload) ProtoMessage ¶ added in v0.17.0
func (*ActivityPayload) ProtoMessage()
func (*ActivityPayload) ProtoReflect ¶ added in v0.17.0
func (x *ActivityPayload) ProtoReflect() protoreflect.Message
func (*ActivityPayload) Reset ¶ added in v0.17.0
func (x *ActivityPayload) Reset()
func (*ActivityPayload) String ¶ added in v0.17.0
func (x *ActivityPayload) String() string
type ActivityServiceClient ¶ added in v0.17.0
type ActivityServiceClient interface {
GetActivity(ctx context.Context, in *GetActivityRequest, opts ...grpc.CallOption) (*GetActivityResponse, error)
}
ActivityServiceClient is the client API for ActivityService 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 NewActivityServiceClient ¶ added in v0.17.0
func NewActivityServiceClient(cc grpc.ClientConnInterface) ActivityServiceClient
type ActivityServiceServer ¶ added in v0.17.0
type ActivityServiceServer interface { GetActivity(context.Context, *GetActivityRequest) (*GetActivityResponse, error) // contains filtered or unexported methods }
ActivityServiceServer is the server API for ActivityService service. All implementations must embed UnimplementedActivityServiceServer for forward compatibility
type ActivityVersionUpdatePayload ¶ added in v0.17.1
type ActivityVersionUpdatePayload struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ActivityVersionUpdatePayload) Descriptor
deprecated
added in
v0.17.1
func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityVersionUpdatePayload.ProtoReflect.Descriptor instead.
func (*ActivityVersionUpdatePayload) GetVersion ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) GetVersion() string
func (*ActivityVersionUpdatePayload) ProtoMessage ¶ added in v0.17.1
func (*ActivityVersionUpdatePayload) ProtoMessage()
func (*ActivityVersionUpdatePayload) ProtoReflect ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
func (*ActivityVersionUpdatePayload) Reset ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) Reset()
func (*ActivityVersionUpdatePayload) String ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) String() string
type AuthServiceClient ¶ added in v0.18.0
type AuthServiceClient interface {
GetAuthStatus(ctx context.Context, in *GetAuthStatusRequest, opts ...grpc.CallOption) (*GetAuthStatusResponse, 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 ¶ added in v0.18.0
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶ added in v0.18.0
type AuthServiceServer interface { GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type CreateMemoCommentRequest ¶ added in v0.16.0
type CreateMemoCommentRequest struct { // id is the memo id to create comment for. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Create *CreateMemoRequest `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoCommentRequest) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateMemoCommentRequest) GetCreate ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) GetCreate() *CreateMemoRequest
func (*CreateMemoCommentRequest) GetId ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) GetId() int32
func (*CreateMemoCommentRequest) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoCommentRequest) ProtoMessage()
func (*CreateMemoCommentRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message
func (*CreateMemoCommentRequest) Reset ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) Reset()
func (*CreateMemoCommentRequest) String ¶ added in v0.16.0
func (x *CreateMemoCommentRequest) String() string
type CreateMemoCommentResponse ¶ added in v0.16.0
type CreateMemoCommentResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoCommentResponse) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoCommentResponse.ProtoReflect.Descriptor instead.
func (*CreateMemoCommentResponse) GetMemo ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) GetMemo() *Memo
func (*CreateMemoCommentResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoCommentResponse) ProtoMessage()
func (*CreateMemoCommentResponse) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) ProtoReflect() protoreflect.Message
func (*CreateMemoCommentResponse) Reset ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) Reset()
func (*CreateMemoCommentResponse) String ¶ added in v0.16.0
func (x *CreateMemoCommentResponse) String() string
type CreateMemoRequest ¶ added in v0.16.0
type CreateMemoRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoRequest) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoRequest.ProtoReflect.Descriptor instead.
func (*CreateMemoRequest) GetContent ¶ added in v0.16.0
func (x *CreateMemoRequest) GetContent() string
func (*CreateMemoRequest) GetVisibility ¶ added in v0.16.0
func (x *CreateMemoRequest) GetVisibility() Visibility
func (*CreateMemoRequest) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoRequest) ProtoMessage()
func (*CreateMemoRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message
func (*CreateMemoRequest) Reset ¶ added in v0.16.0
func (x *CreateMemoRequest) Reset()
func (*CreateMemoRequest) String ¶ added in v0.16.0
func (x *CreateMemoRequest) String() string
type CreateMemoResponse ¶ added in v0.16.0
type CreateMemoResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*CreateMemoResponse) Descriptor
deprecated
added in
v0.16.0
func (*CreateMemoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemoResponse.ProtoReflect.Descriptor instead.
func (*CreateMemoResponse) GetMemo ¶ added in v0.16.0
func (x *CreateMemoResponse) GetMemo() *Memo
func (*CreateMemoResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateMemoResponse) ProtoMessage()
func (*CreateMemoResponse) ProtoReflect ¶ added in v0.16.0
func (x *CreateMemoResponse) ProtoReflect() protoreflect.Message
func (*CreateMemoResponse) Reset ¶ added in v0.16.0
func (x *CreateMemoResponse) Reset()
func (*CreateMemoResponse) String ¶ added in v0.16.0
func (x *CreateMemoResponse) String() string
type CreateResourceRequest ¶ added in v0.16.0
type CreateResourceRequest struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` ExternalLink string `protobuf:"bytes,2,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` MemoId *int32 `protobuf:"varint,4,opt,name=memo_id,json=memoId,proto3,oneof" json:"memo_id,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceRequest) Descriptor
deprecated
added in
v0.16.0
func (*CreateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceRequest) GetExternalLink ¶ added in v0.16.0
func (x *CreateResourceRequest) GetExternalLink() string
func (*CreateResourceRequest) GetFilename ¶ added in v0.16.0
func (x *CreateResourceRequest) GetFilename() string
func (*CreateResourceRequest) GetMemoId ¶ added in v0.16.0
func (x *CreateResourceRequest) GetMemoId() int32
func (*CreateResourceRequest) GetType ¶ added in v0.16.0
func (x *CreateResourceRequest) GetType() string
func (*CreateResourceRequest) ProtoMessage ¶ added in v0.16.0
func (*CreateResourceRequest) ProtoMessage()
func (*CreateResourceRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceRequest) Reset ¶ added in v0.16.0
func (x *CreateResourceRequest) Reset()
func (*CreateResourceRequest) String ¶ added in v0.16.0
func (x *CreateResourceRequest) String() string
type CreateResourceResponse ¶ added in v0.16.0
type CreateResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceResponse) Descriptor
deprecated
added in
v0.16.0
func (*CreateResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.
func (*CreateResourceResponse) GetResource ¶ added in v0.16.0
func (x *CreateResourceResponse) GetResource() *Resource
func (*CreateResourceResponse) ProtoMessage ¶ added in v0.16.0
func (*CreateResourceResponse) ProtoMessage()
func (*CreateResourceResponse) ProtoReflect ¶ added in v0.16.0
func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message
func (*CreateResourceResponse) Reset ¶ added in v0.16.0
func (x *CreateResourceResponse) Reset()
func (*CreateResourceResponse) String ¶ added in v0.16.0
func (x *CreateResourceResponse) String() string
type CreateUserAccessTokenRequest ¶ added in v0.15.0
type CreateUserAccessTokenRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 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
added in
v0.15.0
func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateUserAccessTokenRequest) GetDescription ¶ added in v0.15.2
func (x *CreateUserAccessTokenRequest) GetDescription() string
func (*CreateUserAccessTokenRequest) GetExpiresAt ¶ added in v0.15.2
func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp
func (*CreateUserAccessTokenRequest) GetName ¶ added in v0.17.1
func (x *CreateUserAccessTokenRequest) GetName() string
func (*CreateUserAccessTokenRequest) ProtoMessage ¶ added in v0.15.0
func (*CreateUserAccessTokenRequest) ProtoMessage()
func (*CreateUserAccessTokenRequest) ProtoReflect ¶ added in v0.15.0
func (x *CreateUserAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateUserAccessTokenRequest) Reset ¶ added in v0.15.0
func (x *CreateUserAccessTokenRequest) Reset()
func (*CreateUserAccessTokenRequest) String ¶ added in v0.15.0
func (x *CreateUserAccessTokenRequest) String() string
type CreateUserAccessTokenResponse ¶ added in v0.15.0
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
added in
v0.15.0
func (*CreateUserAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*CreateUserAccessTokenResponse) GetAccessToken ¶ added in v0.15.0
func (x *CreateUserAccessTokenResponse) GetAccessToken() *UserAccessToken
func (*CreateUserAccessTokenResponse) ProtoMessage ¶ added in v0.15.0
func (*CreateUserAccessTokenResponse) ProtoMessage()
func (*CreateUserAccessTokenResponse) ProtoReflect ¶ added in v0.15.0
func (x *CreateUserAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateUserAccessTokenResponse) Reset ¶ added in v0.15.0
func (x *CreateUserAccessTokenResponse) Reset()
func (*CreateUserAccessTokenResponse) String ¶ added in v0.15.0
func (x *CreateUserAccessTokenResponse) String() string
type CreateUserRequest ¶ added in v0.17.0
type CreateUserRequest struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
added in
v0.17.0
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetUser ¶ added in v0.17.0
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶ added in v0.17.0
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶ added in v0.17.0
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶ added in v0.17.0
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶ added in v0.17.0
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶ added in v0.17.0
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
added in
v0.17.0
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶ added in v0.17.0
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶ added in v0.17.0
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶ added in v0.17.0
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶ added in v0.17.0
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶ added in v0.17.0
func (x *CreateUserResponse) String() string
type CreateWebhookRequest ¶ added in v0.18.0
type CreateWebhookRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*CreateWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*CreateWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.
func (*CreateWebhookRequest) GetName ¶ added in v0.18.0
func (x *CreateWebhookRequest) GetName() string
func (*CreateWebhookRequest) GetUrl ¶ added in v0.18.0
func (x *CreateWebhookRequest) GetUrl() string
func (*CreateWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*CreateWebhookRequest) ProtoMessage()
func (*CreateWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message
func (*CreateWebhookRequest) Reset ¶ added in v0.18.0
func (x *CreateWebhookRequest) Reset()
func (*CreateWebhookRequest) String ¶ added in v0.18.0
func (x *CreateWebhookRequest) String() string
type CreateWebhookResponse ¶ added in v0.18.0
type CreateWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*CreateWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*CreateWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWebhookResponse.ProtoReflect.Descriptor instead.
func (*CreateWebhookResponse) GetWebhook ¶ added in v0.18.0
func (x *CreateWebhookResponse) GetWebhook() *Webhook
func (*CreateWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*CreateWebhookResponse) ProtoMessage()
func (*CreateWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *CreateWebhookResponse) ProtoReflect() protoreflect.Message
func (*CreateWebhookResponse) Reset ¶ added in v0.18.0
func (x *CreateWebhookResponse) Reset()
func (*CreateWebhookResponse) String ¶ added in v0.18.0
func (x *CreateWebhookResponse) String() string
type DeleteInboxRequest ¶ added in v0.17.0
type DeleteInboxRequest struct { // The name of the inbox to delete. // Format: inboxes/{inbox} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteInboxRequest) Descriptor
deprecated
added in
v0.17.0
func (*DeleteInboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInboxRequest.ProtoReflect.Descriptor instead.
func (*DeleteInboxRequest) GetName ¶ added in v0.17.0
func (x *DeleteInboxRequest) GetName() string
func (*DeleteInboxRequest) ProtoMessage ¶ added in v0.17.0
func (*DeleteInboxRequest) ProtoMessage()
func (*DeleteInboxRequest) ProtoReflect ¶ added in v0.17.0
func (x *DeleteInboxRequest) ProtoReflect() protoreflect.Message
func (*DeleteInboxRequest) Reset ¶ added in v0.17.0
func (x *DeleteInboxRequest) Reset()
func (*DeleteInboxRequest) String ¶ added in v0.17.0
func (x *DeleteInboxRequest) String() string
type DeleteInboxResponse ¶ added in v0.17.0
type DeleteInboxResponse struct {
// contains filtered or unexported fields
}
func (*DeleteInboxResponse) Descriptor
deprecated
added in
v0.17.0
func (*DeleteInboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInboxResponse.ProtoReflect.Descriptor instead.
func (*DeleteInboxResponse) ProtoMessage ¶ added in v0.17.0
func (*DeleteInboxResponse) ProtoMessage()
func (*DeleteInboxResponse) ProtoReflect ¶ added in v0.17.0
func (x *DeleteInboxResponse) ProtoReflect() protoreflect.Message
func (*DeleteInboxResponse) Reset ¶ added in v0.17.0
func (x *DeleteInboxResponse) Reset()
func (*DeleteInboxResponse) String ¶ added in v0.17.0
func (x *DeleteInboxResponse) String() string
type DeleteResourceRequest ¶ added in v0.16.0
type DeleteResourceRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceRequest) Descriptor
deprecated
added in
v0.16.0
func (*DeleteResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceRequest) GetId ¶ added in v0.16.0
func (x *DeleteResourceRequest) GetId() int32
func (*DeleteResourceRequest) ProtoMessage ¶ added in v0.16.0
func (*DeleteResourceRequest) ProtoMessage()
func (*DeleteResourceRequest) ProtoReflect ¶ added in v0.16.0
func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceRequest) Reset ¶ added in v0.16.0
func (x *DeleteResourceRequest) Reset()
func (*DeleteResourceRequest) String ¶ added in v0.16.0
func (x *DeleteResourceRequest) String() string
type DeleteResourceResponse ¶ added in v0.16.0
type DeleteResourceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResourceResponse) Descriptor
deprecated
added in
v0.16.0
func (*DeleteResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.
func (*DeleteResourceResponse) ProtoMessage ¶ added in v0.16.0
func (*DeleteResourceResponse) ProtoMessage()
func (*DeleteResourceResponse) ProtoReflect ¶ added in v0.16.0
func (x *DeleteResourceResponse) ProtoReflect() protoreflect.Message
func (*DeleteResourceResponse) Reset ¶ added in v0.16.0
func (x *DeleteResourceResponse) Reset()
func (*DeleteResourceResponse) String ¶ added in v0.16.0
func (x *DeleteResourceResponse) String() string
type DeleteTagRequest ¶ added in v0.16.0
type DeleteTagRequest struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*DeleteTagRequest) Descriptor
deprecated
added in
v0.16.0
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagRequest) GetTag ¶ added in v0.16.0
func (x *DeleteTagRequest) GetTag() *Tag
func (*DeleteTagRequest) ProtoMessage ¶ added in v0.16.0
func (*DeleteTagRequest) ProtoMessage()
func (*DeleteTagRequest) ProtoReflect ¶ added in v0.16.0
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagRequest) Reset ¶ added in v0.16.0
func (x *DeleteTagRequest) Reset()
func (*DeleteTagRequest) String ¶ added in v0.16.0
func (x *DeleteTagRequest) String() string
type DeleteTagResponse ¶ added in v0.16.0
type DeleteTagResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTagResponse) Descriptor
deprecated
added in
v0.16.0
func (*DeleteTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagResponse.ProtoReflect.Descriptor instead.
func (*DeleteTagResponse) ProtoMessage ¶ added in v0.16.0
func (*DeleteTagResponse) ProtoMessage()
func (*DeleteTagResponse) ProtoReflect ¶ added in v0.16.0
func (x *DeleteTagResponse) ProtoReflect() protoreflect.Message
func (*DeleteTagResponse) Reset ¶ added in v0.16.0
func (x *DeleteTagResponse) Reset()
func (*DeleteTagResponse) String ¶ added in v0.16.0
func (x *DeleteTagResponse) String() string
type DeleteUserAccessTokenRequest ¶ added in v0.15.0
type DeleteUserAccessTokenRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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
added in
v0.15.0
func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserAccessTokenRequest) GetAccessToken ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) GetAccessToken() string
func (*DeleteUserAccessTokenRequest) GetName ¶ added in v0.17.1
func (x *DeleteUserAccessTokenRequest) GetName() string
func (*DeleteUserAccessTokenRequest) ProtoMessage ¶ added in v0.15.0
func (*DeleteUserAccessTokenRequest) ProtoMessage()
func (*DeleteUserAccessTokenRequest) ProtoReflect ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserAccessTokenRequest) Reset ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) Reset()
func (*DeleteUserAccessTokenRequest) String ¶ added in v0.15.0
func (x *DeleteUserAccessTokenRequest) String() string
type DeleteUserAccessTokenResponse ¶ added in v0.15.0
type DeleteUserAccessTokenResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserAccessTokenResponse) Descriptor
deprecated
added in
v0.15.0
func (*DeleteUserAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserAccessTokenResponse) ProtoMessage ¶ added in v0.15.0
func (*DeleteUserAccessTokenResponse) ProtoMessage()
func (*DeleteUserAccessTokenResponse) ProtoReflect ¶ added in v0.15.0
func (x *DeleteUserAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserAccessTokenResponse) Reset ¶ added in v0.15.0
func (x *DeleteUserAccessTokenResponse) Reset()
func (*DeleteUserAccessTokenResponse) String ¶ added in v0.15.0
func (x *DeleteUserAccessTokenResponse) String() string
type DeleteUserRequest ¶ added in v0.18.0
type DeleteUserRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
added in
v0.18.0
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetName ¶ added in v0.18.0
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) ProtoMessage ¶ added in v0.18.0
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶ added in v0.18.0
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶ added in v0.18.0
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶ added in v0.18.0
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶ added in v0.18.0
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
added in
v0.18.0
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶ added in v0.18.0
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶ added in v0.18.0
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶ added in v0.18.0
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶ added in v0.18.0
func (x *DeleteUserResponse) String() string
type DeleteWebhookRequest ¶ added in v0.18.0
type DeleteWebhookRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.
func (*DeleteWebhookRequest) GetId ¶ added in v0.18.0
func (x *DeleteWebhookRequest) GetId() int32
func (*DeleteWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*DeleteWebhookRequest) ProtoMessage()
func (*DeleteWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message
func (*DeleteWebhookRequest) Reset ¶ added in v0.18.0
func (x *DeleteWebhookRequest) Reset()
func (*DeleteWebhookRequest) String ¶ added in v0.18.0
func (x *DeleteWebhookRequest) String() string
type DeleteWebhookResponse ¶ added in v0.18.0
type DeleteWebhookResponse struct {
// contains filtered or unexported fields
}
func (*DeleteWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*DeleteWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWebhookResponse.ProtoReflect.Descriptor instead.
func (*DeleteWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*DeleteWebhookResponse) ProtoMessage()
func (*DeleteWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *DeleteWebhookResponse) ProtoReflect() protoreflect.Message
func (*DeleteWebhookResponse) Reset ¶ added in v0.18.0
func (x *DeleteWebhookResponse) Reset()
func (*DeleteWebhookResponse) String ¶ added in v0.18.0
func (x *DeleteWebhookResponse) String() string
type GetActivityRequest ¶ added in v0.17.0
type GetActivityRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetActivityRequest) Descriptor
deprecated
added in
v0.17.0
func (*GetActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.
func (*GetActivityRequest) GetId ¶ added in v0.17.0
func (x *GetActivityRequest) GetId() int32
func (*GetActivityRequest) ProtoMessage ¶ added in v0.17.0
func (*GetActivityRequest) ProtoMessage()
func (*GetActivityRequest) ProtoReflect ¶ added in v0.17.0
func (x *GetActivityRequest) ProtoReflect() protoreflect.Message
func (*GetActivityRequest) Reset ¶ added in v0.17.0
func (x *GetActivityRequest) Reset()
func (*GetActivityRequest) String ¶ added in v0.17.0
func (x *GetActivityRequest) String() string
type GetActivityResponse ¶ added in v0.17.0
type GetActivityResponse struct { Activity *Activity `protobuf:"bytes,1,opt,name=activity,proto3" json:"activity,omitempty"` // contains filtered or unexported fields }
func (*GetActivityResponse) Descriptor
deprecated
added in
v0.17.0
func (*GetActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActivityResponse.ProtoReflect.Descriptor instead.
func (*GetActivityResponse) GetActivity ¶ added in v0.17.0
func (x *GetActivityResponse) GetActivity() *Activity
func (*GetActivityResponse) ProtoMessage ¶ added in v0.17.0
func (*GetActivityResponse) ProtoMessage()
func (*GetActivityResponse) ProtoReflect ¶ added in v0.17.0
func (x *GetActivityResponse) ProtoReflect() protoreflect.Message
func (*GetActivityResponse) Reset ¶ added in v0.17.0
func (x *GetActivityResponse) Reset()
func (*GetActivityResponse) String ¶ added in v0.17.0
func (x *GetActivityResponse) String() string
type GetAuthStatusRequest ¶ added in v0.18.0
type GetAuthStatusRequest struct {
// contains filtered or unexported fields
}
func (*GetAuthStatusRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetAuthStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAuthStatusRequest) ProtoMessage ¶ added in v0.18.0
func (*GetAuthStatusRequest) ProtoMessage()
func (*GetAuthStatusRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetAuthStatusRequest) ProtoReflect() protoreflect.Message
func (*GetAuthStatusRequest) Reset ¶ added in v0.18.0
func (x *GetAuthStatusRequest) Reset()
func (*GetAuthStatusRequest) String ¶ added in v0.18.0
func (x *GetAuthStatusRequest) String() string
type GetAuthStatusResponse ¶ added in v0.18.0
type GetAuthStatusResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetAuthStatusResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetAuthStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthStatusResponse.ProtoReflect.Descriptor instead.
func (*GetAuthStatusResponse) GetUser ¶ added in v0.18.0
func (x *GetAuthStatusResponse) GetUser() *User
func (*GetAuthStatusResponse) ProtoMessage ¶ added in v0.18.0
func (*GetAuthStatusResponse) ProtoMessage()
func (*GetAuthStatusResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message
func (*GetAuthStatusResponse) Reset ¶ added in v0.18.0
func (x *GetAuthStatusResponse) Reset()
func (*GetAuthStatusResponse) String ¶ added in v0.18.0
func (x *GetAuthStatusResponse) String() string
type GetMemoRequest ¶
type GetMemoRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMemoRequest) Descriptor
deprecated
func (*GetMemoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.
func (*GetMemoRequest) GetId ¶
func (x *GetMemoRequest) GetId() int32
func (*GetMemoRequest) ProtoMessage ¶
func (*GetMemoRequest) ProtoMessage()
func (*GetMemoRequest) ProtoReflect ¶
func (x *GetMemoRequest) ProtoReflect() protoreflect.Message
func (*GetMemoRequest) Reset ¶
func (x *GetMemoRequest) Reset()
func (*GetMemoRequest) String ¶
func (x *GetMemoRequest) String() string
type GetMemoResponse ¶
type GetMemoResponse struct { Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*GetMemoResponse) Descriptor
deprecated
func (*GetMemoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMemoResponse.ProtoReflect.Descriptor instead.
func (*GetMemoResponse) GetMemo ¶
func (x *GetMemoResponse) GetMemo() *Memo
func (*GetMemoResponse) ProtoMessage ¶
func (*GetMemoResponse) ProtoMessage()
func (*GetMemoResponse) ProtoReflect ¶
func (x *GetMemoResponse) ProtoReflect() protoreflect.Message
func (*GetMemoResponse) Reset ¶
func (x *GetMemoResponse) Reset()
func (*GetMemoResponse) String ¶
func (x *GetMemoResponse) String() string
type GetSystemInfoRequest ¶
type GetSystemInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetSystemInfoRequest) Descriptor
deprecated
func (*GetSystemInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemInfoRequest.ProtoReflect.Descriptor instead.
func (*GetSystemInfoRequest) ProtoMessage ¶
func (*GetSystemInfoRequest) ProtoMessage()
func (*GetSystemInfoRequest) ProtoReflect ¶
func (x *GetSystemInfoRequest) ProtoReflect() protoreflect.Message
func (*GetSystemInfoRequest) Reset ¶
func (x *GetSystemInfoRequest) Reset()
func (*GetSystemInfoRequest) String ¶
func (x *GetSystemInfoRequest) String() string
type GetSystemInfoResponse ¶
type GetSystemInfoResponse struct { SystemInfo *SystemInfo `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"` // contains filtered or unexported fields }
func (*GetSystemInfoResponse) Descriptor
deprecated
func (*GetSystemInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemInfoResponse.ProtoReflect.Descriptor instead.
func (*GetSystemInfoResponse) GetSystemInfo ¶
func (x *GetSystemInfoResponse) GetSystemInfo() *SystemInfo
func (*GetSystemInfoResponse) ProtoMessage ¶
func (*GetSystemInfoResponse) ProtoMessage()
func (*GetSystemInfoResponse) ProtoReflect ¶
func (x *GetSystemInfoResponse) ProtoReflect() protoreflect.Message
func (*GetSystemInfoResponse) Reset ¶
func (x *GetSystemInfoResponse) Reset()
func (*GetSystemInfoResponse) String ¶
func (x *GetSystemInfoResponse) String() string
type GetTagSuggestionsRequest ¶ added in v0.18.0
type GetTagSuggestionsRequest struct { // The creator of tags. // Format: users/{username} User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetTagSuggestionsRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetTagSuggestionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSuggestionsRequest.ProtoReflect.Descriptor instead.
func (*GetTagSuggestionsRequest) GetUser ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) GetUser() string
func (*GetTagSuggestionsRequest) ProtoMessage ¶ added in v0.18.0
func (*GetTagSuggestionsRequest) ProtoMessage()
func (*GetTagSuggestionsRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) ProtoReflect() protoreflect.Message
func (*GetTagSuggestionsRequest) Reset ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) Reset()
func (*GetTagSuggestionsRequest) String ¶ added in v0.18.0
func (x *GetTagSuggestionsRequest) String() string
type GetTagSuggestionsResponse ¶ added in v0.18.0
type GetTagSuggestionsResponse struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*GetTagSuggestionsResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetTagSuggestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSuggestionsResponse.ProtoReflect.Descriptor instead.
func (*GetTagSuggestionsResponse) GetTags ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) GetTags() []string
func (*GetTagSuggestionsResponse) ProtoMessage ¶ added in v0.18.0
func (*GetTagSuggestionsResponse) ProtoMessage()
func (*GetTagSuggestionsResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) ProtoReflect() protoreflect.Message
func (*GetTagSuggestionsResponse) Reset ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) Reset()
func (*GetTagSuggestionsResponse) String ¶ added in v0.18.0
func (x *GetTagSuggestionsResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
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 ¶ added in v0.18.0
type GetUserSettingRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.
func (*GetUserSettingRequest) GetName ¶ added in v0.18.0
func (x *GetUserSettingRequest) GetName() string
func (*GetUserSettingRequest) ProtoMessage ¶ added in v0.18.0
func (*GetUserSettingRequest) ProtoMessage()
func (*GetUserSettingRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message
func (*GetUserSettingRequest) Reset ¶ added in v0.18.0
func (x *GetUserSettingRequest) Reset()
func (*GetUserSettingRequest) String ¶ added in v0.18.0
func (x *GetUserSettingRequest) String() string
type GetUserSettingResponse ¶ added in v0.18.0
type GetUserSettingResponse struct { Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*GetUserSettingResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetUserSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSettingResponse.ProtoReflect.Descriptor instead.
func (*GetUserSettingResponse) GetSetting ¶ added in v0.18.0
func (x *GetUserSettingResponse) GetSetting() *UserSetting
func (*GetUserSettingResponse) ProtoMessage ¶ added in v0.18.0
func (*GetUserSettingResponse) ProtoMessage()
func (*GetUserSettingResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetUserSettingResponse) ProtoReflect() protoreflect.Message
func (*GetUserSettingResponse) Reset ¶ added in v0.18.0
func (x *GetUserSettingResponse) Reset()
func (*GetUserSettingResponse) String ¶ added in v0.18.0
func (x *GetUserSettingResponse) String() string
type GetWebhookRequest ¶ added in v0.18.0
type GetWebhookRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*GetWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.
func (*GetWebhookRequest) GetId ¶ added in v0.18.0
func (x *GetWebhookRequest) GetId() int32
func (*GetWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*GetWebhookRequest) ProtoMessage()
func (*GetWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message
func (*GetWebhookRequest) Reset ¶ added in v0.18.0
func (x *GetWebhookRequest) Reset()
func (*GetWebhookRequest) String ¶ added in v0.18.0
func (x *GetWebhookRequest) String() string
type GetWebhookResponse ¶ added in v0.18.0
type GetWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*GetWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*GetWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWebhookResponse.ProtoReflect.Descriptor instead.
func (*GetWebhookResponse) GetWebhook ¶ added in v0.18.0
func (x *GetWebhookResponse) GetWebhook() *Webhook
func (*GetWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*GetWebhookResponse) ProtoMessage()
func (*GetWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *GetWebhookResponse) ProtoReflect() protoreflect.Message
func (*GetWebhookResponse) Reset ¶ added in v0.18.0
func (x *GetWebhookResponse) Reset()
func (*GetWebhookResponse) String ¶ added in v0.18.0
func (x *GetWebhookResponse) String() string
type Inbox ¶ added in v0.17.0
type Inbox struct { // The name of the inbox. // Format: inboxes/{id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Format: users/{username} Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // Format: users/{username} Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` Status Inbox_Status `protobuf:"varint,4,opt,name=status,proto3,enum=memos.api.v2.Inbox_Status" json:"status,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Type Inbox_Type `protobuf:"varint,6,opt,name=type,proto3,enum=memos.api.v2.Inbox_Type" json:"type,omitempty"` ActivityId *int32 `protobuf:"varint,7,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"` // contains filtered or unexported fields }
func (*Inbox) Descriptor
deprecated
added in
v0.17.0
func (*Inbox) GetActivityId ¶ added in v0.17.0
func (*Inbox) GetCreateTime ¶ added in v0.17.0
func (x *Inbox) GetCreateTime() *timestamppb.Timestamp
func (*Inbox) GetReceiver ¶ added in v0.17.0
func (*Inbox) GetStatus ¶ added in v0.17.0
func (x *Inbox) GetStatus() Inbox_Status
func (*Inbox) GetType ¶ added in v0.17.0
func (x *Inbox) GetType() Inbox_Type
func (*Inbox) ProtoMessage ¶ added in v0.17.0
func (*Inbox) ProtoMessage()
func (*Inbox) ProtoReflect ¶ added in v0.17.0
func (x *Inbox) ProtoReflect() protoreflect.Message
type InboxServiceClient ¶ added in v0.17.0
type InboxServiceClient interface { ListInboxes(ctx context.Context, in *ListInboxesRequest, opts ...grpc.CallOption) (*ListInboxesResponse, error) UpdateInbox(ctx context.Context, in *UpdateInboxRequest, opts ...grpc.CallOption) (*UpdateInboxResponse, error) DeleteInbox(ctx context.Context, in *DeleteInboxRequest, opts ...grpc.CallOption) (*DeleteInboxResponse, error) }
InboxServiceClient is the client API for InboxService 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 NewInboxServiceClient ¶ added in v0.17.0
func NewInboxServiceClient(cc grpc.ClientConnInterface) InboxServiceClient
type InboxServiceServer ¶ added in v0.17.0
type InboxServiceServer interface { ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error) UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error) DeleteInbox(context.Context, *DeleteInboxRequest) (*DeleteInboxResponse, error) // contains filtered or unexported methods }
InboxServiceServer is the server API for InboxService service. All implementations must embed UnimplementedInboxServiceServer for forward compatibility
type Inbox_Status ¶ added in v0.17.0
type Inbox_Status int32
const ( Inbox_STATUS_UNSPECIFIED Inbox_Status = 0 Inbox_UNREAD Inbox_Status = 1 Inbox_ARCHIVED Inbox_Status = 2 )
func (Inbox_Status) Descriptor ¶ added in v0.17.0
func (Inbox_Status) Descriptor() protoreflect.EnumDescriptor
func (Inbox_Status) Enum ¶ added in v0.17.0
func (x Inbox_Status) Enum() *Inbox_Status
func (Inbox_Status) EnumDescriptor
deprecated
added in
v0.17.0
func (Inbox_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Inbox_Status.Descriptor instead.
func (Inbox_Status) Number ¶ added in v0.17.0
func (x Inbox_Status) Number() protoreflect.EnumNumber
func (Inbox_Status) String ¶ added in v0.17.0
func (x Inbox_Status) String() string
func (Inbox_Status) Type ¶ added in v0.17.0
func (Inbox_Status) Type() protoreflect.EnumType
type Inbox_Type ¶ added in v0.17.0
type Inbox_Type int32
const ( Inbox_TYPE_UNSPECIFIED Inbox_Type = 0 Inbox_TYPE_MEMO_COMMENT Inbox_Type = 1 Inbox_TYPE_VERSION_UPDATE Inbox_Type = 2 )
func (Inbox_Type) Descriptor ¶ added in v0.17.0
func (Inbox_Type) Descriptor() protoreflect.EnumDescriptor
func (Inbox_Type) Enum ¶ added in v0.17.0
func (x Inbox_Type) Enum() *Inbox_Type
func (Inbox_Type) EnumDescriptor
deprecated
added in
v0.17.0
func (Inbox_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Inbox_Type.Descriptor instead.
func (Inbox_Type) Number ¶ added in v0.17.0
func (x Inbox_Type) Number() protoreflect.EnumNumber
func (Inbox_Type) String ¶ added in v0.17.0
func (x Inbox_Type) String() string
func (Inbox_Type) Type ¶ added in v0.17.0
func (Inbox_Type) Type() protoreflect.EnumType
type ListInboxesRequest ¶ added in v0.17.0
type ListInboxesRequest struct { // Format: users/{username} User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListInboxesRequest) Descriptor
deprecated
added in
v0.17.0
func (*ListInboxesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInboxesRequest.ProtoReflect.Descriptor instead.
func (*ListInboxesRequest) GetUser ¶ added in v0.17.0
func (x *ListInboxesRequest) GetUser() string
func (*ListInboxesRequest) ProtoMessage ¶ added in v0.17.0
func (*ListInboxesRequest) ProtoMessage()
func (*ListInboxesRequest) ProtoReflect ¶ added in v0.17.0
func (x *ListInboxesRequest) ProtoReflect() protoreflect.Message
func (*ListInboxesRequest) Reset ¶ added in v0.17.0
func (x *ListInboxesRequest) Reset()
func (*ListInboxesRequest) String ¶ added in v0.17.0
func (x *ListInboxesRequest) String() string
type ListInboxesResponse ¶ added in v0.17.0
type ListInboxesResponse struct { Inboxes []*Inbox `protobuf:"bytes,1,rep,name=inboxes,proto3" json:"inboxes,omitempty"` // contains filtered or unexported fields }
func (*ListInboxesResponse) Descriptor
deprecated
added in
v0.17.0
func (*ListInboxesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInboxesResponse.ProtoReflect.Descriptor instead.
func (*ListInboxesResponse) GetInboxes ¶ added in v0.17.0
func (x *ListInboxesResponse) GetInboxes() []*Inbox
func (*ListInboxesResponse) ProtoMessage ¶ added in v0.17.0
func (*ListInboxesResponse) ProtoMessage()
func (*ListInboxesResponse) ProtoReflect ¶ added in v0.17.0
func (x *ListInboxesResponse) ProtoReflect() protoreflect.Message
func (*ListInboxesResponse) Reset ¶ added in v0.17.0
func (x *ListInboxesResponse) Reset()
func (*ListInboxesResponse) String ¶ added in v0.17.0
func (x *ListInboxesResponse) String() string
type ListMemoCommentsRequest ¶ added in v0.16.0
type ListMemoCommentsRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListMemoCommentsRequest) Descriptor
deprecated
added in
v0.16.0
func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.
func (*ListMemoCommentsRequest) GetId ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) GetId() int32
func (*ListMemoCommentsRequest) ProtoMessage ¶ added in v0.16.0
func (*ListMemoCommentsRequest) ProtoMessage()
func (*ListMemoCommentsRequest) ProtoReflect ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message
func (*ListMemoCommentsRequest) Reset ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) Reset()
func (*ListMemoCommentsRequest) String ¶ added in v0.16.0
func (x *ListMemoCommentsRequest) String() string
type ListMemoCommentsResponse ¶ added in v0.16.0
type ListMemoCommentsResponse struct { Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"` // contains filtered or unexported fields }
func (*ListMemoCommentsResponse) Descriptor
deprecated
added in
v0.16.0
func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.
func (*ListMemoCommentsResponse) GetMemos ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) GetMemos() []*Memo
func (*ListMemoCommentsResponse) ProtoMessage ¶ added in v0.16.0
func (*ListMemoCommentsResponse) ProtoMessage()
func (*ListMemoCommentsResponse) ProtoReflect ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message
func (*ListMemoCommentsResponse) Reset ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) Reset()
func (*ListMemoCommentsResponse) String ¶ added in v0.16.0
func (x *ListMemoCommentsResponse) String() string
type ListMemosRequest ¶
type ListMemosRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Filter is used to filter memos returned in the list. Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` CreatorId *int32 `protobuf:"varint,4,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` // contains filtered or unexported fields }
func (*ListMemosRequest) Descriptor
deprecated
func (*ListMemosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.
func (*ListMemosRequest) GetCreatorId ¶ added in v0.17.0
func (x *ListMemosRequest) GetCreatorId() int32
func (*ListMemosRequest) GetFilter ¶
func (x *ListMemosRequest) GetFilter() string
func (*ListMemosRequest) GetPage ¶
func (x *ListMemosRequest) GetPage() int32
func (*ListMemosRequest) GetPageSize ¶
func (x *ListMemosRequest) GetPageSize() int32
func (*ListMemosRequest) ProtoMessage ¶
func (*ListMemosRequest) ProtoMessage()
func (*ListMemosRequest) ProtoReflect ¶
func (x *ListMemosRequest) ProtoReflect() protoreflect.Message
func (*ListMemosRequest) Reset ¶
func (x *ListMemosRequest) Reset()
func (*ListMemosRequest) String ¶
func (x *ListMemosRequest) String() string
type ListMemosResponse ¶
type ListMemosResponse struct { Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"` // contains filtered or unexported fields }
func (*ListMemosResponse) Descriptor
deprecated
func (*ListMemosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemosResponse.ProtoReflect.Descriptor instead.
func (*ListMemosResponse) GetMemos ¶
func (x *ListMemosResponse) GetMemos() []*Memo
func (*ListMemosResponse) ProtoMessage ¶
func (*ListMemosResponse) ProtoMessage()
func (*ListMemosResponse) ProtoReflect ¶
func (x *ListMemosResponse) ProtoReflect() protoreflect.Message
func (*ListMemosResponse) Reset ¶
func (x *ListMemosResponse) Reset()
func (*ListMemosResponse) String ¶
func (x *ListMemosResponse) String() string
type ListResourcesRequest ¶ added in v0.15.0
type ListResourcesRequest struct {
// contains filtered or unexported fields
}
func (*ListResourcesRequest) Descriptor
deprecated
added in
v0.15.0
func (*ListResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.
func (*ListResourcesRequest) ProtoMessage ¶ added in v0.15.0
func (*ListResourcesRequest) ProtoMessage()
func (*ListResourcesRequest) ProtoReflect ¶ added in v0.15.0
func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message
func (*ListResourcesRequest) Reset ¶ added in v0.15.0
func (x *ListResourcesRequest) Reset()
func (*ListResourcesRequest) String ¶ added in v0.15.0
func (x *ListResourcesRequest) String() string
type ListResourcesResponse ¶ added in v0.15.0
type ListResourcesResponse struct { Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*ListResourcesResponse) Descriptor
deprecated
added in
v0.15.0
func (*ListResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.
func (*ListResourcesResponse) GetResources ¶ added in v0.15.0
func (x *ListResourcesResponse) GetResources() []*Resource
func (*ListResourcesResponse) ProtoMessage ¶ added in v0.15.0
func (*ListResourcesResponse) ProtoMessage()
func (*ListResourcesResponse) ProtoReflect ¶ added in v0.15.0
func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
func (*ListResourcesResponse) Reset ¶ added in v0.15.0
func (x *ListResourcesResponse) Reset()
func (*ListResourcesResponse) String ¶ added in v0.15.0
func (x *ListResourcesResponse) String() string
type ListTagsRequest ¶
type ListTagsRequest struct { // The creator of tags. // Format: users/{username} User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetUser ¶ added in v0.18.0
func (x *ListTagsRequest) GetUser() string
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type ListTagsResponse ¶
type ListTagsResponse struct { Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetTags ¶
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type ListUserAccessTokensRequest ¶ added in v0.15.0
type ListUserAccessTokensRequest struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListUserAccessTokensRequest) Descriptor
deprecated
added in
v0.15.0
func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAccessTokensRequest.ProtoReflect.Descriptor instead.
func (*ListUserAccessTokensRequest) GetName ¶ added in v0.17.1
func (x *ListUserAccessTokensRequest) GetName() string
func (*ListUserAccessTokensRequest) ProtoMessage ¶ added in v0.15.0
func (*ListUserAccessTokensRequest) ProtoMessage()
func (*ListUserAccessTokensRequest) ProtoReflect ¶ added in v0.15.0
func (x *ListUserAccessTokensRequest) ProtoReflect() protoreflect.Message
func (*ListUserAccessTokensRequest) Reset ¶ added in v0.15.0
func (x *ListUserAccessTokensRequest) Reset()
func (*ListUserAccessTokensRequest) String ¶ added in v0.15.0
func (x *ListUserAccessTokensRequest) String() string
type ListUserAccessTokensResponse ¶ added in v0.15.0
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
added in
v0.15.0
func (*ListUserAccessTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAccessTokensResponse.ProtoReflect.Descriptor instead.
func (*ListUserAccessTokensResponse) GetAccessTokens ¶ added in v0.15.0
func (x *ListUserAccessTokensResponse) GetAccessTokens() []*UserAccessToken
func (*ListUserAccessTokensResponse) ProtoMessage ¶ added in v0.15.0
func (*ListUserAccessTokensResponse) ProtoMessage()
func (*ListUserAccessTokensResponse) ProtoReflect ¶ added in v0.15.0
func (x *ListUserAccessTokensResponse) ProtoReflect() protoreflect.Message
func (*ListUserAccessTokensResponse) Reset ¶ added in v0.15.0
func (x *ListUserAccessTokensResponse) Reset()
func (*ListUserAccessTokensResponse) String ¶ added in v0.15.0
func (x *ListUserAccessTokensResponse) String() string
type ListWebhooksRequest ¶ added in v0.18.0
type ListWebhooksRequest struct { CreatorId int32 `protobuf:"varint,1,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` // contains filtered or unexported fields }
func (*ListWebhooksRequest) Descriptor
deprecated
added in
v0.18.0
func (*ListWebhooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.
func (*ListWebhooksRequest) GetCreatorId ¶ added in v0.18.0
func (x *ListWebhooksRequest) GetCreatorId() int32
func (*ListWebhooksRequest) ProtoMessage ¶ added in v0.18.0
func (*ListWebhooksRequest) ProtoMessage()
func (*ListWebhooksRequest) ProtoReflect ¶ added in v0.18.0
func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
func (*ListWebhooksRequest) Reset ¶ added in v0.18.0
func (x *ListWebhooksRequest) Reset()
func (*ListWebhooksRequest) String ¶ added in v0.18.0
func (x *ListWebhooksRequest) String() string
type ListWebhooksResponse ¶ added in v0.18.0
type ListWebhooksResponse struct { Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` // contains filtered or unexported fields }
func (*ListWebhooksResponse) Descriptor
deprecated
added in
v0.18.0
func (*ListWebhooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.
func (*ListWebhooksResponse) GetWebhooks ¶ added in v0.18.0
func (x *ListWebhooksResponse) GetWebhooks() []*Webhook
func (*ListWebhooksResponse) ProtoMessage ¶ added in v0.18.0
func (*ListWebhooksResponse) ProtoMessage()
func (*ListWebhooksResponse) ProtoReflect ¶ added in v0.18.0
func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
func (*ListWebhooksResponse) Reset ¶ added in v0.18.0
func (x *ListWebhooksResponse) Reset()
func (*ListWebhooksResponse) String ¶ added in v0.18.0
func (x *ListWebhooksResponse) String() string
type Memo ¶
type Memo 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=memos.api.v2.RowStatus" json:"row_status,omitempty"` CreatorId int32 `protobuf:"varint,3,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` CreatedTs int64 `protobuf:"varint,4,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,5,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` Visibility Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=memos.api.v2.Visibility" json:"visibility,omitempty"` Pinned bool `protobuf:"varint,8,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*Memo) Descriptor
deprecated
func (*Memo) GetContent ¶
func (*Memo) GetCreatedTs ¶
func (*Memo) GetCreatorId ¶
func (*Memo) GetRowStatus ¶
func (*Memo) GetUpdatedTs ¶
func (*Memo) GetVisibility ¶
func (x *Memo) GetVisibility() Visibility
func (*Memo) ProtoMessage ¶
func (*Memo) ProtoMessage()
func (*Memo) ProtoReflect ¶
func (x *Memo) ProtoReflect() protoreflect.Message
type MemoServiceClient ¶
type MemoServiceClient interface { CreateMemo(ctx context.Context, in *CreateMemoRequest, opts ...grpc.CallOption) (*CreateMemoResponse, error) ListMemos(ctx context.Context, in *ListMemosRequest, opts ...grpc.CallOption) (*ListMemosResponse, error) GetMemo(ctx context.Context, in *GetMemoRequest, opts ...grpc.CallOption) (*GetMemoResponse, error) CreateMemoComment(ctx context.Context, in *CreateMemoCommentRequest, opts ...grpc.CallOption) (*CreateMemoCommentResponse, error) ListMemoComments(ctx context.Context, in *ListMemoCommentsRequest, opts ...grpc.CallOption) (*ListMemoCommentsResponse, error) }
MemoServiceClient is the client API for MemoService 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 NewMemoServiceClient ¶
func NewMemoServiceClient(cc grpc.ClientConnInterface) MemoServiceClient
type MemoServiceServer ¶
type MemoServiceServer interface { CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error) GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error) // contains filtered or unexported methods }
MemoServiceServer is the server API for MemoService service. All implementations must embed UnimplementedMemoServiceServer for forward compatibility
type Resource ¶ added in v0.15.0
type Resource struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` ExternalLink string `protobuf:"bytes,4,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` MemoId *int32 `protobuf:"varint,7,opt,name=memo_id,json=memoId,proto3,oneof" json:"memo_id,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
added in
v0.15.0
func (*Resource) GetCreatedTs ¶ added in v0.15.0
func (x *Resource) GetCreatedTs() *timestamppb.Timestamp
func (*Resource) GetExternalLink ¶ added in v0.15.0
func (*Resource) GetFilename ¶ added in v0.15.0
func (*Resource) ProtoMessage ¶ added in v0.15.0
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v0.15.0
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceServiceClient ¶ added in v0.15.0
type ResourceServiceClient interface { CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error) ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error) }
ResourceServiceClient is the client API for ResourceService 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 NewResourceServiceClient ¶ added in v0.15.0
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
type ResourceServiceServer ¶ added in v0.15.0
type ResourceServiceServer interface { CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error) // contains filtered or unexported methods }
ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility
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 SystemInfo ¶
type SystemInfo struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` AllowRegistration bool `protobuf:"varint,3,opt,name=allow_registration,json=allowRegistration,proto3" json:"allow_registration,omitempty"` DisablePasswordLogin bool `protobuf:"varint,4,opt,name=disable_password_login,json=disablePasswordLogin,proto3" json:"disable_password_login,omitempty"` AdditionalScript string `protobuf:"bytes,5,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"` AdditionalStyle string `protobuf:"bytes,6,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"` DbSize int64 `protobuf:"varint,7,opt,name=db_size,json=dbSize,proto3" json:"db_size,omitempty"` // contains filtered or unexported fields }
func (*SystemInfo) Descriptor
deprecated
func (*SystemInfo) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
func (*SystemInfo) GetAdditionalScript ¶
func (x *SystemInfo) GetAdditionalScript() string
func (*SystemInfo) GetAdditionalStyle ¶
func (x *SystemInfo) GetAdditionalStyle() string
func (*SystemInfo) GetAllowRegistration ¶
func (x *SystemInfo) GetAllowRegistration() bool
func (*SystemInfo) GetDbSize ¶
func (x *SystemInfo) GetDbSize() int64
func (*SystemInfo) GetDisablePasswordLogin ¶
func (x *SystemInfo) GetDisablePasswordLogin() bool
func (*SystemInfo) GetMode ¶
func (x *SystemInfo) GetMode() string
func (*SystemInfo) GetVersion ¶
func (x *SystemInfo) GetVersion() string
func (*SystemInfo) ProtoMessage ¶
func (*SystemInfo) ProtoMessage()
func (*SystemInfo) ProtoReflect ¶
func (x *SystemInfo) ProtoReflect() protoreflect.Message
func (*SystemInfo) Reset ¶
func (x *SystemInfo) Reset()
func (*SystemInfo) String ¶
func (x *SystemInfo) String() string
type SystemServiceClient ¶
type SystemServiceClient interface { GetSystemInfo(ctx context.Context, in *GetSystemInfoRequest, opts ...grpc.CallOption) (*GetSystemInfoResponse, error) UpdateSystemInfo(ctx context.Context, in *UpdateSystemInfoRequest, opts ...grpc.CallOption) (*UpdateSystemInfoResponse, error) }
SystemServiceClient is the client API for SystemService 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 NewSystemServiceClient ¶
func NewSystemServiceClient(cc grpc.ClientConnInterface) SystemServiceClient
type SystemServiceServer ¶
type SystemServiceServer interface { GetSystemInfo(context.Context, *GetSystemInfoRequest) (*GetSystemInfoResponse, error) UpdateSystemInfo(context.Context, *UpdateSystemInfoRequest) (*UpdateSystemInfoResponse, error) // contains filtered or unexported methods }
SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The creator of tags. // Format: users/{username} Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) GetCreator ¶ added in v0.17.1
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TagServiceClient ¶
type TagServiceClient interface { UpsertTag(ctx context.Context, in *UpsertTagRequest, opts ...grpc.CallOption) (*UpsertTagResponse, error) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*DeleteTagResponse, error) GetTagSuggestions(ctx context.Context, in *GetTagSuggestionsRequest, opts ...grpc.CallOption) (*GetTagSuggestionsResponse, error) }
TagServiceClient is the client API for TagService 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 NewTagServiceClient ¶
func NewTagServiceClient(cc grpc.ClientConnInterface) TagServiceClient
type TagServiceServer ¶
type TagServiceServer interface { UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error) GetTagSuggestions(context.Context, *GetTagSuggestionsRequest) (*GetTagSuggestionsResponse, error) // contains filtered or unexported methods }
TagServiceServer is the server API for TagService service. All implementations must embed UnimplementedTagServiceServer for forward compatibility
type UnimplementedActivityServiceServer ¶ added in v0.17.0
type UnimplementedActivityServiceServer struct { }
UnimplementedActivityServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedActivityServiceServer) GetActivity ¶ added in v0.17.0
func (UnimplementedActivityServiceServer) GetActivity(context.Context, *GetActivityRequest) (*GetActivityResponse, error)
type UnimplementedAuthServiceServer ¶ added in v0.18.0
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) GetAuthStatus ¶ added in v0.18.0
func (UnimplementedAuthServiceServer) GetAuthStatus(context.Context, *GetAuthStatusRequest) (*GetAuthStatusResponse, error)
type UnimplementedInboxServiceServer ¶ added in v0.17.0
type UnimplementedInboxServiceServer struct { }
UnimplementedInboxServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedInboxServiceServer) DeleteInbox ¶ added in v0.17.0
func (UnimplementedInboxServiceServer) DeleteInbox(context.Context, *DeleteInboxRequest) (*DeleteInboxResponse, error)
func (UnimplementedInboxServiceServer) ListInboxes ¶ added in v0.17.0
func (UnimplementedInboxServiceServer) ListInboxes(context.Context, *ListInboxesRequest) (*ListInboxesResponse, error)
func (UnimplementedInboxServiceServer) UpdateInbox ¶ added in v0.17.0
func (UnimplementedInboxServiceServer) UpdateInbox(context.Context, *UpdateInboxRequest) (*UpdateInboxResponse, error)
type UnimplementedMemoServiceServer ¶
type UnimplementedMemoServiceServer struct { }
UnimplementedMemoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMemoServiceServer) CreateMemo ¶ added in v0.16.0
func (UnimplementedMemoServiceServer) CreateMemo(context.Context, *CreateMemoRequest) (*CreateMemoResponse, error)
func (UnimplementedMemoServiceServer) CreateMemoComment ¶ added in v0.16.0
func (UnimplementedMemoServiceServer) CreateMemoComment(context.Context, *CreateMemoCommentRequest) (*CreateMemoCommentResponse, error)
func (UnimplementedMemoServiceServer) GetMemo ¶
func (UnimplementedMemoServiceServer) GetMemo(context.Context, *GetMemoRequest) (*GetMemoResponse, error)
func (UnimplementedMemoServiceServer) ListMemoComments ¶ added in v0.16.0
func (UnimplementedMemoServiceServer) ListMemoComments(context.Context, *ListMemoCommentsRequest) (*ListMemoCommentsResponse, error)
func (UnimplementedMemoServiceServer) ListMemos ¶
func (UnimplementedMemoServiceServer) ListMemos(context.Context, *ListMemosRequest) (*ListMemosResponse, error)
type UnimplementedResourceServiceServer ¶ added in v0.15.0
type UnimplementedResourceServiceServer struct { }
UnimplementedResourceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedResourceServiceServer) CreateResource ¶ added in v0.16.0
func (UnimplementedResourceServiceServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
func (UnimplementedResourceServiceServer) DeleteResource ¶ added in v0.16.0
func (UnimplementedResourceServiceServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
func (UnimplementedResourceServiceServer) ListResources ¶ added in v0.15.0
func (UnimplementedResourceServiceServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
func (UnimplementedResourceServiceServer) UpdateResource ¶ added in v0.16.0
func (UnimplementedResourceServiceServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
type UnimplementedSystemServiceServer ¶
type UnimplementedSystemServiceServer struct { }
UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSystemServiceServer) GetSystemInfo ¶
func (UnimplementedSystemServiceServer) GetSystemInfo(context.Context, *GetSystemInfoRequest) (*GetSystemInfoResponse, error)
func (UnimplementedSystemServiceServer) UpdateSystemInfo ¶ added in v0.15.0
func (UnimplementedSystemServiceServer) UpdateSystemInfo(context.Context, *UpdateSystemInfoRequest) (*UpdateSystemInfoResponse, error)
type UnimplementedTagServiceServer ¶
type UnimplementedTagServiceServer struct { }
UnimplementedTagServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTagServiceServer) DeleteTag ¶ added in v0.16.0
func (UnimplementedTagServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*DeleteTagResponse, error)
func (UnimplementedTagServiceServer) GetTagSuggestions ¶ added in v0.18.0
func (UnimplementedTagServiceServer) GetTagSuggestions(context.Context, *GetTagSuggestionsRequest) (*GetTagSuggestionsResponse, error)
func (UnimplementedTagServiceServer) ListTags ¶
func (UnimplementedTagServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (UnimplementedTagServiceServer) UpsertTag ¶ added in v0.16.0
func (UnimplementedTagServiceServer) UpsertTag(context.Context, *UpsertTagRequest) (*UpsertTagResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶ added in v0.17.0
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) CreateUserAccessToken ¶ added in v0.15.0
func (UnimplementedUserServiceServer) CreateUserAccessToken(context.Context, *CreateUserAccessTokenRequest) (*CreateUserAccessTokenResponse, error)
func (UnimplementedUserServiceServer) DeleteUser ¶ added in v0.18.0
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) DeleteUserAccessToken ¶ added in v0.15.0
func (UnimplementedUserServiceServer) DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*DeleteUserAccessTokenResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) GetUserSetting ¶ added in v0.18.0
func (UnimplementedUserServiceServer) GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error)
func (UnimplementedUserServiceServer) ListUserAccessTokens ¶ added in v0.15.0
func (UnimplementedUserServiceServer) ListUserAccessTokens(context.Context, *ListUserAccessTokensRequest) (*ListUserAccessTokensResponse, error)
func (UnimplementedUserServiceServer) UpdateUser ¶ added in v0.15.0
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedUserServiceServer) UpdateUserSetting ¶ added in v0.18.0
func (UnimplementedUserServiceServer) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, error)
type UnimplementedWebhookServiceServer ¶ added in v0.18.0
type UnimplementedWebhookServiceServer struct { }
UnimplementedWebhookServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWebhookServiceServer) CreateWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error)
func (UnimplementedWebhookServiceServer) DeleteWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error)
func (UnimplementedWebhookServiceServer) GetWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
func (UnimplementedWebhookServiceServer) ListWebhooks ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
func (UnimplementedWebhookServiceServer) UpdateWebhook ¶ added in v0.18.0
func (UnimplementedWebhookServiceServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
type UnsafeActivityServiceServer ¶ added in v0.17.0
type UnsafeActivityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActivityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityServiceServer will result in compilation errors.
type UnsafeAuthServiceServer ¶ added in v0.18.0
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 UnsafeInboxServiceServer ¶ added in v0.17.0
type UnsafeInboxServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInboxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InboxServiceServer will result in compilation errors.
type UnsafeMemoServiceServer ¶
type UnsafeMemoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMemoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MemoServiceServer will result in compilation errors.
type UnsafeResourceServiceServer ¶ added in v0.15.0
type UnsafeResourceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.
type UnsafeSystemServiceServer ¶
type UnsafeSystemServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.
type UnsafeTagServiceServer ¶
type UnsafeTagServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTagServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagServiceServer 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 UnsafeWebhookServiceServer ¶ added in v0.18.0
type UnsafeWebhookServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWebhookServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebhookServiceServer will result in compilation errors.
type UpdateInboxRequest ¶ added in v0.17.0
type UpdateInboxRequest struct { Inbox *Inbox `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateInboxRequest) Descriptor
deprecated
added in
v0.17.0
func (*UpdateInboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInboxRequest.ProtoReflect.Descriptor instead.
func (*UpdateInboxRequest) GetInbox ¶ added in v0.17.0
func (x *UpdateInboxRequest) GetInbox() *Inbox
func (*UpdateInboxRequest) GetUpdateMask ¶ added in v0.17.0
func (x *UpdateInboxRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInboxRequest) ProtoMessage ¶ added in v0.17.0
func (*UpdateInboxRequest) ProtoMessage()
func (*UpdateInboxRequest) ProtoReflect ¶ added in v0.17.0
func (x *UpdateInboxRequest) ProtoReflect() protoreflect.Message
func (*UpdateInboxRequest) Reset ¶ added in v0.17.0
func (x *UpdateInboxRequest) Reset()
func (*UpdateInboxRequest) String ¶ added in v0.17.0
func (x *UpdateInboxRequest) String() string
type UpdateInboxResponse ¶ added in v0.17.0
type UpdateInboxResponse struct { Inbox *Inbox `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"` // contains filtered or unexported fields }
func (*UpdateInboxResponse) Descriptor
deprecated
added in
v0.17.0
func (*UpdateInboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInboxResponse.ProtoReflect.Descriptor instead.
func (*UpdateInboxResponse) GetInbox ¶ added in v0.17.0
func (x *UpdateInboxResponse) GetInbox() *Inbox
func (*UpdateInboxResponse) ProtoMessage ¶ added in v0.17.0
func (*UpdateInboxResponse) ProtoMessage()
func (*UpdateInboxResponse) ProtoReflect ¶ added in v0.17.0
func (x *UpdateInboxResponse) ProtoReflect() protoreflect.Message
func (*UpdateInboxResponse) Reset ¶ added in v0.17.0
func (x *UpdateInboxResponse) Reset()
func (*UpdateInboxResponse) String ¶ added in v0.17.0
func (x *UpdateInboxResponse) String() string
type UpdateResourceRequest ¶ added in v0.16.0
type UpdateResourceRequest struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceRequest) Descriptor
deprecated
added in
v0.16.0
func (*UpdateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceRequest) GetResource ¶ added in v0.16.0
func (x *UpdateResourceRequest) GetResource() *Resource
func (*UpdateResourceRequest) GetUpdateMask ¶ added in v0.16.0
func (x *UpdateResourceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateResourceRequest) ProtoMessage ¶ added in v0.16.0
func (*UpdateResourceRequest) ProtoMessage()
func (*UpdateResourceRequest) ProtoReflect ¶ added in v0.16.0
func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceRequest) Reset ¶ added in v0.16.0
func (x *UpdateResourceRequest) Reset()
func (*UpdateResourceRequest) String ¶ added in v0.16.0
func (x *UpdateResourceRequest) String() string
type UpdateResourceResponse ¶ added in v0.16.0
type UpdateResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceResponse) Descriptor
deprecated
added in
v0.16.0
func (*UpdateResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceResponse) GetResource ¶ added in v0.16.0
func (x *UpdateResourceResponse) GetResource() *Resource
func (*UpdateResourceResponse) ProtoMessage ¶ added in v0.16.0
func (*UpdateResourceResponse) ProtoMessage()
func (*UpdateResourceResponse) ProtoReflect ¶ added in v0.16.0
func (x *UpdateResourceResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceResponse) Reset ¶ added in v0.16.0
func (x *UpdateResourceResponse) Reset()
func (*UpdateResourceResponse) String ¶ added in v0.16.0
func (x *UpdateResourceResponse) String() string
type UpdateSystemInfoRequest ¶ added in v0.15.0
type UpdateSystemInfoRequest struct { // System info is the updated data. SystemInfo *SystemInfo `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSystemInfoRequest) Descriptor
deprecated
added in
v0.15.0
func (*UpdateSystemInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSystemInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateSystemInfoRequest) GetSystemInfo ¶ added in v0.15.0
func (x *UpdateSystemInfoRequest) GetSystemInfo() *SystemInfo
func (*UpdateSystemInfoRequest) GetUpdateMask ¶ added in v0.15.0
func (x *UpdateSystemInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSystemInfoRequest) ProtoMessage ¶ added in v0.15.0
func (*UpdateSystemInfoRequest) ProtoMessage()
func (*UpdateSystemInfoRequest) ProtoReflect ¶ added in v0.15.0
func (x *UpdateSystemInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateSystemInfoRequest) Reset ¶ added in v0.15.0
func (x *UpdateSystemInfoRequest) Reset()
func (*UpdateSystemInfoRequest) String ¶ added in v0.15.0
func (x *UpdateSystemInfoRequest) String() string
type UpdateSystemInfoResponse ¶ added in v0.15.0
type UpdateSystemInfoResponse struct { SystemInfo *SystemInfo `protobuf:"bytes,1,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"` // contains filtered or unexported fields }
func (*UpdateSystemInfoResponse) Descriptor
deprecated
added in
v0.15.0
func (*UpdateSystemInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSystemInfoResponse.ProtoReflect.Descriptor instead.
func (*UpdateSystemInfoResponse) GetSystemInfo ¶ added in v0.15.0
func (x *UpdateSystemInfoResponse) GetSystemInfo() *SystemInfo
func (*UpdateSystemInfoResponse) ProtoMessage ¶ added in v0.15.0
func (*UpdateSystemInfoResponse) ProtoMessage()
func (*UpdateSystemInfoResponse) ProtoReflect ¶ added in v0.15.0
func (x *UpdateSystemInfoResponse) ProtoReflect() protoreflect.Message
func (*UpdateSystemInfoResponse) Reset ¶ added in v0.15.0
func (x *UpdateSystemInfoResponse) Reset()
func (*UpdateSystemInfoResponse) String ¶ added in v0.15.0
func (x *UpdateSystemInfoResponse) String() string
type UpdateUserRequest ¶ added in v0.15.0
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
added in
v0.15.0
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUpdateMask ¶ added in v0.15.0
func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserRequest) GetUser ¶ added in v0.15.0
func (x *UpdateUserRequest) GetUser() *User
func (*UpdateUserRequest) ProtoMessage ¶ added in v0.15.0
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶ added in v0.15.0
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶ added in v0.15.0
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶ added in v0.15.0
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶ added in v0.15.0
type UpdateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserResponse) Descriptor
deprecated
added in
v0.15.0
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetUser ¶ added in v0.15.0
func (x *UpdateUserResponse) GetUser() *User
func (*UpdateUserResponse) ProtoMessage ¶ added in v0.15.0
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶ added in v0.15.0
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶ added in v0.15.0
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶ added in v0.15.0
func (x *UpdateUserResponse) String() string
type UpdateUserSettingRequest ¶ added in v0.18.0
type UpdateUserSettingRequest struct { Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserSettingRequest) Descriptor
deprecated
added in
v0.18.0
func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingRequest) GetSetting ¶ added in v0.18.0
func (x *UpdateUserSettingRequest) GetSetting() *UserSetting
func (*UpdateUserSettingRequest) GetUpdateMask ¶ added in v0.18.0
func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserSettingRequest) ProtoMessage ¶ added in v0.18.0
func (*UpdateUserSettingRequest) ProtoMessage()
func (*UpdateUserSettingRequest) ProtoReflect ¶ added in v0.18.0
func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingRequest) Reset ¶ added in v0.18.0
func (x *UpdateUserSettingRequest) Reset()
func (*UpdateUserSettingRequest) String ¶ added in v0.18.0
func (x *UpdateUserSettingRequest) String() string
type UpdateUserSettingResponse ¶ added in v0.18.0
type UpdateUserSettingResponse struct { Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserSettingResponse) Descriptor
deprecated
added in
v0.18.0
func (*UpdateUserSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserSettingResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserSettingResponse) GetSetting ¶ added in v0.18.0
func (x *UpdateUserSettingResponse) GetSetting() *UserSetting
func (*UpdateUserSettingResponse) ProtoMessage ¶ added in v0.18.0
func (*UpdateUserSettingResponse) ProtoMessage()
func (*UpdateUserSettingResponse) ProtoReflect ¶ added in v0.18.0
func (x *UpdateUserSettingResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserSettingResponse) Reset ¶ added in v0.18.0
func (x *UpdateUserSettingResponse) Reset()
func (*UpdateUserSettingResponse) String ¶ added in v0.18.0
func (x *UpdateUserSettingResponse) String() string
type UpdateWebhookRequest ¶ added in v0.18.0
type UpdateWebhookRequest struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateWebhookRequest) Descriptor
deprecated
added in
v0.18.0
func (*UpdateWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.
func (*UpdateWebhookRequest) GetUpdateMask ¶ added in v0.18.0
func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWebhookRequest) GetWebhook ¶ added in v0.18.0
func (x *UpdateWebhookRequest) GetWebhook() *Webhook
func (*UpdateWebhookRequest) ProtoMessage ¶ added in v0.18.0
func (*UpdateWebhookRequest) ProtoMessage()
func (*UpdateWebhookRequest) ProtoReflect ¶ added in v0.18.0
func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message
func (*UpdateWebhookRequest) Reset ¶ added in v0.18.0
func (x *UpdateWebhookRequest) Reset()
func (*UpdateWebhookRequest) String ¶ added in v0.18.0
func (x *UpdateWebhookRequest) String() string
type UpdateWebhookResponse ¶ added in v0.18.0
type UpdateWebhookResponse struct { Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
func (*UpdateWebhookResponse) Descriptor
deprecated
added in
v0.18.0
func (*UpdateWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWebhookResponse.ProtoReflect.Descriptor instead.
func (*UpdateWebhookResponse) GetWebhook ¶ added in v0.18.0
func (x *UpdateWebhookResponse) GetWebhook() *Webhook
func (*UpdateWebhookResponse) ProtoMessage ¶ added in v0.18.0
func (*UpdateWebhookResponse) ProtoMessage()
func (*UpdateWebhookResponse) ProtoReflect ¶ added in v0.18.0
func (x *UpdateWebhookResponse) ProtoReflect() protoreflect.Message
func (*UpdateWebhookResponse) Reset ¶ added in v0.18.0
func (x *UpdateWebhookResponse) Reset()
func (*UpdateWebhookResponse) String ¶ added in v0.18.0
func (x *UpdateWebhookResponse) String() string
type UpsertTagRequest ¶ added in v0.16.0
type UpsertTagRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpsertTagRequest) Descriptor
deprecated
added in
v0.16.0
func (*UpsertTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertTagRequest.ProtoReflect.Descriptor instead.
func (*UpsertTagRequest) GetName ¶ added in v0.16.0
func (x *UpsertTagRequest) GetName() string
func (*UpsertTagRequest) ProtoMessage ¶ added in v0.16.0
func (*UpsertTagRequest) ProtoMessage()
func (*UpsertTagRequest) ProtoReflect ¶ added in v0.16.0
func (x *UpsertTagRequest) ProtoReflect() protoreflect.Message
func (*UpsertTagRequest) Reset ¶ added in v0.16.0
func (x *UpsertTagRequest) Reset()
func (*UpsertTagRequest) String ¶ added in v0.16.0
func (x *UpsertTagRequest) String() string
type UpsertTagResponse ¶ added in v0.16.0
type UpsertTagResponse struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*UpsertTagResponse) Descriptor
deprecated
added in
v0.16.0
func (*UpsertTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertTagResponse.ProtoReflect.Descriptor instead.
func (*UpsertTagResponse) GetTag ¶ added in v0.16.0
func (x *UpsertTagResponse) GetTag() *Tag
func (*UpsertTagResponse) ProtoMessage ¶ added in v0.16.0
func (*UpsertTagResponse) ProtoMessage()
func (*UpsertTagResponse) ProtoReflect ¶ added in v0.16.0
func (x *UpsertTagResponse) ProtoReflect() protoreflect.Message
func (*UpsertTagResponse) Reset ¶ added in v0.16.0
func (x *UpsertTagResponse) Reset()
func (*UpsertTagResponse) String ¶ added in v0.16.0
func (x *UpsertTagResponse) String() string
type User ¶
type User struct { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Role User_Role `protobuf:"varint,3,opt,name=role,proto3,enum=memos.api.v2.User_Role" json:"role,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` RowStatus RowStatus `protobuf:"varint,8,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v2.RowStatus" json:"row_status,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAvatarUrl ¶
func (*User) GetCreateTime ¶ added in v0.15.0
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetNickname ¶
func (*User) GetPassword ¶ added in v0.15.0
func (*User) GetRowStatus ¶
func (*User) GetUpdateTime ¶ added in v0.15.0
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserAccessToken ¶ added in v0.15.0
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
added in
v0.15.0
func (*UserAccessToken) Descriptor() ([]byte, []int)
Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.
func (*UserAccessToken) GetAccessToken ¶ added in v0.15.0
func (x *UserAccessToken) GetAccessToken() string
func (*UserAccessToken) GetDescription ¶ added in v0.15.0
func (x *UserAccessToken) GetDescription() string
func (*UserAccessToken) GetExpiresAt ¶ added in v0.15.0
func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp
func (*UserAccessToken) GetIssuedAt ¶ added in v0.15.0
func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp
func (*UserAccessToken) ProtoMessage ¶ added in v0.15.0
func (*UserAccessToken) ProtoMessage()
func (*UserAccessToken) ProtoReflect ¶ added in v0.15.0
func (x *UserAccessToken) ProtoReflect() protoreflect.Message
func (*UserAccessToken) Reset ¶ added in v0.15.0
func (x *UserAccessToken) Reset()
func (*UserAccessToken) String ¶ added in v0.15.0
func (x *UserAccessToken) String() string
type UserServiceClient ¶
type UserServiceClient interface { // GetUser gets a user by name. 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 updates a user. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) // DeleteUser deletes a user. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) GetUserSetting(ctx context.Context, in *GetUserSettingRequest, opts ...grpc.CallOption) (*GetUserSettingResponse, error) UpdateUserSetting(ctx context.Context, in *UpdateUserSettingRequest, opts ...grpc.CallOption) (*UpdateUserSettingResponse, 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 { // GetUser gets a user by name. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // CreateUser creates a new user. CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // UpdateUser updates a user. UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) // DeleteUser deletes a user. DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) GetUserSetting(context.Context, *GetUserSettingRequest) (*GetUserSettingResponse, error) UpdateUserSetting(context.Context, *UpdateUserSettingRequest) (*UpdateUserSettingResponse, 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 { // The name of the user. // Format: users/{username} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The preferred locale of the user. Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` // The preferred appearance of the user. Appearance string `protobuf:"bytes,3,opt,name=appearance,proto3" json:"appearance,omitempty"` // The default visibility of the memo. MemoVisibility string `protobuf:"bytes,4,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"` // The telegram user id of the user. TelegramUserId string `protobuf:"bytes,5,opt,name=telegram_user_id,json=telegramUserId,proto3" json:"telegram_user_id,omitempty"` // contains filtered or unexported fields }
func (*UserSetting) Descriptor
deprecated
func (*UserSetting) Descriptor() ([]byte, []int)
Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.
func (*UserSetting) GetAppearance ¶ added in v0.18.0
func (x *UserSetting) GetAppearance() string
func (*UserSetting) GetLocale ¶ added in v0.18.0
func (x *UserSetting) GetLocale() string
func (*UserSetting) GetMemoVisibility ¶ added in v0.18.0
func (x *UserSetting) GetMemoVisibility() string
func (*UserSetting) GetName ¶ added in v0.18.0
func (x *UserSetting) GetName() string
func (*UserSetting) GetTelegramUserId ¶ added in v0.18.0
func (x *UserSetting) GetTelegramUserId() string
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 User_Role ¶ added in v0.15.0
type User_Role int32
func (User_Role) Descriptor ¶ added in v0.15.0
func (User_Role) Descriptor() protoreflect.EnumDescriptor
func (User_Role) EnumDescriptor
deprecated
added in
v0.15.0
func (User_Role) Number ¶ added in v0.15.0
func (x User_Role) Number() protoreflect.EnumNumber
func (User_Role) Type ¶ added in v0.15.0
func (User_Role) Type() protoreflect.EnumType
type Visibility ¶
type Visibility int32
const ( Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 Visibility_PRIVATE Visibility = 1 Visibility_PROTECTED 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 Webhook ¶ added in v0.18.0
type Webhook 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=memos.api.v2.RowStatus" json:"row_status,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Webhook) Descriptor
deprecated
added in
v0.18.0
func (*Webhook) GetCreatedTime ¶ added in v0.18.0
func (x *Webhook) GetCreatedTime() *timestamppb.Timestamp
func (*Webhook) GetCreatorId ¶ added in v0.18.0
func (*Webhook) GetRowStatus ¶ added in v0.18.0
func (*Webhook) GetUpdatedTime ¶ added in v0.18.0
func (x *Webhook) GetUpdatedTime() *timestamppb.Timestamp
func (*Webhook) ProtoMessage ¶ added in v0.18.0
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶ added in v0.18.0
func (x *Webhook) ProtoReflect() protoreflect.Message
type WebhookServiceClient ¶ added in v0.18.0
type WebhookServiceClient interface { CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*CreateWebhookResponse, error) GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*GetWebhookResponse, error) ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error) UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*UpdateWebhookResponse, error) DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*DeleteWebhookResponse, error) }
WebhookServiceClient is the client API for WebhookService 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 NewWebhookServiceClient ¶ added in v0.18.0
func NewWebhookServiceClient(cc grpc.ClientConnInterface) WebhookServiceClient
type WebhookServiceServer ¶ added in v0.18.0
type WebhookServiceServer interface { CreateWebhook(context.Context, *CreateWebhookRequest) (*CreateWebhookResponse, error) GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error) // contains filtered or unexported methods }
WebhookServiceServer is the server API for WebhookService service. All implementations must embed UnimplementedWebhookServiceServer for forward compatibility
Source Files
¶
- activity_service.pb.go
- activity_service.pb.gw.go
- activity_service_grpc.pb.go
- auth_service.pb.go
- auth_service.pb.gw.go
- auth_service_grpc.pb.go
- common.pb.go
- inbox_service.pb.go
- inbox_service.pb.gw.go
- inbox_service_grpc.pb.go
- memo_service.pb.go
- memo_service.pb.gw.go
- memo_service_grpc.pb.go
- resource_service.pb.go
- resource_service.pb.gw.go
- resource_service_grpc.pb.go
- system_service.pb.go
- system_service.pb.gw.go
- system_service_grpc.pb.go
- tag_service.pb.go
- tag_service.pb.gw.go
- tag_service_grpc.pb.go
- user_service.pb.go
- user_service.pb.gw.go
- user_service_grpc.pb.go
- webhook_service.pb.go
- webhook_service.pb.gw.go
- webhook_service_grpc.pb.go