MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / StringSlice

Function StringSlice

env/types.go:110–116  ·  view source on GitHub ↗

StringSlice defines string slice env var descriptor. Parses a comma-separated list of strings.

(name string)

Source from the content-addressed store, hash-verified

108// StringSlice defines string slice env var descriptor.
109// Parses a comma-separated list of strings.
110func StringSlice(name string) StringSliceVar {
111 return StringSliceVar{
112 Name: name,
113 format: "comma-separated strings",
114 parseFn: parseStringSlice,
115 }
116}
117
118// URLPath defines URL path env var descriptor.
119// Normalizes the path by removing query strings, fragments, and ensuring proper slashes.

Callers 5

config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
TestStringSliceFunction · 0.92
config.goFile · 0.92

Calls

no outgoing calls

Tested by 1

TestStringSliceFunction · 0.74