Versions in this module Expand all Collapse all v0 v0.1.2 Nov 4, 2022 Changes in this version + var DometryCache_ServiceDesc = grpc.ServiceDesc + var File_dormitry_room_cache_dormitry_room_cache_proto protoreflect.FileDescriptor + func RegisterDometryCacheHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterDometryCacheHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DometryCacheClient) error + func RegisterDometryCacheHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterDometryCacheHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DometryCacheServer) error + func RegisterDometryCacheServer(s grpc.ServiceRegistrar, srv DometryCacheServer) + type AddItemRequest struct + ChannelId int64 + Item *Item + ListId string + func (*AddItemRequest) Descriptor() ([]byte, []int) + func (*AddItemRequest) ProtoMessage() + func (x *AddItemRequest) GetChannelId() int64 + func (x *AddItemRequest) GetItem() *Item + func (x *AddItemRequest) GetListId() string + func (x *AddItemRequest) ProtoReflect() protoreflect.Message + func (x *AddItemRequest) Reset() + func (x *AddItemRequest) String() string + type CreateListRequest struct + List *List + func (*CreateListRequest) Descriptor() ([]byte, []int) + func (*CreateListRequest) ProtoMessage() + func (x *CreateListRequest) GetList() *List + func (x *CreateListRequest) ProtoReflect() protoreflect.Message + func (x *CreateListRequest) Reset() + func (x *CreateListRequest) String() string + type DeleteByIDRequest struct + ChannelId int64 + ItemId string + ListId string + func (*DeleteByIDRequest) Descriptor() ([]byte, []int) + func (*DeleteByIDRequest) ProtoMessage() + func (x *DeleteByIDRequest) GetChannelId() int64 + func (x *DeleteByIDRequest) GetItemId() string + func (x *DeleteByIDRequest) GetListId() string + func (x *DeleteByIDRequest) ProtoReflect() protoreflect.Message + func (x *DeleteByIDRequest) Reset() + func (x *DeleteByIDRequest) String() string + type DeleteByIndexRequest struct + ChannelId int64 + Index uint64 + ListId string + func (*DeleteByIndexRequest) Descriptor() ([]byte, []int) + func (*DeleteByIndexRequest) ProtoMessage() + func (x *DeleteByIndexRequest) GetChannelId() int64 + func (x *DeleteByIndexRequest) GetIndex() uint64 + func (x *DeleteByIndexRequest) GetListId() string + func (x *DeleteByIndexRequest) ProtoReflect() protoreflect.Message + func (x *DeleteByIndexRequest) Reset() + func (x *DeleteByIndexRequest) String() string + type DeleteListRequest struct + ChannelId int64 + ListId string + func (*DeleteListRequest) Descriptor() ([]byte, []int) + func (*DeleteListRequest) ProtoMessage() + func (x *DeleteListRequest) GetChannelId() int64 + func (x *DeleteListRequest) GetListId() string + func (x *DeleteListRequest) ProtoReflect() protoreflect.Message + func (x *DeleteListRequest) Reset() + func (x *DeleteListRequest) String() string + type DometryCacheClient interface + AddItem func(ctx context.Context, in *AddItemRequest, opts ...grpc.CallOption) (*Empty, error) + CreateList func(ctx context.Context, in *CreateListRequest, opts ...grpc.CallOption) (*Empty, error) + DeleteByID func(ctx context.Context, in *DeleteByIDRequest, opts ...grpc.CallOption) (*Empty, error) + DeleteByIndex func(ctx context.Context, in *DeleteByIndexRequest, opts ...grpc.CallOption) (*Empty, error) + DeleteList func(ctx context.Context, in *DeleteListRequest, opts ...grpc.CallOption) (*Empty, error) + GetAllLists func(ctx context.Context, in *GetAllListsRequest, opts ...grpc.CallOption) (*GetAllListsResponse, error) + GetByID func(ctx context.Context, in *GetByIDRequest, opts ...grpc.CallOption) (*GetByIDResponce, error) + GetByIndex func(ctx context.Context, in *GetByIndexRequest, opts ...grpc.CallOption) (*GetByIndexResponce, error) + GetList func(ctx context.Context, in *GetListRequest, opts ...grpc.CallOption) (*GetListResponce, error) + Sync func(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*Empty, error) + func NewDometryCacheClient(cc grpc.ClientConnInterface) DometryCacheClient + type DometryCacheServer interface + AddItem func(context.Context, *AddItemRequest) (*Empty, error) + CreateList func(context.Context, *CreateListRequest) (*Empty, error) + DeleteByID func(context.Context, *DeleteByIDRequest) (*Empty, error) + DeleteByIndex func(context.Context, *DeleteByIndexRequest) (*Empty, error) + DeleteList func(context.Context, *DeleteListRequest) (*Empty, error) + GetAllLists func(context.Context, *GetAllListsRequest) (*GetAllListsResponse, error) + GetByID func(context.Context, *GetByIDRequest) (*GetByIDResponce, error) + GetByIndex func(context.Context, *GetByIndexRequest) (*GetByIndexResponce, error) + GetList func(context.Context, *GetListRequest) (*GetListResponce, error) + Sync func(context.Context, *SyncRequest) (*Empty, error) + type Empty struct + Ok bool + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) GetOk() bool + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type GetAllListsRequest struct + ChannelId int64 + func (*GetAllListsRequest) Descriptor() ([]byte, []int) + func (*GetAllListsRequest) ProtoMessage() + func (x *GetAllListsRequest) GetChannelId() int64 + func (x *GetAllListsRequest) ProtoReflect() protoreflect.Message + func (x *GetAllListsRequest) Reset() + func (x *GetAllListsRequest) String() string + type GetAllListsResponse struct + Lists []*List + func (*GetAllListsResponse) Descriptor() ([]byte, []int) + func (*GetAllListsResponse) ProtoMessage() + func (x *GetAllListsResponse) GetLists() []*List + func (x *GetAllListsResponse) ProtoReflect() protoreflect.Message + func (x *GetAllListsResponse) Reset() + func (x *GetAllListsResponse) String() string + type GetByIDRequest struct + ChannelId int64 + ItemId string + ListId string + func (*GetByIDRequest) Descriptor() ([]byte, []int) + func (*GetByIDRequest) ProtoMessage() + func (x *GetByIDRequest) GetChannelId() int64 + func (x *GetByIDRequest) GetItemId() string + func (x *GetByIDRequest) GetListId() string + func (x *GetByIDRequest) ProtoReflect() protoreflect.Message + func (x *GetByIDRequest) Reset() + func (x *GetByIDRequest) String() string + type GetByIDResponce struct + Item *Item + func (*GetByIDResponce) Descriptor() ([]byte, []int) + func (*GetByIDResponce) ProtoMessage() + func (x *GetByIDResponce) GetItem() *Item + func (x *GetByIDResponce) ProtoReflect() protoreflect.Message + func (x *GetByIDResponce) Reset() + func (x *GetByIDResponce) String() string + type GetByIndexRequest struct + ChannelId int64 + Index uint64 + ListId string + func (*GetByIndexRequest) Descriptor() ([]byte, []int) + func (*GetByIndexRequest) ProtoMessage() + func (x *GetByIndexRequest) GetChannelId() int64 + func (x *GetByIndexRequest) GetIndex() uint64 + func (x *GetByIndexRequest) GetListId() string + func (x *GetByIndexRequest) ProtoReflect() protoreflect.Message + func (x *GetByIndexRequest) Reset() + func (x *GetByIndexRequest) String() string + type GetByIndexResponce struct + Item *Item + func (*GetByIndexResponce) Descriptor() ([]byte, []int) + func (*GetByIndexResponce) ProtoMessage() + func (x *GetByIndexResponce) GetItem() *Item + func (x *GetByIndexResponce) ProtoReflect() protoreflect.Message + func (x *GetByIndexResponce) Reset() + func (x *GetByIndexResponce) String() string + type GetListRequest struct + ChannelId int64 + ListId string + func (*GetListRequest) Descriptor() ([]byte, []int) + func (*GetListRequest) ProtoMessage() + func (x *GetListRequest) GetChannelId() int64 + func (x *GetListRequest) GetListId() string + func (x *GetListRequest) ProtoReflect() protoreflect.Message + func (x *GetListRequest) Reset() + func (x *GetListRequest) String() string + type GetListResponce struct + List *List + func (*GetListResponce) Descriptor() ([]byte, []int) + func (*GetListResponce) ProtoMessage() + func (x *GetListResponce) GetList() *List + func (x *GetListResponce) ProtoReflect() protoreflect.Message + func (x *GetListResponce) Reset() + func (x *GetListResponce) String() string + type Item struct + Author string + Name string + func (*Item) Descriptor() ([]byte, []int) + func (*Item) ProtoMessage() + func (x *Item) GetAuthor() string + func (x *Item) GetName() string + func (x *Item) ProtoReflect() protoreflect.Message + func (x *Item) Reset() + func (x *Item) String() string + type List struct + ChannelId int64 + Items []*Item + Name string + func (*List) Descriptor() ([]byte, []int) + func (*List) ProtoMessage() + func (x *List) GetChannelId() int64 + func (x *List) GetItems() []*Item + func (x *List) GetName() string + func (x *List) ProtoReflect() protoreflect.Message + func (x *List) Reset() + func (x *List) String() string + type SyncRequest struct + Lists []*List + func (*SyncRequest) Descriptor() ([]byte, []int) + func (*SyncRequest) ProtoMessage() + func (x *SyncRequest) GetLists() []*List + func (x *SyncRequest) ProtoReflect() protoreflect.Message + func (x *SyncRequest) Reset() + func (x *SyncRequest) String() string + type UnimplementedDometryCacheServer struct + func (UnimplementedDometryCacheServer) AddItem(context.Context, *AddItemRequest) (*Empty, error) + func (UnimplementedDometryCacheServer) CreateList(context.Context, *CreateListRequest) (*Empty, error) + func (UnimplementedDometryCacheServer) DeleteByID(context.Context, *DeleteByIDRequest) (*Empty, error) + func (UnimplementedDometryCacheServer) DeleteByIndex(context.Context, *DeleteByIndexRequest) (*Empty, error) + func (UnimplementedDometryCacheServer) DeleteList(context.Context, *DeleteListRequest) (*Empty, error) + func (UnimplementedDometryCacheServer) GetAllLists(context.Context, *GetAllListsRequest) (*GetAllListsResponse, error) + func (UnimplementedDometryCacheServer) GetByID(context.Context, *GetByIDRequest) (*GetByIDResponce, error) + func (UnimplementedDometryCacheServer) GetByIndex(context.Context, *GetByIndexRequest) (*GetByIndexResponce, error) + func (UnimplementedDometryCacheServer) GetList(context.Context, *GetListRequest) (*GetListResponce, error) + func (UnimplementedDometryCacheServer) Sync(context.Context, *SyncRequest) (*Empty, error) + type UnsafeDometryCacheServer interface