client

package
v0.0.0-...-9af805d Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2016 License: GPL-2.0 Imports: 9 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
}

client implements the Client interface

func New

func New(hostname string, dialTimeout time.Duration) (*Client, error)

New returns a client object which allows public access to server.

func (*Client) GetBlob

func (c *Client) GetBlob(dgst string) ([]byte, error)

func (*Client) Ping

func (c *Client) Ping(dgst string) (bool, error)

Jump to

Keyboard shortcuts

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