MCPcopy Create free account
hub / github.com/opencloud-eu/opencloud / newOptions

Function newOptions

services/auth-basic/pkg/server/debug/option.go:21–29  ·  view source on GitHub ↗

newOptions initializes the available default options.

(opts ...Option)

Source from the content-addressed store, hash-verified

19
20// newOptions initializes the available default options.
21func newOptions(opts ...Option) Options {
22 opt := Options{}
23
24 for _, o := range opts {
25 o(&opt)
26 }
27
28 return opt
29}
30
31// Logger provides a function to set the logger option.
32func Logger(val log.Logger) Option {

Callers 1

ServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected