package
2.16.0
Repository: https://github.com/lnxjedi/gopherbot.git
Documentation: pkg.go.dev

# Functions

AddHostKeys adds provided host keys to a new known_hosts file and returns the path and handle.
Delete removes the known_hosts file associated with the handle.
GetHostKeysPath returns the host keys associated with the handle.
GetKnownHostsPath returns the path to the known hosts file associated with the handle.
Initialize sets up the known_hosts directory and ensures the known_hosts file exists.
LoadHostKeys loads host keys for known providers based on the repository URL.
ParseHostFromRepoURL parses the host from the repository URL and is exported for use by other modules.
ScanHost scans the host to retrieve its host key and writes it to a known_hosts file.

# Structs

HostKeysInstance represents an individual known_hosts file.
HostKeysManager manages known_hosts files and their lifecycle.