controller

package
v2.2.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerURLStr

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

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