vo

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Dbdsn             string
	Admin_user        string
	Admin_password    string
	AdminEmail        string
	Site_name         string
	Site_description  string
	Site_url          string
	SrvMode           string
	ObjectStorageType uint //1 本地存储 ./vol/oss/  2 aws s3 云存储
	CaptchaEnabled    uint
	HCaptchaSiteKey   string
	HCaptchaSecretKey string
	TwoAuthType       uint
	PrivateMode       uint
	ObjectStorage     struct {
		Aws_access_key_id     string
		Aws_secret_access_key string
		Aws_region            string
		Aws_bucket            string
		Cdn_url               string
	}
	EmailConfig struct {
		FromEmail    string
		SmtpHost     string
		SmtpPort     int
		SmtpUser     string
		SmtpPassword string
	}
	MailgunConfig struct {
		FromEmail string
		Domain    string
		ApiKey    string
	}
	BackupConfig struct {
		BackupEnabled uint
		BackupDir     string
	}
	TongjiConfig struct {
		TongjiEnabled uint
		TongjiCode    string
	}
}

type Msg

type Msg struct {
	Msg     string
	JumpUrl string
}

type Umsg

type Umsg struct {
	Msg string
	Url string
}

Jump to

Keyboard shortcuts

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