models

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Name          string
	Path          string
	Format        string
	Comment       string
	Private       any
	Public        ssh.PublicKey
	LoadedToAgent bool
}

Key represents a SSH key with additional info like a path.

func (*Key) String added in v0.1.1

func (k *Key) String() string

String implements fmt.Stringer interface

Jump to

Keyboard shortcuts

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