27 lines
458 B
Go
27 lines
458 B
Go
// Code scaffolded by goctl. Safe to edit.
|
|
// goctl 1.10.1
|
|
|
|
package config
|
|
|
|
import (
|
|
"github.com/zeromicro/go-zero/rest"
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
)
|
|
|
|
type Config struct {
|
|
rest.RestConf
|
|
Auth struct {
|
|
AccessSecret string
|
|
AccessExpire int64
|
|
}
|
|
FileRpc zrpc.RpcClientConf
|
|
Minio struct {
|
|
Endpoint string
|
|
AccessKeyId string
|
|
AccessKeySecret string
|
|
BucketName string
|
|
BucketUrl string
|
|
UseSsl bool
|
|
}
|
|
}
|