functions

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Functions = map[string]interface{}{
	"md5_file":    Md5File,
	"sha1_file":   Sha1File,
	"sha256_file": Sha256File,
	"md5":         Md5,
	"sha1":        Sha1,
	"sha256":      Sha256,
	"to_base64":   ToBase64,
	"from_base64": FromBase64,
	"split":       Split,
	"file_exists": FileExists,
}

Functions

func FileExists

func FileExists(path interface{}) int

FileExists @example : select name, file_exists(path) as fe from processes where fe = 0

func FromBase64

func FromBase64(s interface{}) string

func Md5

func Md5(str interface{}) string

func Md5File

func Md5File(path string) string

func Sha1

func Sha1(str interface{}) string

func Sha1File

func Sha1File(path string) string

func Sha256

func Sha256(str interface{}) string

func Sha256File

func Sha256File(path string) string

func Split

func Split(s interface{}, token interface{}, index int) string

func ToBase64

func ToBase64(s interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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