Documentation ¶
Overview ¶
Package repository store data.
Package repository store data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryUserStorage ¶
MemoryUserStorage Contain all users.
func NewMemoryStorage ¶
func NewMemoryStorage() *MemoryUserStorage
NewMemoryStorage construct new object.
type PostgreSqlUserStorage ¶
PostgreSqlUserStorage save users.
func NewPostgreSqlStorage ¶
func NewPostgreSqlStorage(db *sql.DB) *PostgreSqlUserStorage
NewPostgreSqlStorage construct new object.
Click to show internal directories.
Click to hide internal directories.