Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRepository ¶
type AuthRepository struct {
// contains filtered or unexported fields
}
func NewAuthRepository ¶
func NewAuthRepository(confs config.Posgres) (*AuthRepository, error)
type PostgresRepository ¶
type PostgresRepository struct {
// contains filtered or unexported fields
}
func (*PostgresRepository) Exists ¶
func (p *PostgresRepository) Exists(shotened string) (bool, error)
func (*PostgresRepository) Get ¶
func (p *PostgresRepository) Get(shortened string) (aggregate.URL, error)
func (*PostgresRepository) MigrateAll ¶
func (p *PostgresRepository) MigrateAll() error
Click to show internal directories.
Click to hide internal directories.