service

package
v0.0.0-...-e28e858 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 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 CacheService

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

func NewCacheService

func NewCacheService(cch *cache.Cache) *CacheService

func (*CacheService) AddTodo

func (cs *CacheService) AddTodo(ctx context.Context, name string) (todo.Todo, error)

func (*CacheService) DeleteTodo

func (cs *CacheService) DeleteTodo(ctx context.Context, id string) (todo.Todo, error)

func (*CacheService) UpdateTodo

func (cs *CacheService) UpdateTodo(ctx context.Context, req *todo.Todo) (todo.Todo, error)

Jump to

Keyboard shortcuts

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