Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
func NewPostgres ¶
func (*Postgres) GetGlobalRating ¶
func (p *Postgres) GetGlobalRating() ([]model.UserInChat, error)
func (*Postgres) GetStatistics ¶
func (p *Postgres) GetStatistics() (model.Statistics, error)
func (*Postgres) IncrementUserStats ¶
func (p *Postgres) IncrementUserStats(givenUser model.UserInChat) error
Click to show internal directories.
Click to hide internal directories.