MCPcopy Create free account
hub / github.com/paypal/junodb / newProcessor

Function newProcessor

cmd/tools/cmd/cli/sscli.go:174–182  ·  view source on GitHub ↗
(cfg *client.Config)

Source from the content-addressed store, hash-verified

172}
173
174func newProcessor(cfg *client.Config) *cli.Processor {
175 processor := cli.NewProcessor(cfg.Server, cfg.Appname,
176 1, // connPoolSize
177 cfg.ConnectTimeout.Duration,
178 cfg.ResponseTimeout.Duration,
179 nil) // GetTLSConfig
180 processor.Start()
181 return processor
182}
183
184func (c *ssClientCommandT) Init(name string, desc string) {
185 c.clientCommandT.Init(name, desc)

Callers 11

ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85

Calls 2

StartMethod · 0.95
NewProcessorFunction · 0.92

Tested by

no test coverage detected