client

package
v0.0.0-...-b224b64 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: MIT Imports: 7 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 {
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) Authenticate

func (c *Client) Authenticate(username, password string) (session string, err error)

func (*Client) Get

func (c *Client) Get(ctx context.Context, session string, url string) (urls []string, err error)

func (*Client) SetConnection

func (c *Client) SetConnection(host string) (err error)

func (*Client) Submit

func (c *Client) Submit(ctx context.Context, session string, url string) (job string, err error)

func (*Client) Validate

func (c *Client) Validate(session string) error

Jump to

Keyboard shortcuts

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