MCPcopy
hub / github.com/yusing/godoxy / Set

Method Set

cmd/cli/cli.go:35–43  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

33}
34
35func (s *stringSliceFlag) Set(value string) error {
36 s.set = true
37 if value == "" {
38 s.v = nil
39 return nil
40 }
41 s.v = strings.Split(value, ",")
42 return nil
43}
44
45func run(args []string) error {
46 cfg, rest, err := parseGlobal(args)

Callers 14

FinalizeMethod · 0.45
listenDebugServerFunction · 0.45
execHTTPFunction · 0.45
probeHTTPFamilyFunction · 0.45
dockerSocketHandlerFunction · 0.45
ServeHTTPMethod · 0.45
TestCheckHealthHTTPFunction · 0.45
TestCheckHealthTCPUDPFunction · 0.45
CheckHealthFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestCheckHealthHTTPFunction · 0.36
TestCheckHealthTCPUDPFunction · 0.36
TestProxyHTTPH2CFunction · 0.36