Documentation ¶
Index ¶
- Variables
- func NewDiscovery(conf *conf.Registry) registry.Discovery
- func NewFileRepo(data *Data, logger log.Logger) biz.FileRepo
- func NewMysqlCmd(conf *conf.Bootstrap, logger log.Logger) *gorm.DB
- func NewRedisClient(conf *conf.Data) *redis.Client
- func NewRedisCmd(conf *conf.Data, logger log.Logger) redis.Cmdable
- func NewRegistrar(conf *conf.Registry) registry.Registrar
- type Data
- type FileRepo
- type OssClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewDiscovery, NewRegistrar, NewRedisCmd, NewMysqlCmd, NewRedisClient, NewFileRepo, NewOssClient, )
ProviderSet is data providers.
Functions ¶
Types ¶
type FileRepo ¶
type FileRepo struct {
// contains filtered or unexported fields
}
func (FileRepo) GetOssStsToken ¶
Click to show internal directories.
Click to hide internal directories.