utils

package
v0.0.0-...-943cc16 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(orig, copy string) error

func CopyFiles

func CopyFiles(origs []string, dest string) error

func CreateDirs

func CreateDirs(directories []string) (err error)

func GetEnv

func GetEnv(key, fallback string) string

func Random

func Random(n int) string

Types

type Encode

type Encode struct{}

func (Encode) MakeSSHA256Encode

func (enc Encode) MakeSSHA256Encode(pass []byte) (passEncode []byte)

func (Encode) MakeSSHAEncode

func (enc Encode) MakeSSHAEncode(pass []byte) (passEncode []byte)

Jump to

Keyboard shortcuts

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