v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2014 License: Apache-2.0 Imports: 2 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 is a structure that contains information for communicating with a provider.

func NewClient

NewClient creates and returns a *Client.

func (*Client) GetAccountURL

func (c *Client) GetAccountURL() string

GetAccountURL returns the URI for making Account requests. This function is exported to allow the 'Accounts' subpackage to use it. It is not meant for public consumption.

func (*Client) GetContainerURL

func (c *Client) GetContainerURL(container string) string

GetContainerURL returns the URI for making Container requests. This function is exported to allow the 'Containers' subpackage to use it. It is not meant for public consumption.

func (*Client) GetHeaders

func (c *Client) GetHeaders() (map[string]string, error)

GetHeaders is a function that gets the header for token authentication against a client's endpoint. This function is exported to allow the subpackages to use it. It is not meant for public consumption.

func (*Client) GetObjectURL

func (c *Client) GetObjectURL(container, object string) string

GetObjectURL returns the URI for making Object requests. This function is exported to allow the 'Objects' subpackage to use it. It is not meant for public consumption.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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