setting

package
v0.0.0-...-04c5af6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const LEARNUE_HOME = "LEARNUE_HOME"

Variables

View Source
var (
	ROOT        string
	ConfigPath  string
	TemplateDir string
)

Functions

func App

func App() *viper.Viper

func Get

func Get() *viper.Viper

func GetAppDomain

func GetAppDomain() string

func GetConfigPath

func GetConfigPath() string

func GetOssCallbackUrl

func GetOssCallbackUrl() string

func GetOssCdnDomain

func GetOssCdnDomain(withSlash bool) string

func GetPrivateUploadDirectory

func GetPrivateUploadDirectory() string

func GetProjectEnvFilePath

func GetProjectEnvFilePath() string

func GetProjectPath

func GetProjectPath() string

func GetPublicUploadDirectory

func GetPublicUploadDirectory() string

func Jwt

func Jwt() *viper.Viper

func Mysql

func Mysql() *viper.Viper

func OAuth2

func OAuth2() *viper.Viper

func Oss

func Oss() *viper.Viper

func Redis

func Redis() *viper.Viper

func Server

func Server() *viper.Viper

func Sms

func Sms() *viper.Viper

func Smtp

func Smtp() *viper.Viper

func Xorm

func Xorm() *viper.Viper

Types

This section is empty.

Jump to

Keyboard shortcuts

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