Documentation ¶
Index ¶
- Variables
- func NewGormDB(conf *conf.Data, logger log.Logger) *gorm.DB
- func NewGreeterRepo(data *Data, logger log.Logger) biz.GreeterRepo
- func NewPolicyRepo(data *Data, logger log.Logger) biz.PolicyRepo
- func NewSecretRepo(data *Data, logger log.Logger) biz.SecretRepo
- func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewGormDB, NewPolicyRepo, NewUserRepo, NewSecretRepo, )
ProviderSet is data providers.
Functions ¶
func NewGreeterRepo ¶
func NewGreeterRepo(data *Data, logger log.Logger) biz.GreeterRepo
NewGreeterRepo .
func NewPolicyRepo ¶
func NewPolicyRepo(data *Data, logger log.Logger) biz.PolicyRepo
NewGreeterRepo .
func NewSecretRepo ¶
func NewSecretRepo(data *Data, logger log.Logger) biz.SecretRepo
NewGreeterRepo .
Types ¶
Click to show internal directories.
Click to hide internal directories.