Documentation ¶
Overview ¶
client file in package common holds the client interface and service struct used by each service that the client is connecting with services using the Service struct are located under pkg/api
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Request(ctx context.Context, method, path string, body []byte) (*http.Request, error) LegacyDo(req *http.Request, v interface{}, errorHandlers ...func(*http.Response) error) (*http.Response, error) Do(req *http.Request) (*http.Response, error) SetBaseURL(url string) error GetBaseURL() string Clone() Client }
Client is the client interface
Click to show internal directories.
Click to hide internal directories.