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 }
Click to show internal directories.
Click to hide internal directories.