Documentation ¶
Index ¶
- Constants
- func DateTimeFormat() string
- func GetNameAndVersion() string
- func GetVersion() string
- func LogPublicKey(s ssh.Session)
- func NormalizeInput(text string) string
- func PkToHash(pk string) string
- func PrettyPrint(i interface{}) string
- func PublicKeyToString(s ssh.PublicKey) string
- func RandomString(length int) string
- type AppConfig
- type ErrMsg
- type RsaKeyPair
Constants ¶
View Source
const ConfigFileName = "config.yaml"
View Source
const Name = "stegodon"
Variables ¶
This section is empty.
Functions ¶
func DateTimeFormat ¶
func DateTimeFormat() string
func GetNameAndVersion ¶
func GetNameAndVersion() string
func GetVersion ¶
func GetVersion() string
func LogPublicKey ¶
func NormalizeInput ¶
func PrettyPrint ¶
func PrettyPrint(i interface{}) string
func PublicKeyToString ¶
func RandomString ¶
Types ¶
type AppConfig ¶
type RsaKeyPair ¶
func GeneratePemKeypair ¶
func GeneratePemKeypair() *RsaKeyPair
Click to show internal directories.
Click to hide internal directories.