Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ClientEncodeErr represents an error encoding parameters.
ClientEncodeErr = "client:encode"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL string // BaseURL the API is served from, e.g. https://www.sherpadoc.org/example/ Functions []string // Function names exported by the API JSON *sherpa.JSON HTTPClient *http.Client }
Client lets you call functions from an existing Sherpa API. If the API was initialized with a non-nil function list, some fields will be nil (as indicated).
Click to show internal directories.
Click to hide internal directories.