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

Method Get

pkg/event/param.go:199–201  ·  view source on GitHub ↗

Get returns the event parameter with specified name.

(name string)

Source from the content-addressed store, hash-verified

197
198// Get returns the event parameter with specified name.
199func (pars Params) Get(name string) (*Param, error) {
200 return pars.findParam(name)
201}
202
203// Len returns the number of parameters.
204func (pars Params) Len() int { return len(pars) }

Callers

nothing calls this directly

Calls 1

findParamMethod · 0.95

Tested by

no test coverage detected