client

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Type string
	Host string
	Port int
}

func New

func New(host string) *Client

func NewClient

func NewClient(host string, port int) *Client

func (*Client) Do

func (c *Client) Do(url string) (res *http.Response, close func() error, err error)

Jump to

Keyboard shortcuts

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