Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module for fx.
Functions ¶
Types ¶
type Algo ¶
type Algo interface { algo.Signer // PublicKey for ed25519. PublicKey() ed25519.PublicKey // PrivateKey for ed25519. PrivateKey() ed25519.PrivateKey }
Algo for ed25519.
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 ed25519.
func (*Config) PrivateKey ¶ added in v1.214.1
func (c *Config) PrivateKey() (ed25519.PrivateKey, error)
PrivateKey ed25519.
type None ¶ added in v1.324.0
None for ed25519.
func (*None) PrivateKey ¶ added in v1.324.0
func (a *None) PrivateKey() ed25519.PrivateKey
PrivateKey for none.
Click to show internal directories.
Click to hide internal directories.