MCPcopy Index your code
hub / github.com/labstack/echo / CreateExtractors

Function CreateExtractors

middleware/extractor.go:74–76  ·  view source on GitHub ↗

CreateExtractors creates ValuesExtractors from given lookups. lookups is a string in the form of " : " or " : , : " that is used to extract key from the request. Possible values: - "header: " or "header: : " ` ` is argument value to

(lookups string, limit uint)

Source from the content-addressed store, hash-verified

72//
73// limit sets the maximum amount how many lookups can be returned.
74func CreateExtractors(lookups string, limit uint) ([]ValuesExtractor, error) {
75 return createExtractors(lookups, limit)
76}
77
78func createExtractors(lookups string, limit uint) ([]ValuesExtractor, error) {
79 if lookups == "" {

Callers 1

TestCreateExtractorsFunction · 0.85

Calls 1

createExtractorsFunction · 0.85

Tested by 1

TestCreateExtractorsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…