Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Get(ctx context.Context, url string, headers map[string]string) ([]byte, error) Post(ctx context.Context, url string, body io.Reader, headers map[string]string) ([]byte, error) Put(ctx context.Context, url string, body io.Reader, headers map[string]string) ([]byte, error) Patch(ctx context.Context, url string, body io.Reader, headers map[string]string) ([]byte, error) Delete(ctx context.Context, url string, headers map[string]string) ([]byte, error) }
type HttpClient ¶
Click to show internal directories.
Click to hide internal directories.