Documentation ¶
Index ¶
- type Deps
- func (deps *Deps) Cron() cron.ICron
- func (deps *Deps) DB() db.IDBQuickshare
- func (deps *Deps) FS() fs.ISimpleFS
- func (deps *Deps) FileIndex() fileindex.IFileIndex
- func (deps *Deps) FileInfos() db.IFilesFunctions
- func (deps *Deps) ID() idgen.IIDGen
- func (deps *Deps) KV() kvstore.IKVStore
- func (deps *Deps) Limiter() iolimiter.ILimiter
- func (deps *Deps) Log() *zap.SugaredLogger
- func (deps *Deps) SetCron(cronImp cron.ICron)
- func (deps *Deps) SetDB(rdb db.IDBQuickshare)
- func (deps *Deps) SetFS(filesystem fs.ISimpleFS)
- func (deps *Deps) SetFileIndex(index fileindex.IFileIndex)
- func (deps *Deps) SetID(ider idgen.IIDGen)
- func (deps *Deps) SetKV(kvstore kvstore.IKVStore)
- func (deps *Deps) SetLimiter(limiter iolimiter.ILimiter)
- func (deps *Deps) SetLog(logger *zap.SugaredLogger)
- func (deps *Deps) SetToken(tokenMaker cryptoutil.ITokenEncDec)
- func (deps *Deps) SetWorkers(workers worker.IWorkerPool)
- func (deps *Deps) SiteStore() db.IConfigDB
- func (deps *Deps) Token() cryptoutil.ITokenEncDec
- func (deps *Deps) Users() db.IUserDB
- func (deps *Deps) Workers() worker.IWorkerPool
- type IUploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
// contains filtered or unexported fields
}
func (*Deps) DB ¶ added in v0.10.1
func (deps *Deps) DB() db.IDBQuickshare
func (*Deps) FileIndex ¶ added in v0.9.1
func (deps *Deps) FileIndex() fileindex.IFileIndex
func (*Deps) FileInfos ¶
func (deps *Deps) FileInfos() db.IFilesFunctions
func (*Deps) Log ¶
func (deps *Deps) Log() *zap.SugaredLogger
func (*Deps) SetDB ¶ added in v0.10.1
func (deps *Deps) SetDB(rdb db.IDBQuickshare)
func (*Deps) SetFileIndex ¶ added in v0.10.1
func (deps *Deps) SetFileIndex(index fileindex.IFileIndex)
func (*Deps) SetLimiter ¶
func (*Deps) SetLog ¶
func (deps *Deps) SetLog(logger *zap.SugaredLogger)
func (*Deps) SetToken ¶
func (deps *Deps) SetToken(tokenMaker cryptoutil.ITokenEncDec)
func (*Deps) SetWorkers ¶
func (deps *Deps) SetWorkers(workers worker.IWorkerPool)
func (*Deps) Token ¶
func (deps *Deps) Token() cryptoutil.ITokenEncDec
func (*Deps) Workers ¶
func (deps *Deps) Workers() worker.IWorkerPool
Click to show internal directories.
Click to hide internal directories.