persistence

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TIMEOUT = 10 * time.Second

Variables

This section is empty.

Functions

Types

type Persistence

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

func (*Persistence) Disconnect

func (this *Persistence) Disconnect()

func (*Persistence) Get

func (this *Persistence) Get(id string, user string) (result model.ScheduleEntry, err error)

func (*Persistence) GetAll

func (this *Persistence) GetAll() (result []model.ScheduleEntry, err error)

func (*Persistence) List

func (this *Persistence) List(user string, createdBy *string) (result []model.ScheduleEntry, err error)

func (*Persistence) Remove

func (this *Persistence) Remove(id string, user string) (err error)

func (*Persistence) Set

func (this *Persistence) Set(entry model.ScheduleEntry) error

Jump to

Keyboard shortcuts

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