feat: UploadImage is written
This commit is contained in:
parent
9affe90988
commit
858818c17e
4 changed files with 121 additions and 34 deletions
|
|
@ -1,11 +1,12 @@
|
|||
package main
|
||||
|
||||
type Config struct {
|
||||
Mode string
|
||||
ServiceAddress string `toml:"ServiceAddress" env:"SERVICE_ADDRESS"`
|
||||
DdUrl string `toml:"DbUrl" env:"DATABASE_URL"`
|
||||
JwtPrivateKey string `toml:"JwtPrivateKey" env:"JWT_PRIVATE_KEY"`
|
||||
LogLevel string `toml:"LogLevel" env:"LOG_LEVEL"`
|
||||
RmqURL string `toml:"RabbitMQUrl" env:"RABBITMQ_URL"`
|
||||
AuthEnabled string `toml:"AuthEnabled" env:"AUTH_ENABLED"`
|
||||
Mode string
|
||||
ServiceAddress string `toml:"ServiceAddress" env:"SERVICE_ADDRESS"`
|
||||
DdUrl string `toml:"DbUrl" env:"DATABASE_URL"`
|
||||
JwtPrivateKey string `toml:"JwtPrivateKey" env:"JWT_PRIVATE_KEY"`
|
||||
LogLevel string `toml:"LogLevel" env:"LOG_LEVEL"`
|
||||
RmqURL string `toml:"RabbitMQUrl" env:"RABBITMQ_URL"`
|
||||
AuthEnabled string `toml:"AuthEnabled" env:"AUTH_ENABLED"`
|
||||
ImageServerSocket string `toml:"ImageServerSocket" env:"IMAGES_BASE_URL"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue