simple

package
v0.0.0-...-5808d2a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simple

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

func NewSimple

func NewSimple() (*Simple, error)

func (*Simple) DeleteTasks

func (s *Simple) DeleteTasks(taskID string) error

func (*Simple) GetAllTask

func (s *Simple) GetAllTask() ([]models.Tasks, error)

func (*Simple) GetUser

func (s *Simple) GetUser(account string) (*models.UserCenter, error)

func (*Simple) RegisterTask

func (s *Simple) RegisterTask(task models.Tasks) error

func (*Simple) UpdateTasks

func (s *Simple) UpdateTasks(task models.Tasks) error

func (*Simple) UpdateUser

func (s *Simple) UpdateUser(account string, password string) error

Jump to

Keyboard shortcuts

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