Documentation
¶
Index ¶
- Variables
- func ApplyTemplate(temp string, data map[string]interface{}) (string, error)
- func ClientGo() *kubernetes.Clientset
- func ClientGoDynamic() dynamic.Interface
- 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 Http() *utils.GoutCli
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Jiami(code string) string
- func MD5(text string) string
- func NewHttpProxyByGinCustom(target string, filter map[string]string) func(c *gin.Context)
- 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 SendErrorMessage(c *gin.Context, code int, errorCode string, errorMsg string)
- func SendSuccessMessage(c *gin.Context, code int, data interface{})
- 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 ClientGo ¶ added in v0.0.10
func ClientGo() *kubernetes.Clientset
func ClientGoDynamic ¶ added in v0.0.10
func DecodeURLBase64 ¶
func EditFormColumns ¶
func ExecCommand ¶
func ExecCommandString ¶
func GetCurrentDirectory ¶
func GetCurrentDirectory() string
func GetRegisterByName ¶
func GetRegistered ¶
func NewHttpProxyByGinCustom ¶ added in v0.0.10
func RsaBase64Encode ¶
func RsaBase64UrlDecode ¶
func SendErrorMessage ¶ added in v0.0.10
func SendSuccessMessage ¶ added in v0.0.10
Types ¶
Click to show internal directories.
Click to hide internal directories.