Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
type Storage interface {
GetSchedule(institute string, peerId int) (string, error)
AddUser(institute string, course string, groupNumber string, peerId int) error
CheckSchedule(institute string, course string, groupNumber string) (bool, error)
CheckUser(peerId int) (bool, error)
UserCheckWeek(peerId int) (bool, error)
UserAddWeek(week string, peerId int) error
DeleteUser(peerId int) error
}
Click to show internal directories.
Click to hide internal directories.