Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresConfig ¶
type PostgresConfig struct {
Host string
Port string
User string
Password string
Database string
SSLMode string
}
func DefaultPostgresConfig ¶
func DefaultPostgresConfig() PostgresConfig
func (PostgresConfig) String ¶
func (cfg PostgresConfig) String() string
type UserService ¶
func (UserService) Authenticate ¶
func (us UserService) Authenticate(email, password string) (*User, error)
Click to show internal directories.
Click to hide internal directories.