Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
ErrNotFound is a sential error for HTTP status code 404.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Host string
// If the key is not nil, the client sends unauthenticated requests.
Signer *token.SigningKey
Client *http.Client
}
Client is a client for the links REST API.
Click to show internal directories.
Click to hide internal directories.