helpers

package
v0.0.1-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenRsaPrivateKey

func GenRsaPrivateKey(pwd string) ([]byte, error)

func GetEnv

func GetEnv(name, defaultValue string) string

func ParseConfig

func ParseConfig(filename string) config.SecureTemplateConfig

func ParseEnvFileAsKeyValue

func ParseEnvFileAsKeyValue(envFile string) (map[string]string, error)

func ParseRsaPrivateKeyFromPemStr

func ParseRsaPrivateKeyFromPemStr(privKeyBase64, pwd string) (*rsa.PrivateKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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