handlers

package
v0.0.0-...-771c5e5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

func NewHandlers

func NewHandlers(c *cluster.Cluster) *Handlers

func (*Handlers) Todo

func (h *Handlers) Todo(id string) *commands.TodoGrainClient

type TodoHandler

type TodoHandler struct {
	app.EventPublisher
	// contains filtered or unexported fields
}

impl github.com/purefun/todo-example/server/app/commands.Todo

func (*TodoHandler) Complete

func (*TodoHandler) Create

func (*TodoHandler) Delete

func (*TodoHandler) Init

func (t *TodoHandler) Init(ctx cluster.GrainContext)

func (*TodoHandler) ReceiveDefault

func (t *TodoHandler) ReceiveDefault(ctx cluster.GrainContext)

func (*TodoHandler) Terminate

func (t *TodoHandler) Terminate(ctx cluster.GrainContext)

func (*TodoHandler) Uncomplete

func (*TodoHandler) UpdateText

Jump to

Keyboard shortcuts

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