Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewGenerator), fx.Provide(NewSigner), )
Module for fx.
Functions ¶
Types ¶
type Config ¶
type Config struct { Public string `yaml:"public,omitempty" json:"public,omitempty" toml:"public,omitempty"` Private string `yaml:"private,omitempty" json:"private,omitempty" toml:"private,omitempty"` }
Config for ssh.
func (*Config) PrivateKey ¶ added in v1.214.1
func (c *Config) PrivateKey() (ed25519.PrivateKey, error)
PrivateKey ssh.
type Generator ¶ added in v1.367.0
type Generator struct {
// contains filtered or unexported fields
}
Generator for ssh.
func NewGenerator ¶ added in v1.367.0
NewGenerator for ssh.
Click to show internal directories.
Click to hide internal directories.