Documentation ¶
Index ¶
- type Notes
- func (h *Notes) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
- func (h *Notes) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
- func (h *Notes) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, ...) error
- func (h *Notes) Events(ctx context.Context, req *pb.EventsRequest, stream pb.Notes_EventsStream) error
- func (h *Notes) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
- func (h *Notes) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
- func (h *Notes) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
- func (h *Notes) 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 Notes ¶
Notes implements the notes proto definition
func (*Notes) Create ¶
func (h *Notes) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
Create inserts a new note in the store
func (*Notes) Delete ¶
func (h *Notes) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
Delete removes the note from the store, looking up using ID
func (*Notes) DeleteData ¶
func (h *Notes) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, response *adminpb.DeleteDataResponse) error
func (*Notes) Events ¶
func (h *Notes) Events(ctx context.Context, req *pb.EventsRequest, stream pb.Notes_EventsStream) error
func (*Notes) List ¶
func (h *Notes) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
List returns all of the notes in the store
func (*Notes) Read ¶
func (h *Notes) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
func (*Notes) Update ¶
func (h *Notes) Update(ctx context.Context, req *pb.UpdateRequest, rsp *pb.UpdateResponse) error
Update is a unary API which updates a note in the store
func (*Notes) Usage ¶
func (h *Notes) Usage(ctx context.Context, request *adminpb.UsageRequest, response *adminpb.UsageResponse) error
Click to show internal directories.
Click to hide internal directories.