host_client

command
v0.0.0-...-a93e8e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 3 Imported by: 0

README

Host Client Example

The HostClient is useful when calling an API from a single host. The example also shows how to use URI. You may create the parsed URI once and reuse it in many requests. The URI has a username and password for Basic Auth but you may also set other parts i.e. SetPath(), SetQueryString().

How to build and run

Start a web server on localhost:8080 then execute:

make
./host_client

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL