Documentation
¶
Overview ¶
Package restclient provides a Coordinate-compatible HTTP REST client that talks to the matching server in the "restserver" package.
The server in github.com/diffeo/go-coordinate/cmd/coordinated can run a compatible REST server. Call New() with the base URL of that service; for instance,
c, err := restclient.New("http://localhost:5980/")
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(baseURL string) (coordinate.Coordinate, error)
New creates a new Coordinate interface that speaks to an external REST server.
Types ¶
Click to show internal directories.
Click to hide internal directories.