Documentation
¶
Overview ¶
Package repository contains the implementation of data access methods
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *gorm.DB, cache *redis.Client) interfaces.RepoInterface
New function creates a new Repo instance
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo struct
func (*Repo) DeleteClient ¶
DeleteClient function deletes an existing client
func (*Repo) RegisterClient ¶
RegisterClient function enters a new client into the fluxy database
Click to show internal directories.
Click to hide internal directories.