client

package
v0.0.0-...-a480b2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2017 License: MIT Imports: 4 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL