authorizedkeys

package
v0.0.0-...-7d5229d Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthorizedKeysPath = "/authorized_keys"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config *config.Config) (*Client, error)

func (*Client) GetByKey

func (c *Client) GetByKey(key string) (*Response, error)

type Response

type Response struct {
	Id  int64  `json:"id"`
	Key string `json:"key"`
}

Jump to

Keyboard shortcuts

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