kra/internal/conf/conf.pb.go

1697 lines
48 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v5.28.3
// source: conf.proto
package conf
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
durationpb "google.golang.org/protobuf/types/known/durationpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Bootstrap struct {
state protoimpl.MessageState `protogen:"open.v1"`
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Jwt *JWT `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt,omitempty"`
Casbin *Casbin `protobuf:"bytes,4,opt,name=casbin,proto3" json:"casbin,omitempty"`
Captcha *Captcha `protobuf:"bytes,5,opt,name=captcha,proto3" json:"captcha,omitempty"`
Upload *Upload `protobuf:"bytes,6,opt,name=upload,proto3" json:"upload,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Bootstrap) Reset() {
*x = Bootstrap{}
mi := &file_conf_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Bootstrap) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Bootstrap) ProtoMessage() {}
func (x *Bootstrap) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.
func (*Bootstrap) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{0}
}
func (x *Bootstrap) GetServer() *Server {
if x != nil {
return x.Server
}
return nil
}
func (x *Bootstrap) GetData() *Data {
if x != nil {
return x.Data
}
return nil
}
func (x *Bootstrap) GetJwt() *JWT {
if x != nil {
return x.Jwt
}
return nil
}
func (x *Bootstrap) GetCasbin() *Casbin {
if x != nil {
return x.Casbin
}
return nil
}
func (x *Bootstrap) GetCaptcha() *Captcha {
if x != nil {
return x.Captcha
}
return nil
}
func (x *Bootstrap) GetUpload() *Upload {
if x != nil {
return x.Upload
}
return nil
}
type Server struct {
state protoimpl.MessageState `protogen:"open.v1"`
Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Server) Reset() {
*x = Server{}
mi := &file_conf_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Server) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server) ProtoMessage() {}
func (x *Server) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Server.ProtoReflect.Descriptor instead.
func (*Server) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{1}
}
func (x *Server) GetHttp() *Server_HTTP {
if x != nil {
return x.Http
}
return nil
}
func (x *Server) GetGrpc() *Server_GRPC {
if x != nil {
return x.Grpc
}
return nil
}
type Data struct {
state protoimpl.MessageState `protogen:"open.v1"`
Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
Redis *Data_Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Data) Reset() {
*x = Data{}
mi := &file_conf_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Data) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Data) ProtoMessage() {}
func (x *Data) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Data.ProtoReflect.Descriptor instead.
func (*Data) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{2}
}
func (x *Data) GetDatabase() *Data_Database {
if x != nil {
return x.Database
}
return nil
}
func (x *Data) GetRedis() *Data_Redis {
if x != nil {
return x.Redis
}
return nil
}
type JWT struct {
state protoimpl.MessageState `protogen:"open.v1"`
SigningKey string `protobuf:"bytes,1,opt,name=signing_key,json=signingKey,proto3" json:"signing_key,omitempty"`
ExpiresTime string `protobuf:"bytes,2,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"`
BufferTime string `protobuf:"bytes,3,opt,name=buffer_time,json=bufferTime,proto3" json:"buffer_time,omitempty"`
Issuer string `protobuf:"bytes,4,opt,name=issuer,proto3" json:"issuer,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *JWT) Reset() {
*x = JWT{}
mi := &file_conf_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *JWT) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JWT) ProtoMessage() {}
func (x *JWT) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use JWT.ProtoReflect.Descriptor instead.
func (*JWT) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{3}
}
func (x *JWT) GetSigningKey() string {
if x != nil {
return x.SigningKey
}
return ""
}
func (x *JWT) GetExpiresTime() string {
if x != nil {
return x.ExpiresTime
}
return ""
}
func (x *JWT) GetBufferTime() string {
if x != nil {
return x.BufferTime
}
return ""
}
func (x *JWT) GetIssuer() string {
if x != nil {
return x.Issuer
}
return ""
}
type Casbin struct {
state protoimpl.MessageState `protogen:"open.v1"`
ModelPath string `protobuf:"bytes,1,opt,name=model_path,json=modelPath,proto3" json:"model_path,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Casbin) Reset() {
*x = Casbin{}
mi := &file_conf_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Casbin) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Casbin) ProtoMessage() {}
func (x *Casbin) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Casbin.ProtoReflect.Descriptor instead.
func (*Casbin) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{4}
}
func (x *Casbin) GetModelPath() string {
if x != nil {
return x.ModelPath
}
return ""
}
type Captcha struct {
state protoimpl.MessageState `protogen:"open.v1"`
KeyLong int32 `protobuf:"varint,1,opt,name=key_long,json=keyLong,proto3" json:"key_long,omitempty"`
ImgWidth int32 `protobuf:"varint,2,opt,name=img_width,json=imgWidth,proto3" json:"img_width,omitempty"`
ImgHeight int32 `protobuf:"varint,3,opt,name=img_height,json=imgHeight,proto3" json:"img_height,omitempty"`
OpenCaptcha int32 `protobuf:"varint,4,opt,name=open_captcha,json=openCaptcha,proto3" json:"open_captcha,omitempty"`
OpenCaptchaTimeout int32 `protobuf:"varint,5,opt,name=open_captcha_timeout,json=openCaptchaTimeout,proto3" json:"open_captcha_timeout,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Captcha) Reset() {
*x = Captcha{}
mi := &file_conf_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Captcha) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Captcha) ProtoMessage() {}
func (x *Captcha) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Captcha.ProtoReflect.Descriptor instead.
func (*Captcha) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{5}
}
func (x *Captcha) GetKeyLong() int32 {
if x != nil {
return x.KeyLong
}
return 0
}
func (x *Captcha) GetImgWidth() int32 {
if x != nil {
return x.ImgWidth
}
return 0
}
func (x *Captcha) GetImgHeight() int32 {
if x != nil {
return x.ImgHeight
}
return 0
}
func (x *Captcha) GetOpenCaptcha() int32 {
if x != nil {
return x.OpenCaptcha
}
return 0
}
func (x *Captcha) GetOpenCaptchaTimeout() int32 {
if x != nil {
return x.OpenCaptchaTimeout
}
return 0
}
type Upload struct {
state protoimpl.MessageState `protogen:"open.v1"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
MaxSize int64 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
Local *Upload_Local `protobuf:"bytes,4,opt,name=local,proto3" json:"local,omitempty"`
Aliyun *Upload_Aliyun `protobuf:"bytes,5,opt,name=aliyun,proto3" json:"aliyun,omitempty"`
Tencent *Upload_Tencent `protobuf:"bytes,6,opt,name=tencent,proto3" json:"tencent,omitempty"`
Qiniu *Upload_Qiniu `protobuf:"bytes,7,opt,name=qiniu,proto3" json:"qiniu,omitempty"`
Minio *Upload_Minio `protobuf:"bytes,8,opt,name=minio,proto3" json:"minio,omitempty"`
AwsS3 *Upload_AwsS3 `protobuf:"bytes,9,opt,name=aws_s3,json=awsS3,proto3" json:"aws_s3,omitempty"`
HuaweiObs *Upload_HuaweiObs `protobuf:"bytes,10,opt,name=huawei_obs,json=huaweiObs,proto3" json:"huawei_obs,omitempty"`
CloudflareR2 *Upload_CloudflareR2 `protobuf:"bytes,11,opt,name=cloudflare_r2,json=cloudflareR2,proto3" json:"cloudflare_r2,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload) Reset() {
*x = Upload{}
mi := &file_conf_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload) ProtoMessage() {}
func (x *Upload) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload.ProtoReflect.Descriptor instead.
func (*Upload) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6}
}
func (x *Upload) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Upload) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Upload) GetMaxSize() int64 {
if x != nil {
return x.MaxSize
}
return 0
}
func (x *Upload) GetLocal() *Upload_Local {
if x != nil {
return x.Local
}
return nil
}
func (x *Upload) GetAliyun() *Upload_Aliyun {
if x != nil {
return x.Aliyun
}
return nil
}
func (x *Upload) GetTencent() *Upload_Tencent {
if x != nil {
return x.Tencent
}
return nil
}
func (x *Upload) GetQiniu() *Upload_Qiniu {
if x != nil {
return x.Qiniu
}
return nil
}
func (x *Upload) GetMinio() *Upload_Minio {
if x != nil {
return x.Minio
}
return nil
}
func (x *Upload) GetAwsS3() *Upload_AwsS3 {
if x != nil {
return x.AwsS3
}
return nil
}
func (x *Upload) GetHuaweiObs() *Upload_HuaweiObs {
if x != nil {
return x.HuaweiObs
}
return nil
}
func (x *Upload) GetCloudflareR2() *Upload_CloudflareR2 {
if x != nil {
return x.CloudflareR2
}
return nil
}
type Server_HTTP struct {
state protoimpl.MessageState `protogen:"open.v1"`
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Server_HTTP) Reset() {
*x = Server_HTTP{}
mi := &file_conf_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Server_HTTP) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_HTTP) ProtoMessage() {}
func (x *Server_HTTP) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
func (*Server_HTTP) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{1, 0}
}
func (x *Server_HTTP) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_HTTP) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_HTTP) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
type Server_GRPC struct {
state protoimpl.MessageState `protogen:"open.v1"`
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Server_GRPC) Reset() {
*x = Server_GRPC{}
mi := &file_conf_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Server_GRPC) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Server_GRPC) ProtoMessage() {}
func (x *Server_GRPC) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
func (*Server_GRPC) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{1, 1}
}
func (x *Server_GRPC) GetNetwork() string {
if x != nil {
return x.Network
}
return ""
}
func (x *Server_GRPC) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Server_GRPC) GetTimeout() *durationpb.Duration {
if x != nil {
return x.Timeout
}
return nil
}
type Data_Database struct {
state protoimpl.MessageState `protogen:"open.v1"`
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
TablePrefix string `protobuf:"bytes,3,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"`
MaxIdleConns int32 `protobuf:"varint,4,opt,name=max_idle_conns,json=maxIdleConns,proto3" json:"max_idle_conns,omitempty"`
MaxOpenConns int32 `protobuf:"varint,5,opt,name=max_open_conns,json=maxOpenConns,proto3" json:"max_open_conns,omitempty"`
MaxLifetime int32 `protobuf:"varint,6,opt,name=max_lifetime,json=maxLifetime,proto3" json:"max_lifetime,omitempty"`
LogMode bool `protobuf:"varint,7,opt,name=log_mode,json=logMode,proto3" json:"log_mode,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Data_Database) Reset() {
*x = Data_Database{}
mi := &file_conf_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Data_Database) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Data_Database) ProtoMessage() {}
func (x *Data_Database) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
func (*Data_Database) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{2, 0}
}
func (x *Data_Database) GetDriver() string {
if x != nil {
return x.Driver
}
return ""
}
func (x *Data_Database) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *Data_Database) GetTablePrefix() string {
if x != nil {
return x.TablePrefix
}
return ""
}
func (x *Data_Database) GetMaxIdleConns() int32 {
if x != nil {
return x.MaxIdleConns
}
return 0
}
func (x *Data_Database) GetMaxOpenConns() int32 {
if x != nil {
return x.MaxOpenConns
}
return 0
}
func (x *Data_Database) GetMaxLifetime() int32 {
if x != nil {
return x.MaxLifetime
}
return 0
}
func (x *Data_Database) GetLogMode() bool {
if x != nil {
return x.LogMode
}
return false
}
type Data_Redis struct {
state protoimpl.MessageState `protogen:"open.v1"`
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`
UseCluster bool `protobuf:"varint,4,opt,name=use_cluster,json=useCluster,proto3" json:"use_cluster,omitempty"`
ClusterAddrs []string `protobuf:"bytes,5,rep,name=cluster_addrs,json=clusterAddrs,proto3" json:"cluster_addrs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Data_Redis) Reset() {
*x = Data_Redis{}
mi := &file_conf_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Data_Redis) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Data_Redis) ProtoMessage() {}
func (x *Data_Redis) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.
func (*Data_Redis) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{2, 1}
}
func (x *Data_Redis) GetAddr() string {
if x != nil {
return x.Addr
}
return ""
}
func (x *Data_Redis) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *Data_Redis) GetDb() int32 {
if x != nil {
return x.Db
}
return 0
}
func (x *Data_Redis) GetUseCluster() bool {
if x != nil {
return x.UseCluster
}
return false
}
func (x *Data_Redis) GetClusterAddrs() []string {
if x != nil {
return x.ClusterAddrs
}
return nil
}
type Upload_Local struct {
state protoimpl.MessageState `protogen:"open.v1"`
StorePath string `protobuf:"bytes,1,opt,name=store_path,json=storePath,proto3" json:"store_path,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_Local) Reset() {
*x = Upload_Local{}
mi := &file_conf_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_Local) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_Local) ProtoMessage() {}
func (x *Upload_Local) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_Local.ProtoReflect.Descriptor instead.
func (*Upload_Local) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 0}
}
func (x *Upload_Local) GetStorePath() string {
if x != nil {
return x.StorePath
}
return ""
}
type Upload_Aliyun struct {
state protoimpl.MessageState `protogen:"open.v1"`
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
AccessKeyId string `protobuf:"bytes,2,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
AccessKeySecret string `protobuf:"bytes,3,opt,name=access_key_secret,json=accessKeySecret,proto3" json:"access_key_secret,omitempty"`
BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
BucketUrl string `protobuf:"bytes,5,opt,name=bucket_url,json=bucketUrl,proto3" json:"bucket_url,omitempty"`
BasePath string `protobuf:"bytes,6,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_Aliyun) Reset() {
*x = Upload_Aliyun{}
mi := &file_conf_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_Aliyun) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_Aliyun) ProtoMessage() {}
func (x *Upload_Aliyun) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_Aliyun.ProtoReflect.Descriptor instead.
func (*Upload_Aliyun) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 1}
}
func (x *Upload_Aliyun) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Upload_Aliyun) GetAccessKeyId() string {
if x != nil {
return x.AccessKeyId
}
return ""
}
func (x *Upload_Aliyun) GetAccessKeySecret() string {
if x != nil {
return x.AccessKeySecret
}
return ""
}
func (x *Upload_Aliyun) GetBucketName() string {
if x != nil {
return x.BucketName
}
return ""
}
func (x *Upload_Aliyun) GetBucketUrl() string {
if x != nil {
return x.BucketUrl
}
return ""
}
func (x *Upload_Aliyun) GetBasePath() string {
if x != nil {
return x.BasePath
}
return ""
}
type Upload_Tencent struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
SecretId string `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
SecretKey string `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
BaseUrl string `protobuf:"bytes,5,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
PathPrefix string `protobuf:"bytes,6,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_Tencent) Reset() {
*x = Upload_Tencent{}
mi := &file_conf_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_Tencent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_Tencent) ProtoMessage() {}
func (x *Upload_Tencent) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_Tencent.ProtoReflect.Descriptor instead.
func (*Upload_Tencent) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 2}
}
func (x *Upload_Tencent) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Upload_Tencent) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *Upload_Tencent) GetSecretId() string {
if x != nil {
return x.SecretId
}
return ""
}
func (x *Upload_Tencent) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
func (x *Upload_Tencent) GetBaseUrl() string {
if x != nil {
return x.BaseUrl
}
return ""
}
func (x *Upload_Tencent) GetPathPrefix() string {
if x != nil {
return x.PathPrefix
}
return ""
}
type Upload_Qiniu struct {
state protoimpl.MessageState `protogen:"open.v1"`
Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
ImgPath string `protobuf:"bytes,3,opt,name=img_path,json=imgPath,proto3" json:"img_path,omitempty"`
AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
UseHttps bool `protobuf:"varint,6,opt,name=use_https,json=useHttps,proto3" json:"use_https,omitempty"`
UseCdnDomains bool `protobuf:"varint,7,opt,name=use_cdn_domains,json=useCdnDomains,proto3" json:"use_cdn_domains,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_Qiniu) Reset() {
*x = Upload_Qiniu{}
mi := &file_conf_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_Qiniu) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_Qiniu) ProtoMessage() {}
func (x *Upload_Qiniu) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_Qiniu.ProtoReflect.Descriptor instead.
func (*Upload_Qiniu) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 3}
}
func (x *Upload_Qiniu) GetZone() string {
if x != nil {
return x.Zone
}
return ""
}
func (x *Upload_Qiniu) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Upload_Qiniu) GetImgPath() string {
if x != nil {
return x.ImgPath
}
return ""
}
func (x *Upload_Qiniu) GetAccessKey() string {
if x != nil {
return x.AccessKey
}
return ""
}
func (x *Upload_Qiniu) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
func (x *Upload_Qiniu) GetUseHttps() bool {
if x != nil {
return x.UseHttps
}
return false
}
func (x *Upload_Qiniu) GetUseCdnDomains() bool {
if x != nil {
return x.UseCdnDomains
}
return false
}
type Upload_Minio struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
BasePath string `protobuf:"bytes,5,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
UseSsl bool `protobuf:"varint,6,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_Minio) Reset() {
*x = Upload_Minio{}
mi := &file_conf_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_Minio) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_Minio) ProtoMessage() {}
func (x *Upload_Minio) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_Minio.ProtoReflect.Descriptor instead.
func (*Upload_Minio) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 4}
}
func (x *Upload_Minio) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Upload_Minio) GetSecret() string {
if x != nil {
return x.Secret
}
return ""
}
func (x *Upload_Minio) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Upload_Minio) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Upload_Minio) GetBasePath() string {
if x != nil {
return x.BasePath
}
return ""
}
func (x *Upload_Minio) GetUseSsl() bool {
if x != nil {
return x.UseSsl
}
return false
}
type Upload_AwsS3 struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
SecretId string `protobuf:"bytes,4,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
BaseUrl string `protobuf:"bytes,6,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
PathPrefix string `protobuf:"bytes,7,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
S3ForcePathStyle bool `protobuf:"varint,8,opt,name=s3_force_path_style,json=s3ForcePathStyle,proto3" json:"s3_force_path_style,omitempty"`
DisableSsl bool `protobuf:"varint,9,opt,name=disable_ssl,json=disableSsl,proto3" json:"disable_ssl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_AwsS3) Reset() {
*x = Upload_AwsS3{}
mi := &file_conf_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_AwsS3) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_AwsS3) ProtoMessage() {}
func (x *Upload_AwsS3) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_AwsS3.ProtoReflect.Descriptor instead.
func (*Upload_AwsS3) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 5}
}
func (x *Upload_AwsS3) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Upload_AwsS3) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
func (x *Upload_AwsS3) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Upload_AwsS3) GetSecretId() string {
if x != nil {
return x.SecretId
}
return ""
}
func (x *Upload_AwsS3) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
func (x *Upload_AwsS3) GetBaseUrl() string {
if x != nil {
return x.BaseUrl
}
return ""
}
func (x *Upload_AwsS3) GetPathPrefix() string {
if x != nil {
return x.PathPrefix
}
return ""
}
func (x *Upload_AwsS3) GetS3ForcePathStyle() bool {
if x != nil {
return x.S3ForcePathStyle
}
return false
}
func (x *Upload_AwsS3) GetDisableSsl() bool {
if x != nil {
return x.DisableSsl
}
return false
}
type Upload_HuaweiObs struct {
state protoimpl.MessageState `protogen:"open.v1"`
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
SecretKey string `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_HuaweiObs) Reset() {
*x = Upload_HuaweiObs{}
mi := &file_conf_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_HuaweiObs) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_HuaweiObs) ProtoMessage() {}
func (x *Upload_HuaweiObs) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_HuaweiObs.ProtoReflect.Descriptor instead.
func (*Upload_HuaweiObs) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 6}
}
func (x *Upload_HuaweiObs) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Upload_HuaweiObs) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Upload_HuaweiObs) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Upload_HuaweiObs) GetAccessKey() string {
if x != nil {
return x.AccessKey
}
return ""
}
func (x *Upload_HuaweiObs) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
type Upload_CloudflareR2 struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
BaseUrl string `protobuf:"bytes,2,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
AccountId string `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
AccessKeyId string `protobuf:"bytes,5,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
SecretAccessKey string `protobuf:"bytes,6,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Upload_CloudflareR2) Reset() {
*x = Upload_CloudflareR2{}
mi := &file_conf_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Upload_CloudflareR2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Upload_CloudflareR2) ProtoMessage() {}
func (x *Upload_CloudflareR2) ProtoReflect() protoreflect.Message {
mi := &file_conf_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Upload_CloudflareR2.ProtoReflect.Descriptor instead.
func (*Upload_CloudflareR2) Descriptor() ([]byte, []int) {
return file_conf_proto_rawDescGZIP(), []int{6, 7}
}
func (x *Upload_CloudflareR2) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
func (x *Upload_CloudflareR2) GetBaseUrl() string {
if x != nil {
return x.BaseUrl
}
return ""
}
func (x *Upload_CloudflareR2) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *Upload_CloudflareR2) GetAccountId() string {
if x != nil {
return x.AccountId
}
return ""
}
func (x *Upload_CloudflareR2) GetAccessKeyId() string {
if x != nil {
return x.AccessKeyId
}
return ""
}
func (x *Upload_CloudflareR2) GetSecretAccessKey() string {
if x != nil {
return x.SecretAccessKey
}
return ""
}
var File_conf_proto protoreflect.FileDescriptor
const file_conf_proto_rawDesc = "" +
"\n" +
"\n" +
"conf.proto\x12\n" +
"kratos.api\x1a\x1egoogle/protobuf/duration.proto\"\x87\x02\n" +
"\tBootstrap\x12*\n" +
"\x06server\x18\x01 \x01(\v2\x12.kratos.api.ServerR\x06server\x12$\n" +
"\x04data\x18\x02 \x01(\v2\x10.kratos.api.DataR\x04data\x12!\n" +
"\x03jwt\x18\x03 \x01(\v2\x0f.kratos.api.JWTR\x03jwt\x12*\n" +
"\x06casbin\x18\x04 \x01(\v2\x12.kratos.api.CasbinR\x06casbin\x12-\n" +
"\acaptcha\x18\x05 \x01(\v2\x13.kratos.api.CaptchaR\acaptcha\x12*\n" +
"\x06upload\x18\x06 \x01(\v2\x12.kratos.api.UploadR\x06upload\"\xb8\x02\n" +
"\x06Server\x12+\n" +
"\x04http\x18\x01 \x01(\v2\x17.kratos.api.Server.HTTPR\x04http\x12+\n" +
"\x04grpc\x18\x02 \x01(\v2\x17.kratos.api.Server.GRPCR\x04grpc\x1ai\n" +
"\x04HTTP\x12\x18\n" +
"\anetwork\x18\x01 \x01(\tR\anetwork\x12\x12\n" +
"\x04addr\x18\x02 \x01(\tR\x04addr\x123\n" +
"\atimeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\atimeout\x1ai\n" +
"\x04GRPC\x12\x18\n" +
"\anetwork\x18\x01 \x01(\tR\anetwork\x12\x12\n" +
"\x04addr\x18\x02 \x01(\tR\x04addr\x123\n" +
"\atimeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\atimeout\"\xe5\x03\n" +
"\x04Data\x125\n" +
"\bdatabase\x18\x01 \x01(\v2\x19.kratos.api.Data.DatabaseR\bdatabase\x12,\n" +
"\x05redis\x18\x02 \x01(\v2\x16.kratos.api.Data.RedisR\x05redis\x1a\xe7\x01\n" +
"\bDatabase\x12\x16\n" +
"\x06driver\x18\x01 \x01(\tR\x06driver\x12\x16\n" +
"\x06source\x18\x02 \x01(\tR\x06source\x12!\n" +
"\ftable_prefix\x18\x03 \x01(\tR\vtablePrefix\x12$\n" +
"\x0emax_idle_conns\x18\x04 \x01(\x05R\fmaxIdleConns\x12$\n" +
"\x0emax_open_conns\x18\x05 \x01(\x05R\fmaxOpenConns\x12!\n" +
"\fmax_lifetime\x18\x06 \x01(\x05R\vmaxLifetime\x12\x19\n" +
"\blog_mode\x18\a \x01(\bR\alogMode\x1a\x8d\x01\n" +
"\x05Redis\x12\x12\n" +
"\x04addr\x18\x01 \x01(\tR\x04addr\x12\x1a\n" +
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x0e\n" +
"\x02db\x18\x03 \x01(\x05R\x02db\x12\x1f\n" +
"\vuse_cluster\x18\x04 \x01(\bR\n" +
"useCluster\x12#\n" +
"\rcluster_addrs\x18\x05 \x03(\tR\fclusterAddrs\"\x82\x01\n" +
"\x03JWT\x12\x1f\n" +
"\vsigning_key\x18\x01 \x01(\tR\n" +
"signingKey\x12!\n" +
"\fexpires_time\x18\x02 \x01(\tR\vexpiresTime\x12\x1f\n" +
"\vbuffer_time\x18\x03 \x01(\tR\n" +
"bufferTime\x12\x16\n" +
"\x06issuer\x18\x04 \x01(\tR\x06issuer\"'\n" +
"\x06Casbin\x12\x1d\n" +
"\n" +
"model_path\x18\x01 \x01(\tR\tmodelPath\"\xb5\x01\n" +
"\aCaptcha\x12\x19\n" +
"\bkey_long\x18\x01 \x01(\x05R\akeyLong\x12\x1b\n" +
"\timg_width\x18\x02 \x01(\x05R\bimgWidth\x12\x1d\n" +
"\n" +
"img_height\x18\x03 \x01(\x05R\timgHeight\x12!\n" +
"\fopen_captcha\x18\x04 \x01(\x05R\vopenCaptcha\x120\n" +
"\x14open_captcha_timeout\x18\x05 \x01(\x05R\x12openCaptchaTimeout\"\x91\x0f\n" +
"\x06Upload\x12\x12\n" +
"\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n" +
"\x04path\x18\x02 \x01(\tR\x04path\x12\x19\n" +
"\bmax_size\x18\x03 \x01(\x03R\amaxSize\x12.\n" +
"\x05local\x18\x04 \x01(\v2\x18.kratos.api.Upload.LocalR\x05local\x121\n" +
"\x06aliyun\x18\x05 \x01(\v2\x19.kratos.api.Upload.AliyunR\x06aliyun\x124\n" +
"\atencent\x18\x06 \x01(\v2\x1a.kratos.api.Upload.TencentR\atencent\x12.\n" +
"\x05qiniu\x18\a \x01(\v2\x18.kratos.api.Upload.QiniuR\x05qiniu\x12.\n" +
"\x05minio\x18\b \x01(\v2\x18.kratos.api.Upload.MinioR\x05minio\x12/\n" +
"\x06aws_s3\x18\t \x01(\v2\x18.kratos.api.Upload.AwsS3R\x05awsS3\x12;\n" +
"\n" +
"huawei_obs\x18\n" +
" \x01(\v2\x1c.kratos.api.Upload.HuaweiObsR\thuaweiObs\x12D\n" +
"\rcloudflare_r2\x18\v \x01(\v2\x1f.kratos.api.Upload.CloudflareR2R\fcloudflareR2\x1a&\n" +
"\x05Local\x12\x1d\n" +
"\n" +
"store_path\x18\x01 \x01(\tR\tstorePath\x1a\xd1\x01\n" +
"\x06Aliyun\x12\x1a\n" +
"\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\"\n" +
"\raccess_key_id\x18\x02 \x01(\tR\vaccessKeyId\x12*\n" +
"\x11access_key_secret\x18\x03 \x01(\tR\x0faccessKeySecret\x12\x1f\n" +
"\vbucket_name\x18\x04 \x01(\tR\n" +
"bucketName\x12\x1d\n" +
"\n" +
"bucket_url\x18\x05 \x01(\tR\tbucketUrl\x12\x1b\n" +
"\tbase_path\x18\x06 \x01(\tR\bbasePath\x1a\xb1\x01\n" +
"\aTencent\x12\x16\n" +
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x16\n" +
"\x06region\x18\x02 \x01(\tR\x06region\x12\x1b\n" +
"\tsecret_id\x18\x03 \x01(\tR\bsecretId\x12\x1d\n" +
"\n" +
"secret_key\x18\x04 \x01(\tR\tsecretKey\x12\x19\n" +
"\bbase_url\x18\x05 \x01(\tR\abaseUrl\x12\x1f\n" +
"\vpath_prefix\x18\x06 \x01(\tR\n" +
"pathPrefix\x1a\xd1\x01\n" +
"\x05Qiniu\x12\x12\n" +
"\x04zone\x18\x01 \x01(\tR\x04zone\x12\x16\n" +
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x19\n" +
"\bimg_path\x18\x03 \x01(\tR\aimgPath\x12\x1d\n" +
"\n" +
"access_key\x18\x04 \x01(\tR\taccessKey\x12\x1d\n" +
"\n" +
"secret_key\x18\x05 \x01(\tR\tsecretKey\x12\x1b\n" +
"\tuse_https\x18\x06 \x01(\bR\buseHttps\x12&\n" +
"\x0fuse_cdn_domains\x18\a \x01(\bR\ruseCdnDomains\x1a\x99\x01\n" +
"\x05Minio\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
"\x06secret\x18\x02 \x01(\tR\x06secret\x12\x16\n" +
"\x06bucket\x18\x03 \x01(\tR\x06bucket\x12\x1a\n" +
"\bendpoint\x18\x04 \x01(\tR\bendpoint\x12\x1b\n" +
"\tbase_path\x18\x05 \x01(\tR\bbasePath\x12\x17\n" +
"\ause_ssl\x18\x06 \x01(\bR\x06useSsl\x1a\x9b\x02\n" +
"\x05AwsS3\x12\x16\n" +
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x16\n" +
"\x06region\x18\x02 \x01(\tR\x06region\x12\x1a\n" +
"\bendpoint\x18\x03 \x01(\tR\bendpoint\x12\x1b\n" +
"\tsecret_id\x18\x04 \x01(\tR\bsecretId\x12\x1d\n" +
"\n" +
"secret_key\x18\x05 \x01(\tR\tsecretKey\x12\x19\n" +
"\bbase_url\x18\x06 \x01(\tR\abaseUrl\x12\x1f\n" +
"\vpath_prefix\x18\a \x01(\tR\n" +
"pathPrefix\x12-\n" +
"\x13s3_force_path_style\x18\b \x01(\bR\x10s3ForcePathStyle\x12\x1f\n" +
"\vdisable_ssl\x18\t \x01(\bR\n" +
"disableSsl\x1a\x91\x01\n" +
"\tHuaweiObs\x12\x12\n" +
"\x04path\x18\x01 \x01(\tR\x04path\x12\x16\n" +
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x1a\n" +
"\bendpoint\x18\x03 \x01(\tR\bendpoint\x12\x1d\n" +
"\n" +
"access_key\x18\x04 \x01(\tR\taccessKey\x12\x1d\n" +
"\n" +
"secret_key\x18\x05 \x01(\tR\tsecretKey\x1a\xc4\x01\n" +
"\fCloudflareR2\x12\x16\n" +
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
"\bbase_url\x18\x02 \x01(\tR\abaseUrl\x12\x12\n" +
"\x04path\x18\x03 \x01(\tR\x04path\x12\x1d\n" +
"\n" +
"account_id\x18\x04 \x01(\tR\taccountId\x12\"\n" +
"\raccess_key_id\x18\x05 \x01(\tR\vaccessKeyId\x12*\n" +
"\x11secret_access_key\x18\x06 \x01(\tR\x0fsecretAccessKeyB\x18Z\x16kra/internal/conf;confb\x06proto3"
var (
file_conf_proto_rawDescOnce sync.Once
file_conf_proto_rawDescData []byte
)
func file_conf_proto_rawDescGZIP() []byte {
file_conf_proto_rawDescOnce.Do(func() {
file_conf_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_conf_proto_rawDesc), len(file_conf_proto_rawDesc)))
})
return file_conf_proto_rawDescData
}
var file_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_conf_proto_goTypes = []any{
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
(*Server)(nil), // 1: kratos.api.Server
(*Data)(nil), // 2: kratos.api.Data
(*JWT)(nil), // 3: kratos.api.JWT
(*Casbin)(nil), // 4: kratos.api.Casbin
(*Captcha)(nil), // 5: kratos.api.Captcha
(*Upload)(nil), // 6: kratos.api.Upload
(*Server_HTTP)(nil), // 7: kratos.api.Server.HTTP
(*Server_GRPC)(nil), // 8: kratos.api.Server.GRPC
(*Data_Database)(nil), // 9: kratos.api.Data.Database
(*Data_Redis)(nil), // 10: kratos.api.Data.Redis
(*Upload_Local)(nil), // 11: kratos.api.Upload.Local
(*Upload_Aliyun)(nil), // 12: kratos.api.Upload.Aliyun
(*Upload_Tencent)(nil), // 13: kratos.api.Upload.Tencent
(*Upload_Qiniu)(nil), // 14: kratos.api.Upload.Qiniu
(*Upload_Minio)(nil), // 15: kratos.api.Upload.Minio
(*Upload_AwsS3)(nil), // 16: kratos.api.Upload.AwsS3
(*Upload_HuaweiObs)(nil), // 17: kratos.api.Upload.HuaweiObs
(*Upload_CloudflareR2)(nil), // 18: kratos.api.Upload.CloudflareR2
(*durationpb.Duration)(nil), // 19: google.protobuf.Duration
}
var file_conf_proto_depIdxs = []int32{
1, // 0: kratos.api.Bootstrap.server:type_name -> kratos.api.Server
2, // 1: kratos.api.Bootstrap.data:type_name -> kratos.api.Data
3, // 2: kratos.api.Bootstrap.jwt:type_name -> kratos.api.JWT
4, // 3: kratos.api.Bootstrap.casbin:type_name -> kratos.api.Casbin
5, // 4: kratos.api.Bootstrap.captcha:type_name -> kratos.api.Captcha
6, // 5: kratos.api.Bootstrap.upload:type_name -> kratos.api.Upload
7, // 6: kratos.api.Server.http:type_name -> kratos.api.Server.HTTP
8, // 7: kratos.api.Server.grpc:type_name -> kratos.api.Server.GRPC
9, // 8: kratos.api.Data.database:type_name -> kratos.api.Data.Database
10, // 9: kratos.api.Data.redis:type_name -> kratos.api.Data.Redis
11, // 10: kratos.api.Upload.local:type_name -> kratos.api.Upload.Local
12, // 11: kratos.api.Upload.aliyun:type_name -> kratos.api.Upload.Aliyun
13, // 12: kratos.api.Upload.tencent:type_name -> kratos.api.Upload.Tencent
14, // 13: kratos.api.Upload.qiniu:type_name -> kratos.api.Upload.Qiniu
15, // 14: kratos.api.Upload.minio:type_name -> kratos.api.Upload.Minio
16, // 15: kratos.api.Upload.aws_s3:type_name -> kratos.api.Upload.AwsS3
17, // 16: kratos.api.Upload.huawei_obs:type_name -> kratos.api.Upload.HuaweiObs
18, // 17: kratos.api.Upload.cloudflare_r2:type_name -> kratos.api.Upload.CloudflareR2
19, // 18: kratos.api.Server.HTTP.timeout:type_name -> google.protobuf.Duration
19, // 19: kratos.api.Server.GRPC.timeout:type_name -> google.protobuf.Duration
20, // [20:20] is the sub-list for method output_type
20, // [20:20] is the sub-list for method input_type
20, // [20:20] is the sub-list for extension type_name
20, // [20:20] is the sub-list for extension extendee
0, // [0:20] is the sub-list for field type_name
}
func init() { file_conf_proto_init() }
func file_conf_proto_init() {
if File_conf_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_conf_proto_rawDesc), len(file_conf_proto_rawDesc)),
NumEnums: 0,
NumMessages: 19,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_conf_proto_goTypes,
DependencyIndexes: file_conf_proto_depIdxs,
MessageInfos: file_conf_proto_msgTypes,
}.Build()
File_conf_proto = out.File
file_conf_proto_goTypes = nil
file_conf_proto_depIdxs = nil
}