controller

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func URLStr

func URLStr(additionalPath ...string) (string, error)

URLStr returns the url of the controller with the given path prepended.

Types

type UserInfo

type UserInfo struct {
	Username    string
	Key         string
	Fingerprint string
	Apps        []string
}

UserInfo represents the required information from a user to make a push and interact with the controller

func UserInfoFromKey

func UserInfoFromKey(key ssh.PublicKey) (*UserInfo, error)

UserInfoFromKey makes a request to the controller to get the user info from they given key.

Jump to

Keyboard shortcuts

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