Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Close() error RecordCalls(context.Context, RecordCallsRequest) error }
Client defines the interface for interacting with the errcat-server.
func NewClientWithDependencies ¶
NewClientWithDependencies allows the passing of the API client directly. This is useful for mocking. In the event that API client is not a mock, the caller will be responsible for closing any underlying connections themselves.
type RecordCallsRequest ¶
Click to show internal directories.
Click to hide internal directories.