Documentation ¶
Index ¶
- Variables
- func AppName() string
- func GenerateDevelopKey() (string, error)
- func GetGlobalKey() *ecdsa.PrivateKey
- func GetGlobalPubKey() string
- func GetJsGlobalPubKey() string
- func GetSecret() string
- func GetStaticPageURL() string
- func GmKey() *sm2.PrivateKey
- func IsDev() bool
- func MakePath(base string) func(...string) string
- func SetMod(m string)
- func UseAppPath(elem ...string) string
- func UseConfigPath(elem ...string) string
- func UseDataPath(elem ...string) string
- func ValidateDevelopKey(passcode string, msg ...string) bool
- func Write()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitVersion = "invalid" BuildTime = "invalid" BuildVersion = "invalid" BuildUser = "invalid" ProjectName = "invalid" )
Functions ¶
func GenerateDevelopKey ¶
func GetGlobalKey ¶
func GetGlobalKey() *ecdsa.PrivateKey
func GetGlobalPubKey ¶
func GetGlobalPubKey() string
func GetJsGlobalPubKey ¶
func GetJsGlobalPubKey() string
func GetStaticPageURL ¶
func GetStaticPageURL() string
func GmKey ¶
func GmKey() *sm2.PrivateKey
func ValidateDevelopKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.