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

Function WithEnum

pkg/event/param.go:84–88  ·  view source on GitHub ↗

WithEnum appends the parameter with the enum mapping.

(enum ParamEnum)

Source from the content-addressed store, hash-verified

82
83// WithEnum appends the parameter with the enum mapping.
84func WithEnum(enum ParamEnum) ParamOption {
85 return func(o *paramOpts) {
86 o.enum = enum
87 }
88}
89
90// Param defines the layout of the event parameter.
91type Param struct {

Callers 2

produceParamsMethod · 0.85
AppendEnumMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected