Documentation ¶
Index ¶
- type Lists
- func (h *Lists) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
- func (h *Lists) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
- func (h *Lists) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, ...) error
- func (h *Lists) Events(ctx context.Context, req *pb.EventsRequest, stream pb.Lists_EventsStream) error
- func (h *Lists) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
- func (h *Lists) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
- func (h *Lists) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
- func (h *Lists) Usage(ctx context.Context, request *adminpb.UsageRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lists ¶
Lists implements the lists proto definition
func (*Lists) Create ¶
func (h *Lists) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
Create inserts a new list in the store
func (*Lists) Delete ¶
func (h *Lists) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
Delete removes the list from the store, looking up using ID
func (*Lists) DeleteData ¶
func (h *Lists) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, response *adminpb.DeleteDataResponse) error
func (*Lists) Events ¶
func (h *Lists) Events(ctx context.Context, req *pb.EventsRequest, stream pb.Lists_EventsStream) error
func (*Lists) List ¶
func (h *Lists) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
List returns all of the lists in the store
func (*Lists) Read ¶
func (h *Lists) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
func (*Lists) Update ¶
func (h *Lists) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
Update is a unary API which updates a list in the store
func (*Lists) Usage ¶
func (h *Lists) Usage(ctx context.Context, request *adminpb.UsageRequest, response *adminpb.UsageResponse) error
Click to show internal directories.
Click to hide internal directories.