package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Jan 31, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ENV_PREFIX = "FINALRIP"
FINALRIP_REMOTE_CONFIG_HOST = "FINALRIP_REMOTE_CONFIG_HOST"
FINALRIP_REMOTE_CONFIG_KEY = "FINALRIP_REMOTE_CONFIG_KEY"
FINALRIP_EASYTIER_HOST = "FINALRIP_EASYTIER_HOST"
)
type DB struct {
Type string `yaml:"type"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Username string `yaml:"username"`
Password string `yaml:"password"`
Database string `yaml:"database"`
SSL bool `yaml:"ssl"`
}
type Log struct {
Level string `yaml:"level"`
Mode []string `yaml:"mode"`
}
type OSS struct {
Type string `yaml:"type"`
Endpoint string `yaml:"endpoint"`
AccessKey string `yaml:"accessKey"`
SecretKey string `yaml:"secretKey"`
Region string `yaml:"region"`
Bucket string `yaml:"bucket"`
UseSSL bool `yaml:"ssl"`
HostnameImmutable bool `yaml:"hostnameImmutable"`
}
type Redis struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Password string `yaml:"password"`
PoolSize int `yaml:"poolSize"`
}
type Server struct {
Token string `yaml:"token"`
Name string `yaml:"name"`
Port int `yaml:"port"`
Mode string `yaml:"mode"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.