handler

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lists

type Lists struct {
	Stream streamPb.MqService
}

Lists implements the lists proto definition

func New

func New(c client.Client) *Lists

New returns an initialized Lists

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL