MCPcopy
hub / github.com/redis/go-redis / remaining

Method remaining

options.go:652–659  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

650}
651
652func (o *queryOptions) remaining() []string {
653 if len(o.q) == 0 {
654 return nil
655 }
656 keys := slices.Collect(maps.Keys(o.q))
657 slices.Sort(keys)
658 return keys
659}
660
661// setupConnParams converts query parameters in u to option value in o.
662func setupConnParams(u *url.URL, o *Options) (*Options, error) {

Callers 3

setupConnParamsFunction · 0.95
setupClusterQueryParamsFunction · 0.95
setupFailoverConnParamsFunction · 0.95

Calls 3

CollectMethod · 0.80
KeysMethod · 0.65
SortMethod · 0.65

Tested by

no test coverage detected