core/config.go

28 lines
500 B
Go
Raw Normal View History

2024-09-12 18:13:16 -04:00
// Copyright 2021 Harran Ali <harran.m@gmail.com>. All rights reserved.
// Copyright (c) 2024 Zeni Kim <zenik@smarteching.com>
// Use of this source code is governed by MIT-style
// license that can be found in the LICENSE file.
package core
type EnvFileConfig struct {
UseDotEnvFile bool
}
type RequestConfig struct {
MaxUploadFileSize int
}
type JWTConfig struct {
SecretKey string
Lifetime int
}
type GormConfig struct {
EnableGorm bool
}
type CacheConfig struct {
EnableCache bool
}