storage

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("not found")
	ErrExists   = errors.New("already exists")
)

Functions

This section is empty.

Types

type Storage

type Storage interface {
	GetSchedule(institute string, peerId int) (string, error)
	CheckSchedule(institute string, course string, groupNumber string) (bool, error)
	AddUser(institute string, course string, groupNumber string, peerId int) error
	UserAddWeek(week string, peerId int) error
	DeleteUser(peerId int) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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