client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToTimeHookFunc

func ToTimeHookFunc() mapstructure.DecodeHookFunc

Types

type CertificateResult

type CertificateResult struct {
	CertificateFingerprint string
	ExpirationTimestamp    time.Time
	VerificationURL        string
}

type GitHubSSHResult

type GitHubSSHResult struct {
	Username string
}

type Result

type Result struct {
	CertificateResults []CertificateResult    `json:",omitempty"`
	GitHubSSHResults   []GitHubSSHResult      `json:",omitempty"`
	Error              string                 `json:",omitempty"`
	X                  map[string]interface{} `json:",omitempty"`
}

func Lookup

func Lookup(version string, publicKey []byte) (result Result, err error)

Jump to

Keyboard shortcuts

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