Documentation ¶
Index ¶
- Variables
- func GetOssDomain() string
- func Initialize(suite []string, noDefault bool)
- func MustGormDB() *gorm.DB
- func OpenSqlite3() (*sql.DB, error)
- func RunMode() string
- type AliOSSSettingS
- type AlipaySettingS
- type AppSettingS
- type BigCacheIndexSettingS
- type COSSettingS
- type CacheIndexSettingS
- type DatabaseSetingS
- type GRPCServerSettingS
- type HttpServerSettingS
- type HuaweiOBSSettingS
- type JWTSettingS
- type LocalOSSSettingS
- type LoggerFileSettingS
- type LoggerMeiliSettingS
- type LoggerSettingS
- type LoggerZincSettingS
- type MeiliSettingS
- type MinIOSettingS
- type MySQLSettingS
- type ObjectStorageS
- type PostgresSettingS
- type PyroscopeSettingS
- type RedisSettingS
- type S3SettingS
- type Setting
- type SimpleCacheIndexSettingS
- type SmsJuheSettings
- type Sqlite3SettingS
- type TweetSearchS
- type ZincSettingS
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PyroscopeSetting *PyroscopeSettingS DatabaseSetting *DatabaseSetingS MysqlSetting *MySQLSettingS PostgresSetting *PostgresSettingS Sqlite3Setting *Sqlite3SettingS ServerSetting *HttpServerSettingS WebServerSetting *HttpServerSettingS AdminServerSetting *HttpServerSettingS SpaceXServerSetting *HttpServerSettingS BotServerSetting *HttpServerSettingS LocalossServerSetting *HttpServerSettingS FrontendWebSetting *HttpServerSettingS DocsServerSetting *HttpServerSettingS MobileServerSetting *GRPCServerSettingS AppSetting *AppSettingS CacheIndexSetting *CacheIndexSettingS SimpleCacheIndexSetting *SimpleCacheIndexSettingS BigCacheIndexSetting *BigCacheIndexSettingS SmsJuheSetting *SmsJuheSettings AlipaySetting *AlipaySettingS TweetSearchSetting *TweetSearchS ZincSetting *ZincSettingS MeiliSetting *MeiliSettingS ObjectStorage *ObjectStorageS AliOSSSetting *AliOSSSettingS COSSetting *COSSettingS HuaweiOBSSetting *HuaweiOBSSettingS MinIOSetting *MinIOSettingS S3Setting *S3SettingS LocalOSSSetting *LocalOSSSettingS JWTSetting *JWTSettingS Mutex *sync.Mutex )
View Source
var (
Redis *redis.Client
)
Functions ¶
Types ¶
type AliOSSSettingS ¶
type AlipaySettingS ¶
type AppSettingS ¶
type BigCacheIndexSettingS ¶
type COSSettingS ¶
type HttpServerSettingS ¶
type HttpServerSettingS struct { RunMode string HttpIp string HttpPort string ReadTimeout time.Duration WriteTimeout time.Duration }
func (*HttpServerSettingS) GetReadTimeout ¶
func (s *HttpServerSettingS) GetReadTimeout() time.Duration
func (*HttpServerSettingS) GetWriteTimeout ¶
func (s *HttpServerSettingS) GetWriteTimeout() time.Duration
type HuaweiOBSSettingS ¶
type LocalOSSSettingS ¶
type LoggerFileSettingS ¶
type LoggerMeiliSettingS ¶
type LoggerMeiliSettingS struct { Host string Index string ApiKey string Secure bool MaxLogBuffer int MinWorker int }
func (*LoggerMeiliSettingS) Endpoint ¶
func (s *LoggerMeiliSettingS) Endpoint() string
type LoggerZincSettingS ¶
func (*LoggerZincSettingS) Endpoint ¶
func (s *LoggerZincSettingS) Endpoint() string
type MeiliSettingS ¶
func (*MeiliSettingS) Endpoint ¶
func (s *MeiliSettingS) Endpoint() string
type MinIOSettingS ¶
type MySQLSettingS ¶
type MySQLSettingS struct { UserName string Password string Host string DBName string Charset string ParseTime bool MaxIdleConns int MaxOpenConns int }
func (*MySQLSettingS) Dsn ¶
func (s *MySQLSettingS) Dsn() string
type ObjectStorageS ¶
func (*ObjectStorageS) TempDirSlash ¶
func (s *ObjectStorageS) TempDirSlash() string
type PostgresSettingS ¶
func (PostgresSettingS) Dsn ¶
func (s PostgresSettingS) Dsn() string
type PyroscopeSettingS ¶
func (*PyroscopeSettingS) GetLogger ¶
func (s *PyroscopeSettingS) GetLogger() (logger pyroscope.Logger)
type S3SettingS ¶
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
type SimpleCacheIndexSettingS ¶
type SmsJuheSettings ¶
Click to show internal directories.
Click to hide internal directories.