Documentation ¶
Overview ¶
Package randword provides a client to the random word generator API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an HTTP client for a random word generator API.
func NewClient ¶
NewClient constructs a new client that is configured to use the given endpoint specified by baseURL.
func (*Client) HumanReadableSlug ¶
HumanReadableSlug returns a randomly generated URL slug comprised of hyphen-separated words.
Click to show internal directories.
Click to hide internal directories.