MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Server

Interface Server

internal/integration/clientserver.go:29–33  ·  view source on GitHub ↗

Server represents a generalized ari-proxy server

Source from the content-addressed store, hash-verified

27
28// Server represents a generalized ari-proxy server
29type Server interface {
30 Start(ctx context.Context, t *testing.T, client ari.Client, nc *nats.EncodedConn, completeCh chan struct{}) (ari.Client, error)
31 Ready() <-chan struct{}
32 Close() error
33}
34
35// TestHandler is the interface for test execution
36type testHandler func(t *testing.T, m *mock, cl ari.Client)

Callers 37

NewFunction · 0.65
runTestFunction · 0.65
StartMethod · 0.65
ReadyMethod · 0.65
StartMethod · 0.65
ReadyMethod · 0.65
runServerFunction · 0.80
StartMethod · 0.80
StartMethod · 0.80
ListenMethod · 0.95
ListenOnMethod · 0.95
listenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected