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

Function WithFlags

pkg/event/param.go:77–81  ·  view source on GitHub ↗

WithFlags appends the parameter with a list of bitmask flags.

(flags ParamFlags)

Source from the content-addressed store, hash-verified

75
76// WithFlags appends the parameter with a list of bitmask flags.
77func WithFlags(flags ParamFlags) ParamOption {
78 return func(o *paramOpts) {
79 o.flags = flags
80 }
81}
82
83// WithEnum appends the parameter with the enum mapping.
84func WithEnum(enum ParamEnum) ParamOption {

Callers 2

produceParamsMethod · 0.85
AppendFlagsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected