hkclient

package
v0.0.0-...-b8aeaa3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomePath

func HomePath() string

Types

type Clients

type Clients struct {
	ApiURL string
	Client *heroku.Client

	PgClient *postgresql.Client
}

func New

func New(nrc *NetRc, agent string) (*Clients, error)

type NetRc

type NetRc struct {
	netrc.Netrc
}

func LoadNetRc

func LoadNetRc() (nrc *NetRc, err error)

func (*NetRc) GetCreds

func (nrc *NetRc) GetCreds(apiURL *url.URL) (user, pass string, err error)

func (*NetRc) RemoveCreds

func (nrc *NetRc) RemoveCreds(host string) error

func (*NetRc) SaveCreds

func (nrc *NetRc) SaveCreds(host, user, pass string) error

Jump to

Keyboard shortcuts

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