Documentation ¶
Index ¶
- func Get(ctx context.Context, url string) (resp *http.Response, err error)
- func Init()
- func NewRequest(ctx context.Context, method, url string, body io.Reader) (*http.Request, error)
- func Post(ctx context.Context, url, contentType string, body io.Reader) (resp *http.Response, err error)
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequest ¶
NewRequest calls http.NewRequest with expected http User-Agent
Types ¶
Click to show internal directories.
Click to hide internal directories.