Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = NewHTTPClient(nil)
Default URL shortener HTTP client.
Functions ¶
This section is empty.
Types ¶
type URLShortener ¶
type URLShortener struct {
URL *url.Client
Transport runtime.ClientTransport
}
URLShortener is a client for URL shortener
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *URLShortener
New creates a new URL shortener client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *URLShortener
NewHTTPClient creates a new URL shortener HTTP client.
func (*URLShortener) SetTransport ¶
func (c *URLShortener) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
Click to show internal directories.
Click to hide internal directories.