MCPcopy Create free account
hub / github.com/AdRoll/baker / fillDefaults

Method fillDefaults

input/tcp.go:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (cfg *TCPConfig) fillDefaults() {
45 if cfg.Listener == "" {
46 cfg.Listener = ":6000"
47 }
48}
49
50type TCP struct {
51 Cfg *TCPConfig

Callers 1

NewTCPFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected