Documentation ¶
Index ¶
- Variables
- func ApplyTemplate(temp string, data map[string]interface{}) (string, error)
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func DecodeBase64(in string) (string, error)
- func DecodeURLBase64(in string) (string, error)
- func EditFormColumns(data map[string]string, dbinfo map[string][]byte) string
- func EncodeBase64(in string) string
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func ExecCommand(cmd string) ([]byte, error)
- func ExecCommandString(cmd string) (string, error)
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func FuncMap() template.FuncMap
- func GenerateRSAKey(bits int) error
- func GetCurrentDirectory() string
- func GetIPs() (ips []string)
- func GetMacAddrs() (macAddrs []string)
- func GetRandomSalt() string
- func GetRandomString(len int) string
- func GetRegisterByName(name string) map[string]string
- func GetRegistered() []map[string]string
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Jiami(code string) string
- func MD5(text string) string
- func Register(data ...interface{}) error
- func RsaBase64Encode(origData string) string
- func RsaBase64UrlDecode(origData string) ([]byte, error)
- func RsaDecrypt(ciphertext []byte) ([]byte, error)
- func RsaEncrypt(origData []byte) ([]byte, error)
- func Run(ishttps bool)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- func WriteFile(path string, data []byte) (int, error)
- type Core
- type Rails
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PrivateKey string PublicKey string )
Functions ¶
func ApplyTemplate ¶
渲染模板
func DecodeURLBase64 ¶
func EditFormColumns ¶
func ExecCommand ¶
func ExecCommandString ¶
func GetCurrentDirectory ¶
func GetCurrentDirectory() string
func GetRegisterByName ¶
func GetRegistered ¶
func RsaBase64Encode ¶
func RsaBase64UrlDecode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.