client

package
v0.0.0-...-c182ff6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct {
	Client *http.Client
}

func NewClient

func NewClient(sock string) *Cli

func (*Cli) Get

func (c *Cli) Get(uri string) (io.ReadCloser, error)

func (*Cli) Post

func (c *Cli) Post(uri string, req interface{}) (io.ReadCloser, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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