MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / Add

Method Add

service/pool.go:9–9  ·  view source on GitHub ↗

Add adds a service to the service pool.

(s Service)

Source from the content-addressed store, hash-verified

7
8 // Add adds a service to the service pool.
9 Add(s Service) Lifecycle
10}

Callers 15

NewFunction · 0.95
TestOneServiceFunction · 0.95
TestOneServiceCrashFunction · 0.95
createMetricsServerFunction · 0.65
createSSHServerFunction · 0.65
createAuthHandlerFunction · 0.65
handleNewConnectionMethod · 0.65
newConnectionMethod · 0.65
ServeHTTPMethod · 0.65

Implementers 1

poolservice/pool_impl.go

Calls

no outgoing calls

Tested by 7

TestOneServiceFunction · 0.76
TestOneServiceCrashFunction · 0.76
TestTwoServicesFunction · 0.52
testPipelineFunction · 0.52