MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / WithName

Function WithName

pkg/queue/options.go:98–102  ·  view source on GitHub ↗

WithName set queue name

(name string)

Source from the content-addressed store, hash-verified

96
97// WithName set queue name
98func WithName(name string) Option {
99 return OptionFunc(func(q *options) {
100 q.name = name
101 })
102}
103
104// WithTaskPullInterval set task pull interval
105func WithTaskPullInterval(d time.Duration) Option {

Callers 6

ThumbQueueMethod · 0.92
MediaMetaQueueMethod · 0.92
IoIntenseQueueMethod · 0.92
RemoteDownloadQueueMethod · 0.92
EntityRecycleQueueMethod · 0.92
SlaveQueueMethod · 0.92

Calls 1

OptionFuncFuncType · 0.70

Tested by

no test coverage detected