initial commit
This commit is contained in:
14
user/internal/config/config.go
Normal file
14
user/internal/config/config.go
Normal file
@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
import "github.com/zeromicro/go-zero/zrpc"
|
||||
|
||||
type JwtAuth struct {
|
||||
AccessSecret string
|
||||
AccessExpire int64
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
zrpc.RpcServerConf
|
||||
DataSource string
|
||||
JwtAuth JwtAuth
|
||||
}
|
||||
Reference in New Issue
Block a user