Documentation ¶
Index ¶
- Variables
- func NewDiscovery(conf *conf.Registry) registry.Discovery
- func NewRedis(conf *conf.Data) *redis.Client
- func NewRegistrar(conf *conf.Registry) registry.Registrar
- func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo
- func NewUserServiceClient(r registry.Discovery) userv1.UserClient
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewDiscovery, NewRegistrar, NewUserServiceClient, NewRedis, NewUserRepo, )
ProviderSet is data providers.
Functions ¶
func NewUserServiceClient ¶
func NewUserServiceClient(r registry.Discovery) userv1.UserClient
Types ¶
Click to show internal directories.
Click to hide internal directories.