27 lines
532 B
Go

// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package config
import (
"github.com/zero-ppanel/zero-ppanel/pkg/signature"
"github.com/zeromicro/go-zero/core/stores/redis"
"github.com/zeromicro/go-zero/rest"
"github.com/zeromicro/go-zero/zrpc"
)
type Config struct {
rest.RestConf
JwtAuth struct {
AccessSecret string
AccessExpire int64
}
CoreRpc zrpc.RpcClientConf
CacheRedis redis.RedisConf
AppSignature signature.SignatureConf
Security struct {
Enable bool
SecuritySecret string
}
}