MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / WithRefresh

Function WithRefresh

pkg/util/loldrivers/client.go:73–77  ·  view source on GitHub ↗

WithRefresh sets the refresh interval for loldrivers dataset.

(interval time.Duration)

Source from the content-addressed store, hash-verified

71
72// WithRefresh sets the refresh interval for loldrivers dataset.
73func WithRefresh(interval time.Duration) Option {
74 return func(o *opts) {
75 o.refreshInterval = interval
76 }
77}
78
79// WithAsyncDownload indicates if the initial request to loldrivers API
80// is performed in a separate goroutine.

Callers 1

TestRefreshFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRefreshFunction · 0.68