Documentation ¶
Index ¶
- Variables
- func AESDecrypt(cryted string) string
- func AESEncrypt(orig string) string
- func AesDecrypt(cryted string, key string) string
- func AesEncrypt(orig string, key string) string
- func LoadYamlViaTemplate(file string, out interface{}) error
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func Parse(file string) ([]byte, error)
- type YamlTemplate
Constants ¶
This section is empty.
Variables ¶
View Source
var AesKey = "B0X128M4CO524D18"
AesKey key for AES
View Source
var EndTag = "}"
EndTag End tag
View Source
var StartTag = "${"
StartTag default start tag
View Source
var Version = "development"
Version version
Functions ¶
func AESDecrypt ¶ added in v0.1.3
AESDecrypt decrypt with default key
func AESEncrypt ¶ added in v0.1.3
AESEncrypt AES encrypt with default key
func LoadYamlViaTemplate ¶ added in v0.3.0
LoadYamlViaTemplate Load yaml with template engine.
Types ¶
type YamlTemplate ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.