types

package
v0.0.0-...-1502654 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Users

type Users struct {
	Name string   `json:"Name" yaml:"Name"`
	Keys []string `json:"Keys" yaml:"Keys"`
}

Users is the basic object to display the user details

func (*Users) GetKeys

func (u *Users) GetKeys(client *github.Client, limit int) error

GetKeys will fetch the user's public ssh keys from Github You can limit how many keys are stored by the argument. If you set the limit to zero, it is considered to be unlimited.

Jump to

Keyboard shortcuts

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