Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Ping() error Search(ctx context.Context, name string, requestID string) (*watchman.OfacSdn, error) }
func NewClient ¶
NewClient returns an WatchmanClient instance and will default to using the Watchman address in moov's standard Kubernetes setup.
endpoint is a DNS record responsible for routing us to an Watchman instance. Example: http://watchman.apps.svc.cluster.local:8080
type TestWatchmanClient ¶
type TestWatchmanClient struct {
// contains filtered or unexported fields
}
func NewTestWatchmanClient ¶
func NewTestWatchmanClient(sdn *watchman.OfacSdn, err error) *TestWatchmanClient
func (*TestWatchmanClient) Ping ¶
func (c *TestWatchmanClient) Ping() error
Click to show internal directories.
Click to hide internal directories.