// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.35.1 // source: conf/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"` Admin *AdminBackend `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Bootstrap) Reset() { *x = Bootstrap{} mi := &file_conf_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_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_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) GetAdmin() *AdminBackend { if x != nil { return x.Admin } 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_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_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_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_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_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_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 } // AdminBackend contains settings for the administration HTTP transport. type AdminBackend struct { state protoimpl.MessageState `protogen:"open.v1"` RouterPrefix string `protobuf:"bytes,1,opt,name=router_prefix,json=routerPrefix,proto3" json:"router_prefix,omitempty"` Jwt *AdminBackend_JWT `protobuf:"bytes,2,opt,name=jwt,proto3" json:"jwt,omitempty"` Captcha *AdminBackend_Captcha `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` Local *AdminBackend_Local `protobuf:"bytes,4,opt,name=local,proto3" json:"local,omitempty"` Email *AdminBackend_Email `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminBackend) Reset() { *x = AdminBackend{} mi := &file_conf_conf_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminBackend) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminBackend) ProtoMessage() {} func (x *AdminBackend) ProtoReflect() protoreflect.Message { mi := &file_conf_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 AdminBackend.ProtoReflect.Descriptor instead. func (*AdminBackend) Descriptor() ([]byte, []int) { return file_conf_conf_proto_rawDescGZIP(), []int{3} } func (x *AdminBackend) GetRouterPrefix() string { if x != nil { return x.RouterPrefix } return "" } func (x *AdminBackend) GetJwt() *AdminBackend_JWT { if x != nil { return x.Jwt } return nil } func (x *AdminBackend) GetCaptcha() *AdminBackend_Captcha { if x != nil { return x.Captcha } return nil } func (x *AdminBackend) GetLocal() *AdminBackend_Local { if x != nil { return x.Local } return nil } func (x *AdminBackend) GetEmail() *AdminBackend_Email { if x != nil { return x.Email } 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_conf_proto_msgTypes[4] 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_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 Server_HTTP.ProtoReflect.Descriptor instead. func (*Server_HTTP) Descriptor() ([]byte, []int) { return file_conf_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_conf_proto_msgTypes[5] 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_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 Server_GRPC.ProtoReflect.Descriptor instead. func (*Server_GRPC) Descriptor() ([]byte, []int) { return file_conf_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"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Data_Database) Reset() { *x = Data_Database{} mi := &file_conf_conf_proto_msgTypes[6] 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_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 Data_Database.ProtoReflect.Descriptor instead. func (*Data_Database) Descriptor() ([]byte, []int) { return file_conf_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 "" } type Data_Redis 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"` ReadTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Data_Redis) Reset() { *x = Data_Redis{} mi := &file_conf_conf_proto_msgTypes[7] 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_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 Data_Redis.ProtoReflect.Descriptor instead. func (*Data_Redis) Descriptor() ([]byte, []int) { return file_conf_conf_proto_rawDescGZIP(), []int{2, 1} } func (x *Data_Redis) GetNetwork() string { if x != nil { return x.Network } return "" } func (x *Data_Redis) GetAddr() string { if x != nil { return x.Addr } return "" } func (x *Data_Redis) GetReadTimeout() *durationpb.Duration { if x != nil { return x.ReadTimeout } return nil } func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration { if x != nil { return x.WriteTimeout } return nil } type AdminBackend_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 *durationpb.Duration `protobuf:"bytes,2,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"` BufferTime *durationpb.Duration `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 *AdminBackend_JWT) Reset() { *x = AdminBackend_JWT{} mi := &file_conf_conf_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminBackend_JWT) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminBackend_JWT) ProtoMessage() {} func (x *AdminBackend_JWT) ProtoReflect() protoreflect.Message { mi := &file_conf_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 AdminBackend_JWT.ProtoReflect.Descriptor instead. func (*AdminBackend_JWT) Descriptor() ([]byte, []int) { return file_conf_conf_proto_rawDescGZIP(), []int{3, 0} } func (x *AdminBackend_JWT) GetSigningKey() string { if x != nil { return x.SigningKey } return "" } func (x *AdminBackend_JWT) GetExpiresTime() *durationpb.Duration { if x != nil { return x.ExpiresTime } return nil } func (x *AdminBackend_JWT) GetBufferTime() *durationpb.Duration { if x != nil { return x.BufferTime } return nil } func (x *AdminBackend_JWT) GetIssuer() string { if x != nil { return x.Issuer } return "" } type AdminBackend_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"` StoreExpiration *durationpb.Duration `protobuf:"bytes,4,opt,name=store_expiration,json=storeExpiration,proto3" json:"store_expiration,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminBackend_Captcha) Reset() { *x = AdminBackend_Captcha{} mi := &file_conf_conf_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminBackend_Captcha) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminBackend_Captcha) ProtoMessage() {} func (x *AdminBackend_Captcha) ProtoReflect() protoreflect.Message { mi := &file_conf_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 AdminBackend_Captcha.ProtoReflect.Descriptor instead. func (*AdminBackend_Captcha) Descriptor() ([]byte, []int) { return file_conf_conf_proto_rawDescGZIP(), []int{3, 1} } func (x *AdminBackend_Captcha) GetKeyLong() int32 { if x != nil { return x.KeyLong } return 0 } func (x *AdminBackend_Captcha) GetImgWidth() int32 { if x != nil { return x.ImgWidth } return 0 } func (x *AdminBackend_Captcha) GetImgHeight() int32 { if x != nil { return x.ImgHeight } return 0 } func (x *AdminBackend_Captcha) GetStoreExpiration() *durationpb.Duration { if x != nil { return x.StoreExpiration } return nil } type AdminBackend_Local struct { state protoimpl.MessageState `protogen:"open.v1"` StorePath string `protobuf:"bytes,1,opt,name=store_path,json=storePath,proto3" json:"store_path,omitempty"` PathPrefix string `protobuf:"bytes,2,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminBackend_Local) Reset() { *x = AdminBackend_Local{} mi := &file_conf_conf_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminBackend_Local) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminBackend_Local) ProtoMessage() {} func (x *AdminBackend_Local) ProtoReflect() protoreflect.Message { mi := &file_conf_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 AdminBackend_Local.ProtoReflect.Descriptor instead. func (*AdminBackend_Local) Descriptor() ([]byte, []int) { return file_conf_conf_proto_rawDescGZIP(), []int{3, 2} } func (x *AdminBackend_Local) GetStorePath() string { if x != nil { return x.StorePath } return "" } func (x *AdminBackend_Local) GetPathPrefix() string { if x != nil { return x.PathPrefix } return "" } type AdminBackend_Email struct { state protoimpl.MessageState `protogen:"open.v1"` To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` Port int32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` IsSsl bool `protobuf:"varint,7,opt,name=is_ssl,json=isSsl,proto3" json:"is_ssl,omitempty"` IsLoginAuth bool `protobuf:"varint,8,opt,name=is_login_auth,json=isLoginAuth,proto3" json:"is_login_auth,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminBackend_Email) Reset() { *x = AdminBackend_Email{} mi := &file_conf_conf_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminBackend_Email) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminBackend_Email) ProtoMessage() {} func (x *AdminBackend_Email) ProtoReflect() protoreflect.Message { mi := &file_conf_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 AdminBackend_Email.ProtoReflect.Descriptor instead. func (*AdminBackend_Email) Descriptor() ([]byte, []int) { return file_conf_conf_proto_rawDescGZIP(), []int{3, 3} } func (x *AdminBackend_Email) GetTo() string { if x != nil { return x.To } return "" } func (x *AdminBackend_Email) GetFrom() string { if x != nil { return x.From } return "" } func (x *AdminBackend_Email) GetHost() string { if x != nil { return x.Host } return "" } func (x *AdminBackend_Email) GetSecret() string { if x != nil { return x.Secret } return "" } func (x *AdminBackend_Email) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *AdminBackend_Email) GetPort() int32 { if x != nil { return x.Port } return 0 } func (x *AdminBackend_Email) GetIsSsl() bool { if x != nil { return x.IsSsl } return false } func (x *AdminBackend_Email) GetIsLoginAuth() bool { if x != nil { return x.IsLoginAuth } return false } var File_conf_conf_proto protoreflect.FileDescriptor const file_conf_conf_proto_rawDesc = "" + "\n" + "\x0fconf/conf.proto\x12\n" + "kratos.api\x1a\x1egoogle/protobuf/duration.proto\"\x8d\x01\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" + "\x05admin\x18\x03 \x01(\v2\x18.kratos.api.AdminBackendR\x05admin\"\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\"\xdd\x02\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:\n" + "\bDatabase\x12\x16\n" + "\x06driver\x18\x01 \x01(\tR\x06driver\x12\x16\n" + "\x06source\x18\x02 \x01(\tR\x06source\x1a\xb3\x01\n" + "\x05Redis\x12\x18\n" + "\anetwork\x18\x01 \x01(\tR\anetwork\x12\x12\n" + "\x04addr\x18\x02 \x01(\tR\x04addr\x12<\n" + "\fread_timeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\vreadTimeout\x12>\n" + "\rwrite_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\fwriteTimeout\"\xfd\x06\n" + "\fAdminBackend\x12#\n" + "\rrouter_prefix\x18\x01 \x01(\tR\frouterPrefix\x12.\n" + "\x03jwt\x18\x02 \x01(\v2\x1c.kratos.api.AdminBackend.JWTR\x03jwt\x12:\n" + "\acaptcha\x18\x03 \x01(\v2 .kratos.api.AdminBackend.CaptchaR\acaptcha\x124\n" + "\x05local\x18\x04 \x01(\v2\x1e.kratos.api.AdminBackend.LocalR\x05local\x124\n" + "\x05email\x18\x05 \x01(\v2\x1e.kratos.api.AdminBackend.EmailR\x05email\x1a\xb8\x01\n" + "\x03JWT\x12\x1f\n" + "\vsigning_key\x18\x01 \x01(\tR\n" + "signingKey\x12<\n" + "\fexpires_time\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\vexpiresTime\x12:\n" + "\vbuffer_time\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\n" + "bufferTime\x12\x16\n" + "\x06issuer\x18\x04 \x01(\tR\x06issuer\x1a\xa6\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\x12D\n" + "\x10store_expiration\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x0fstoreExpiration\x1aG\n" + "\x05Local\x12\x1d\n" + "\n" + "store_path\x18\x01 \x01(\tR\tstorePath\x12\x1f\n" + "\vpath_prefix\x18\x02 \x01(\tR\n" + "pathPrefix\x1a\xc2\x01\n" + "\x05Email\x12\x0e\n" + "\x02to\x18\x01 \x01(\tR\x02to\x12\x12\n" + "\x04from\x18\x02 \x01(\tR\x04from\x12\x12\n" + "\x04host\x18\x03 \x01(\tR\x04host\x12\x16\n" + "\x06secret\x18\x04 \x01(\tR\x06secret\x12\x1a\n" + "\bnickname\x18\x05 \x01(\tR\bnickname\x12\x12\n" + "\x04port\x18\x06 \x01(\x05R\x04port\x12\x15\n" + "\x06is_ssl\x18\a \x01(\bR\x05isSsl\x12\"\n" + "\ris_login_auth\x18\b \x01(\bR\visLoginAuthB\x18Z\x16kra/internal/conf;confb\x06proto3" var ( file_conf_conf_proto_rawDescOnce sync.Once file_conf_conf_proto_rawDescData []byte ) func file_conf_conf_proto_rawDescGZIP() []byte { file_conf_conf_proto_rawDescOnce.Do(func() { file_conf_conf_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_conf_conf_proto_rawDesc), len(file_conf_conf_proto_rawDesc))) }) return file_conf_conf_proto_rawDescData } var file_conf_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_conf_conf_proto_goTypes = []any{ (*Bootstrap)(nil), // 0: kratos.api.Bootstrap (*Server)(nil), // 1: kratos.api.Server (*Data)(nil), // 2: kratos.api.Data (*AdminBackend)(nil), // 3: kratos.api.AdminBackend (*Server_HTTP)(nil), // 4: kratos.api.Server.HTTP (*Server_GRPC)(nil), // 5: kratos.api.Server.GRPC (*Data_Database)(nil), // 6: kratos.api.Data.Database (*Data_Redis)(nil), // 7: kratos.api.Data.Redis (*AdminBackend_JWT)(nil), // 8: kratos.api.AdminBackend.JWT (*AdminBackend_Captcha)(nil), // 9: kratos.api.AdminBackend.Captcha (*AdminBackend_Local)(nil), // 10: kratos.api.AdminBackend.Local (*AdminBackend_Email)(nil), // 11: kratos.api.AdminBackend.Email (*durationpb.Duration)(nil), // 12: google.protobuf.Duration } var file_conf_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.admin:type_name -> kratos.api.AdminBackend 4, // 3: kratos.api.Server.http:type_name -> kratos.api.Server.HTTP 5, // 4: kratos.api.Server.grpc:type_name -> kratos.api.Server.GRPC 6, // 5: kratos.api.Data.database:type_name -> kratos.api.Data.Database 7, // 6: kratos.api.Data.redis:type_name -> kratos.api.Data.Redis 8, // 7: kratos.api.AdminBackend.jwt:type_name -> kratos.api.AdminBackend.JWT 9, // 8: kratos.api.AdminBackend.captcha:type_name -> kratos.api.AdminBackend.Captcha 10, // 9: kratos.api.AdminBackend.local:type_name -> kratos.api.AdminBackend.Local 11, // 10: kratos.api.AdminBackend.email:type_name -> kratos.api.AdminBackend.Email 12, // 11: kratos.api.Server.HTTP.timeout:type_name -> google.protobuf.Duration 12, // 12: kratos.api.Server.GRPC.timeout:type_name -> google.protobuf.Duration 12, // 13: kratos.api.Data.Redis.read_timeout:type_name -> google.protobuf.Duration 12, // 14: kratos.api.Data.Redis.write_timeout:type_name -> google.protobuf.Duration 12, // 15: kratos.api.AdminBackend.JWT.expires_time:type_name -> google.protobuf.Duration 12, // 16: kratos.api.AdminBackend.JWT.buffer_time:type_name -> google.protobuf.Duration 12, // 17: kratos.api.AdminBackend.Captcha.store_expiration:type_name -> google.protobuf.Duration 18, // [18:18] is the sub-list for method output_type 18, // [18:18] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name 18, // [18:18] is the sub-list for extension extendee 0, // [0:18] is the sub-list for field type_name } func init() { file_conf_conf_proto_init() } func file_conf_conf_proto_init() { if File_conf_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_conf_proto_rawDesc), len(file_conf_conf_proto_rawDesc)), NumEnums: 0, NumMessages: 12, NumExtensions: 0, NumServices: 0, }, GoTypes: file_conf_conf_proto_goTypes, DependencyIndexes: file_conf_conf_proto_depIdxs, MessageInfos: file_conf_conf_proto_msgTypes, }.Build() File_conf_conf_proto = out.File file_conf_conf_proto_goTypes = nil file_conf_conf_proto_depIdxs = nil }