(cfg *client.Config)
| 172 | } |
| 173 | |
| 174 | func 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 | |
| 184 | func (c *ssClientCommandT) Init(name string, desc string) { |
| 185 | c.clientCommandT.Init(name, desc) |