Documentation ¶
Overview ¶
Package kat provides access to kickass.
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 provides access to kickass.
func NewClient ¶
func NewClient(options ...ClientOption) (*Client, error)
NewClient creates a new client with the given options.
type ClientOption ¶
ClientOption allows configuring various aspects of the Client.
func ClientRawURL ¶
func ClientRawURL(u string) ClientOption
ClientRawURL configures the base Client URL. All API requests are made relative to this URL.
func ClientTransport ¶
func ClientTransport(t http.RoundTripper) ClientOption
ClientTransport configures the Transport for the Client. If not specified http.DefaultTransport is used.
func ClientURL ¶
func ClientURL(u *url.URL) ClientOption
ClientURL configures the base Client URL. All requests are made relative to this URL.
Click to show internal directories.
Click to hide internal directories.