Documentation ¶
Index ¶
- Variables
- func NewBranca(cfg *Config) service.BrancaSecret
- func NewEd25519PrivateKey(cfg *Config) (ed25519.PrivateKey, error)
- func NewRSAPrivateKey(cfg *Config) (*rsa.PrivateKey, error)
- func NewRSAPublicKey(cfg *Config) (*rsa.PublicKey, error)
- type Admin
- type Config
- type Key
- type KeyPair
- type Secret
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewRSAPrivateKey), fx.Provide(NewRSAPublicKey), fx.Provide(NewEd25519PrivateKey), fx.Provide(NewBranca), )
Module for fx.
Functions ¶
func NewBranca ¶ added in v1.10.3
func NewBranca(cfg *Config) service.BrancaSecret
NewBranca for config.
func NewEd25519PrivateKey ¶ added in v1.10.3
func NewEd25519PrivateKey(cfg *Config) (ed25519.PrivateKey, error)
PrivateRSA from key.
func NewRSAPrivateKey ¶ added in v1.10.3
func NewRSAPrivateKey(cfg *Config) (*rsa.PrivateKey, error)
NewRSAPrivateKey from key.
Types ¶
type Config ¶
type Config struct { Issuer string `yaml:"issuer"` Key Key `yaml:"key"` Secret Secret `yaml:"secret"` Admins []Admin `yaml:"admins"` Services []Service `yaml:"services"` }
Config for v1.
Click to show internal directories.
Click to hide internal directories.