package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/zrpc"
)

type JwtConfig struct {
	SecretKey string `json:"secretKey"`
	Issuer    string `json:"issuer"`
}

type Config struct {
	zrpc.RpcServerConf
	DB struct {
		Master string
		Slave  string
	}
	CacheConf        cache.CacheConf
	Jwt              JwtConfig `json:"jwt"`
	SnowflakeRpcConf zrpc.RpcClientConf
}
