Documentation ¶
Index ¶
- Constants
- Variables
- func App() *viper.Viper
- func Get() *viper.Viper
- func GetAppDomain() string
- func GetConfigPath() string
- func GetOssCallbackUrl() string
- func GetOssCdnDomain(withSlash bool) string
- func GetPrivateUploadDirectory() string
- func GetProjectEnvFilePath() string
- func GetProjectPath() string
- func GetPublicUploadDirectory() string
- func Jwt() *viper.Viper
- func Mysql() *viper.Viper
- func OAuth2() *viper.Viper
- func Oss() *viper.Viper
- func Redis() *viper.Viper
- func Server() *viper.Viper
- func Sms() *viper.Viper
- func Smtp() *viper.Viper
- func Xorm() *viper.Viper
Constants ¶
View Source
const LEARNUE_HOME = "LEARNUE_HOME"
Variables ¶
View Source
var ( ROOT string ConfigPath string TemplateDir string )
Functions ¶
func GetAppDomain ¶
func GetAppDomain() string
func GetConfigPath ¶
func GetConfigPath() string
func GetOssCallbackUrl ¶
func GetOssCallbackUrl() string
func GetOssCdnDomain ¶
func GetPrivateUploadDirectory ¶
func GetPrivateUploadDirectory() string
func GetProjectEnvFilePath ¶
func GetProjectEnvFilePath() string
func GetProjectPath ¶
func GetProjectPath() string
func GetPublicUploadDirectory ¶
func GetPublicUploadDirectory() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.