2024-08-28 09:09:01 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import "github.com/zeromicro/go-zero/zrpc"
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
zrpc.RpcServerConf
|
2024-09-01 13:49:28 +00:00
|
|
|
|
2024-08-30 07:08:43 +00:00
|
|
|
Mongo struct {
|
|
|
|
Schema string
|
|
|
|
User string
|
|
|
|
Password string
|
|
|
|
Host string
|
|
|
|
Port string
|
|
|
|
Database string
|
|
|
|
}
|
2024-09-01 13:49:28 +00:00
|
|
|
|
|
|
|
TimelineSetting struct {
|
|
|
|
Expire int64 // Second
|
|
|
|
MaxLength int64 // 暫存筆數
|
|
|
|
}
|
2024-08-28 09:09:01 +00:00
|
|
|
}
|