agent

package
v0.0.0-...-4c1bd67 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2016 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(username string, key *bakery.KeyPair) *httpbakery.Client

NewClient creates an httpbakery.Client that is configured to use agent login. The agent login attempts will be made using the provided username and key.

func VisitWebPage

func VisitWebPage(c *httpbakery.Client, username string) func(u *url.URL) error

VisitWebPage returns a function that can be used with httpbakery.Client.VisitWebPage. The returned function will attept to perform an agent login with the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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