Documentation ¶
Index ¶
- Constants
- type Database
- func (db *Database) GetAllUsers() ([]models.User, error)
- func (db *Database) GetResults(UserID int64) (models.Results, error)
- func (db *Database) RegisterUser(user models.User) error
- func (db *Database) ReplaceResults(results models.Results) error
- func (db *Database) UnregisterUser(UserID int64) error
Constants ¶
View Source
const DATABASE_NAME = "NSCMTelegramBot"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) UnregisterUser ¶
Click to show internal directories.
Click to hide internal directories.