Documentation
¶
Index ¶
- type Client
- func (c Client) AddStub(stub *stuber.Stub) error
- func (c Client) AddStubs(stubs []*stuber.Stub) error
- func (c Client) BatchDelete(ids []uuid.UUID) error
- func (c Client) FetchHistory() ([]HistoryCall, error)
- func (c Client) UploadDescriptors(files []*descriptorpb.FileDescriptorProto) error
- func (c Client) VerifyMethodCalled(service, method string, expectedCount int) error
- type HistoryCall
- type VerifyBadRequestError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseURL string
HTTPClient *http.Client
Session string
Context context.Context
}
func (Client) FetchHistory ¶
func (c Client) FetchHistory() ([]HistoryCall, error)
func (Client) UploadDescriptors ¶
func (c Client) UploadDescriptors(files []*descriptorpb.FileDescriptorProto) error
type HistoryCall ¶
type VerifyBadRequestError ¶
type VerifyBadRequestError struct {
Message string
}
func (VerifyBadRequestError) Error ¶
func (e VerifyBadRequestError) Error() string
Click to show internal directories.
Click to hide internal directories.