MCPcopy Create free account
hub / github.com/kataras/iris / DefaultSwitchOptions

Function DefaultSwitchOptions

apps/switch_options.go:42–46  ·  view source on GitHub ↗

DefaultSwitchOptions returns a fresh SwitchOptions struct value with its fields set to their defaults.

()

Source from the content-addressed store, hash-verified

40// DefaultSwitchOptions returns a fresh SwitchOptions
41// struct value with its fields set to their defaults.
42func DefaultSwitchOptions() SwitchOptions {
43 return SwitchOptions{
44 RequestModifiers: nil,
45 }
46}
47
48// Apply completes the `SwitchOption` interface.
49// It does copies values from "o" to "opts" when necessary.

Callers 1

SwitchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…