repository

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AppHealthRepository

type AppHealthRepository interface {
	GetCurrentTimestamp() (time.Time, error)
}

type DAO

type DAO interface {
	NewUserRepository() UserRepository
	NewAppRepository() AppHealthRepository
}

func InitConn

func InitConn() DAO

type UserRepository

type UserRepository interface {
	FindUser(username string) (*userDomain.User, error)
	CreateUser(*userDomain.User) error
	UserExists(username string) (bool, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL