Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(web.NewHandler, repository.NewResourceRepository)
Functions ¶
func InitCollectionOnce ¶
func InitCrypto ¶ added in v1.9.1
func InitCrypto(reg *cryptox.CryptoRegistry) cryptox.Crypto[string]
func InitResourceDAO ¶
func InitResourceDAO(db *mongox.Mongo) dao.ResourceDAO
Types ¶
type EncryptedSvc ¶ added in v1.9.1
type EncryptedSvc = service.EncryptedSvc
func NewEncryptedService ¶ added in v1.9.1
type Module ¶
type Module struct {
Svc Service
EncryptedSvc EncryptedSvc
Hdl *Handler
// contains filtered or unexported fields
}
type Service ¶
func NewService ¶
func NewService(repo repository.ResourceRepository) Service
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
Package resourcemocks is a generated GoMock package.
|
Package resourcemocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.