initial commits 2
This commit is contained in:
parent
5475b7dd26
commit
7f38826b9c
39 changed files with 4525 additions and 0 deletions
27
config.go
Normal file
27
config.go
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
// 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue