config

package
v0.7.4-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.7.4-rc.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerConfig

type ServerConfig struct {
	Port          string           `ini:"port"`
	UseTencentCos bool             `ini:"use-tencent-cos"`
	Cos           TencentCosConfig `ini:"tencent-cos"`
}
var ServerCfg ServerConfig

type TencentCosConfig

type TencentCosConfig struct {
	CosUrl    string `ini:"cos-url"`
	AccessUrl string `ini:"access-url"`
	SecretID  string `ini:"secret-id"`
	SecretKey string `ini:"secret-key"`
}

Jump to

Keyboard shortcuts

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