Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStore ¶
func NewPostgresStore ¶
func NewPostgresStore() (*PostgresStore, error)
func (*PostgresStore) CreateUser ¶
func (s *PostgresStore) CreateUser(user *models.User) error
func (*PostgresStore) GetUserByID ¶
func (s *PostgresStore) GetUserByID(id string) (*models.User, error)
func (*PostgresStore) GetUserByUsername ¶
func (s *PostgresStore) GetUserByUsername(username string) (*models.User, error)
Click to show internal directories.
Click to hide internal directories.