cache

package
v0.0.0-...-ff37129 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func Init

func Init(cfg ini.File) (*Cache, error)

func (*Cache) LookupKey

func (c *Cache) LookupKey(ctx context.Context, service string, key *ssh.Key) (*ssh.User, error)

func (*Cache) StoreKey

func (c *Cache) StoreKey(ctx context.Context, service string, key *ssh.Key, user *ssh.User) error

Jump to

Keyboard shortcuts

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