Documentation ¶
Index ¶
- Variables
- func NewAccountRepo(data *Data, logger log.Logger) biz.AccountRepo
- func NewCacheClient(c *conf.Data) cache.Cache
- func NewDbClient(c *conf.Data) (orm.Conn, error)
- func NewDiscovery(conf *conf.Registry) (registry.Discovery, error)
- func NewRedisClient(c *conf.Redis) (*redis.Client, error)
- func NewRegistrar(conf *conf.Registry) (registry.Registrar, error)
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewAccountRepo, NewDbClient, NewRedisClient, NewDiscovery, NewRegistrar, NewCacheClient, )
ProviderSet is data providers.
Functions ¶
func NewAccountRepo ¶
func NewAccountRepo(data *Data, logger log.Logger) biz.AccountRepo
NewAccountRepo .
func NewRedisClient ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.