migrate from github

This commit is contained in:
2026-07-15 22:42:31 +08:00
commit 3ad559f05e
262 changed files with 21637 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
package storage
type PostgresOptions struct {
Host string
Port int
User string
Password string
Name string
MaxIdleConns int
MaxOpenConns int
GormLogLevel string
}
type RedisOptions struct {
Host string
Port int
Password string
DB int
}
type MinioOptions struct {
Endpoint string
AccessKey string
SecretKey string
UseSSL bool
}
type ElasticsearchOptions struct {
Enabled bool
Addresses []string
Username string
Password string
Timeout int
}
type ConsulOptions struct {
Enabled bool
Address string
Scheme string
Token string
Datacenter string
Prefix string
}