handler

package
v0.0.0-...-2af310e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics struct {
	// contains filtered or unexported fields
}

Analytics implements the notes proto definition

func New

func New() *Analytics

New returns an initialized Analytics

func (*Analytics) Delete

func (a *Analytics) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error

Delete removes the Event from the store

func (*Analytics) List

func (a *Analytics) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error

List returns all of the Events in the store

func (*Analytics) Read

func (a *Analytics) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error

Get returns a single Event

func (*Analytics) Track

func (a *Analytics) Track(ctx context.Context, req *pb.TrackRequest, rsp *pb.TrackResponse) error

Track inserts a new Event in the store

Jump to

Keyboard shortcuts

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