controller

package
v2.0.0-beta2+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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