Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRepository ¶
type AccountRepository interface { CheckConnection(ctx context.Context) error GetLastRequestTimestamp(ctx context.Context, accountID string) (time.Time, error) SetLastRequestTimestamp(ctx context.Context, accountID string) error }
AccountRepository is a repository of database responding for account details
func NewAccountRepository ¶
func NewAccountRepository(config *configs.FaucetServer) AccountRepository
NewAccountRepository initializes a new AccountRepository instance
Directories ¶
Path | Synopsis |
---|---|
mock
|
|
redis
Package mock_v7 is a generated GoMock package.
|
Package mock_v7 is a generated GoMock package. |
repositories
Package mock_repositories is a generated GoMock package.
|
Package mock_repositories is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.