Documentation ¶
Index ¶
- type InMemoryCache
- func (i *InMemoryCache) Add(user domain.User) error
- func (i *InMemoryCache) CheckVerifyRegString(checkMail string) (*domain.User, error)
- func (i *InMemoryCache) Get(mail string) (domain.User, error)
- func (in *InMemoryCache) LengthCache() (float64, error)
- func (in *InMemoryCache) LengthUnverifiedUsers() (float64, error)
- func (i *InMemoryCache) Update(user domain.User) error
- type PgConn
- func (p *PgConn) FileDelete(file domain.File) error
- func (p *PgConn) FileGetByID(fileID string) (domain.File, error)
- func (p *PgConn) FileInsert(file domain.File) error
- func (p *PgConn) FilesGetByUserID(uuidUser string) (*[]domain.File, error)
- func (p *PgConn) UserAddOnRegistration(user domain.User) error
- func (p *PgConn) UserCheckExistByMail(mail string) (bool, error)
- func (p *PgConn) UserGetByMail(mail string) (domain.User, error)
- type StorageMinio
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryCache ¶
func NewInMemoryCache ¶
func NewInMemoryCache() *InMemoryCache
func (*InMemoryCache) CheckVerifyRegString ¶
func (i *InMemoryCache) CheckVerifyRegString(checkMail string) (*domain.User, error)
func (*InMemoryCache) LengthCache ¶
func (in *InMemoryCache) LengthCache() (float64, error)
func (*InMemoryCache) LengthUnverifiedUsers ¶
func (in *InMemoryCache) LengthUnverifiedUsers() (float64, error)
type PgConn ¶
type PgConn struct {
// contains filtered or unexported fields
}
func NewPgConnect ¶
func (*PgConn) FileGetByID ¶
get file by id
func (*PgConn) FilesGetByUserID ¶
get all files for user
func (*PgConn) UserAddOnRegistration ¶
func (*PgConn) UserCheckExistByMail ¶
type StorageMinio ¶
type StorageMinio struct {
// contains filtered or unexported fields
}
func NewStorageMinio ¶
func NewStorageMinio(config domain.SysConfig) (*StorageMinio, error)
Click to show internal directories.
Click to hide internal directories.