tpl

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FuncMd5sum      = "md5sum"
	FuncSha1sum     = "sha1sum"
	FuncMd5Crypt    = "md5crypt"
	FuncSSHA        = "ssha"
	FuncSSHA256     = "ssha256"
	FuncSSHA512     = "ssha512"
	FuncGet         = "get"
	FuncGetPassword = "getpw"
	FuncGetValue    = "getval"
	FuncGetValues   = "getvals"
	FuncArgon2i     = "argon2i"
	FuncArgon2id    = "argon2id"
	FuncBcrypt      = "bcrypt"
)

These constants defined the template function names used

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, tpl, name string, content []byte, s kvstore) ([]byte, error)

Execute executes the given template

Types

This section is empty.

Jump to

Keyboard shortcuts

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