|
@@ -26,9 +26,10 @@ type Bootstrap struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
- Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server"`
|
|
|
|
|
- Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
|
|
|
|
|
- Jwt *JWT `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt"`
|
|
|
|
|
|
|
+ Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server"`
|
|
|
|
|
+ Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
|
|
|
|
|
+ Jwt *JWT `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt"`
|
|
|
|
|
+ TraceConf *TraceConf `protobuf:"bytes,4,opt,name=traceConf,proto3" json:"traceConf"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Bootstrap) Reset() {
|
|
func (x *Bootstrap) Reset() {
|
|
@@ -84,6 +85,68 @@ func (x *Bootstrap) GetJwt() *JWT {
|
|
|
return nil
|
|
return nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (x *Bootstrap) GetTraceConf() *TraceConf {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.TraceConf
|
|
|
|
|
+ }
|
|
|
|
|
+ return nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type TraceConf struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint"`
|
|
|
|
|
+ Env string `protobuf:"bytes,2,opt,name=env,proto3" json:"env"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *TraceConf) Reset() {
|
|
|
|
|
+ *x = TraceConf{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[1]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *TraceConf) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*TraceConf) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *TraceConf) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[1]
|
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+ return ms
|
|
|
|
|
+ }
|
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Deprecated: Use TraceConf.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*TraceConf) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *TraceConf) GetEndpoint() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Endpoint
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *TraceConf) GetEnv() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Env
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type Server struct {
|
|
type Server struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -97,7 +160,7 @@ type Server struct {
|
|
|
func (x *Server) Reset() {
|
|
func (x *Server) Reset() {
|
|
|
*x = Server{}
|
|
*x = Server{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[1]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -110,7 +173,7 @@ func (x *Server) String() string {
|
|
|
func (*Server) ProtoMessage() {}
|
|
func (*Server) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Server) ProtoReflect() protoreflect.Message {
|
|
func (x *Server) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[1]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -123,7 +186,7 @@ func (x *Server) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Server.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Server.ProtoReflect.Descriptor instead.
|
|
|
func (*Server) Descriptor() ([]byte, []int) {
|
|
func (*Server) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server) GetHttp() *Server_HTTP {
|
|
func (x *Server) GetHttp() *Server_HTTP {
|
|
@@ -159,7 +222,7 @@ type Data struct {
|
|
|
func (x *Data) Reset() {
|
|
func (x *Data) Reset() {
|
|
|
*x = Data{}
|
|
*x = Data{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[2]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -172,7 +235,7 @@ func (x *Data) String() string {
|
|
|
func (*Data) ProtoMessage() {}
|
|
func (*Data) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Data) ProtoReflect() protoreflect.Message {
|
|
func (x *Data) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[2]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -185,7 +248,7 @@ func (x *Data) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Data.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Data.ProtoReflect.Descriptor instead.
|
|
|
func (*Data) Descriptor() ([]byte, []int) {
|
|
func (*Data) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Data) GetDatabase() *Data_Database {
|
|
func (x *Data) GetDatabase() *Data_Database {
|
|
@@ -214,7 +277,7 @@ type JWT struct {
|
|
|
func (x *JWT) Reset() {
|
|
func (x *JWT) Reset() {
|
|
|
*x = JWT{}
|
|
*x = JWT{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[3]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[4]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -227,7 +290,7 @@ func (x *JWT) String() string {
|
|
|
func (*JWT) ProtoMessage() {}
|
|
func (*JWT) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *JWT) ProtoReflect() protoreflect.Message {
|
|
func (x *JWT) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[3]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[4]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -240,7 +303,7 @@ func (x *JWT) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use JWT.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use JWT.ProtoReflect.Descriptor instead.
|
|
|
func (*JWT) Descriptor() ([]byte, []int) {
|
|
func (*JWT) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *JWT) GetSecret() string {
|
|
func (x *JWT) GetSecret() string {
|
|
@@ -270,7 +333,7 @@ type Server_HTTP struct {
|
|
|
func (x *Server_HTTP) Reset() {
|
|
func (x *Server_HTTP) Reset() {
|
|
|
*x = Server_HTTP{}
|
|
*x = Server_HTTP{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[4]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[5]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -283,7 +346,7 @@ func (x *Server_HTTP) String() string {
|
|
|
func (*Server_HTTP) ProtoMessage() {}
|
|
func (*Server_HTTP) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Server_HTTP) ProtoReflect() protoreflect.Message {
|
|
func (x *Server_HTTP) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[4]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[5]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -296,7 +359,7 @@ func (x *Server_HTTP) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
|
|
|
func (*Server_HTTP) Descriptor() ([]byte, []int) {
|
|
func (*Server_HTTP) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{1, 0}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{2, 0}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server_HTTP) GetNetwork() string {
|
|
func (x *Server_HTTP) GetNetwork() string {
|
|
@@ -333,7 +396,7 @@ type Server_GRPC struct {
|
|
|
func (x *Server_GRPC) Reset() {
|
|
func (x *Server_GRPC) Reset() {
|
|
|
*x = Server_GRPC{}
|
|
*x = Server_GRPC{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[5]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[6]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -346,7 +409,7 @@ func (x *Server_GRPC) String() string {
|
|
|
func (*Server_GRPC) ProtoMessage() {}
|
|
func (*Server_GRPC) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Server_GRPC) ProtoReflect() protoreflect.Message {
|
|
func (x *Server_GRPC) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[5]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[6]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -359,7 +422,7 @@ func (x *Server_GRPC) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
|
|
|
func (*Server_GRPC) Descriptor() ([]byte, []int) {
|
|
func (*Server_GRPC) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{1, 1}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{2, 1}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server_GRPC) GetNetwork() string {
|
|
func (x *Server_GRPC) GetNetwork() string {
|
|
@@ -395,7 +458,7 @@ type Server_Registrar struct {
|
|
|
func (x *Server_Registrar) Reset() {
|
|
func (x *Server_Registrar) Reset() {
|
|
|
*x = Server_Registrar{}
|
|
*x = Server_Registrar{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[6]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[7]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -408,7 +471,7 @@ func (x *Server_Registrar) String() string {
|
|
|
func (*Server_Registrar) ProtoMessage() {}
|
|
func (*Server_Registrar) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Server_Registrar) ProtoReflect() protoreflect.Message {
|
|
func (x *Server_Registrar) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[6]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[7]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -421,7 +484,7 @@ func (x *Server_Registrar) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Server_Registrar.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Server_Registrar.ProtoReflect.Descriptor instead.
|
|
|
func (*Server_Registrar) Descriptor() ([]byte, []int) {
|
|
func (*Server_Registrar) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{1, 2}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{2, 2}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server_Registrar) GetNamespace() string {
|
|
func (x *Server_Registrar) GetNamespace() string {
|
|
@@ -452,7 +515,7 @@ type Data_Database struct {
|
|
|
func (x *Data_Database) Reset() {
|
|
func (x *Data_Database) Reset() {
|
|
|
*x = Data_Database{}
|
|
*x = Data_Database{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[7]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[8]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -465,7 +528,7 @@ func (x *Data_Database) String() string {
|
|
|
func (*Data_Database) ProtoMessage() {}
|
|
func (*Data_Database) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Data_Database) ProtoReflect() protoreflect.Message {
|
|
func (x *Data_Database) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[7]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[8]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -478,7 +541,7 @@ func (x *Data_Database) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
|
|
|
func (*Data_Database) Descriptor() ([]byte, []int) {
|
|
func (*Data_Database) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{2, 0}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{3, 0}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Data_Database) GetDriver() string {
|
|
func (x *Data_Database) GetDriver() string {
|
|
@@ -527,7 +590,7 @@ type Data_Redis struct {
|
|
|
func (x *Data_Redis) Reset() {
|
|
func (x *Data_Redis) Reset() {
|
|
|
*x = Data_Redis{}
|
|
*x = Data_Redis{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[8]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[9]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -540,7 +603,7 @@ func (x *Data_Redis) String() string {
|
|
|
func (*Data_Redis) ProtoMessage() {}
|
|
func (*Data_Redis) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Data_Redis) ProtoReflect() protoreflect.Message {
|
|
func (x *Data_Redis) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[8]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[9]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -553,7 +616,7 @@ func (x *Data_Redis) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.
|
|
|
func (*Data_Redis) Descriptor() ([]byte, []int) {
|
|
func (*Data_Redis) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{2, 1}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{3, 1}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Data_Redis) GetNetwork() string {
|
|
func (x *Data_Redis) GetNetwork() string {
|
|
@@ -618,7 +681,7 @@ var file_conf_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6b, 0x72,
|
|
0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6b, 0x72,
|
|
|
0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
|
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
|
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
|
|
|
- 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x09, 0x42, 0x6f, 0x6f,
|
|
|
|
|
|
|
+ 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x01, 0x0a, 0x09, 0x42, 0x6f, 0x6f,
|
|
|
0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e,
|
|
|
0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76,
|
|
0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76,
|
|
@@ -626,7 +689,14 @@ var file_conf_proto_rawDesc = []byte{
|
|
|
0x32, 0x10, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61,
|
|
0x32, 0x10, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61,
|
|
|
0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x03, 0x6a, 0x77, 0x74, 0x18,
|
|
0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x03, 0x6a, 0x77, 0x74, 0x18,
|
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61,
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61,
|
|
|
- 0x70, 0x69, 0x2e, 0x4a, 0x57, 0x54, 0x52, 0x03, 0x6a, 0x77, 0x74, 0x22, 0xb5, 0x03, 0x0a, 0x06,
|
|
|
|
|
|
|
+ 0x70, 0x69, 0x2e, 0x4a, 0x57, 0x54, 0x52, 0x03, 0x6a, 0x77, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x74,
|
|
|
|
|
+ 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
|
|
|
|
|
+ 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54, 0x72, 0x61, 0x63,
|
|
|
|
|
+ 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
|
+ 0x22, 0x39, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x1a, 0x0a,
|
|
|
|
|
+ 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
+ 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76,
|
|
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x22, 0xb5, 0x03, 0x0a, 0x06,
|
|
|
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01,
|
|
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01,
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70,
|
|
|
0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x52, 0x04, 0x68,
|
|
0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x52, 0x04, 0x68,
|
|
@@ -712,38 +782,40 @@ func file_conf_proto_rawDescGZIP() []byte {
|
|
|
return file_conf_proto_rawDescData
|
|
return file_conf_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
|
|
|
|
|
+var file_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
|
var file_conf_proto_goTypes = []interface{}{
|
|
var file_conf_proto_goTypes = []interface{}{
|
|
|
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
|
|
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
|
|
|
- (*Server)(nil), // 1: kratos.api.Server
|
|
|
|
|
- (*Data)(nil), // 2: kratos.api.Data
|
|
|
|
|
- (*JWT)(nil), // 3: kratos.api.JWT
|
|
|
|
|
- (*Server_HTTP)(nil), // 4: kratos.api.Server.HTTP
|
|
|
|
|
- (*Server_GRPC)(nil), // 5: kratos.api.Server.GRPC
|
|
|
|
|
- (*Server_Registrar)(nil), // 6: kratos.api.Server.Registrar
|
|
|
|
|
- (*Data_Database)(nil), // 7: kratos.api.Data.Database
|
|
|
|
|
- (*Data_Redis)(nil), // 8: kratos.api.Data.Redis
|
|
|
|
|
- (*durationpb.Duration)(nil), // 9: google.protobuf.Duration
|
|
|
|
|
|
|
+ (*TraceConf)(nil), // 1: kratos.api.TraceConf
|
|
|
|
|
+ (*Server)(nil), // 2: kratos.api.Server
|
|
|
|
|
+ (*Data)(nil), // 3: kratos.api.Data
|
|
|
|
|
+ (*JWT)(nil), // 4: kratos.api.JWT
|
|
|
|
|
+ (*Server_HTTP)(nil), // 5: kratos.api.Server.HTTP
|
|
|
|
|
+ (*Server_GRPC)(nil), // 6: kratos.api.Server.GRPC
|
|
|
|
|
+ (*Server_Registrar)(nil), // 7: kratos.api.Server.Registrar
|
|
|
|
|
+ (*Data_Database)(nil), // 8: kratos.api.Data.Database
|
|
|
|
|
+ (*Data_Redis)(nil), // 9: kratos.api.Data.Redis
|
|
|
|
|
+ (*durationpb.Duration)(nil), // 10: google.protobuf.Duration
|
|
|
}
|
|
}
|
|
|
var file_conf_proto_depIdxs = []int32{
|
|
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.Server.http:type_name -> kratos.api.Server.HTTP
|
|
|
|
|
- 5, // 4: kratos.api.Server.grpc:type_name -> kratos.api.Server.GRPC
|
|
|
|
|
- 6, // 5: kratos.api.Server.registrar:type_name -> kratos.api.Server.Registrar
|
|
|
|
|
- 7, // 6: kratos.api.Data.database:type_name -> kratos.api.Data.Database
|
|
|
|
|
- 8, // 7: kratos.api.Data.redis:type_name -> kratos.api.Data.Redis
|
|
|
|
|
- 9, // 8: kratos.api.Server.HTTP.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 9, // 9: kratos.api.Server.GRPC.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 9, // 10: kratos.api.Data.Redis.dial_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 9, // 11: kratos.api.Data.Redis.read_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 9, // 12: kratos.api.Data.Redis.write_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 13, // [13:13] is the sub-list for method output_type
|
|
|
|
|
- 13, // [13:13] is the sub-list for method input_type
|
|
|
|
|
- 13, // [13:13] is the sub-list for extension type_name
|
|
|
|
|
- 13, // [13:13] is the sub-list for extension extendee
|
|
|
|
|
- 0, // [0:13] is the sub-list for field type_name
|
|
|
|
|
|
|
+ 2, // 0: kratos.api.Bootstrap.server:type_name -> kratos.api.Server
|
|
|
|
|
+ 3, // 1: kratos.api.Bootstrap.data:type_name -> kratos.api.Data
|
|
|
|
|
+ 4, // 2: kratos.api.Bootstrap.jwt:type_name -> kratos.api.JWT
|
|
|
|
|
+ 1, // 3: kratos.api.Bootstrap.traceConf:type_name -> kratos.api.TraceConf
|
|
|
|
|
+ 5, // 4: kratos.api.Server.http:type_name -> kratos.api.Server.HTTP
|
|
|
|
|
+ 6, // 5: kratos.api.Server.grpc:type_name -> kratos.api.Server.GRPC
|
|
|
|
|
+ 7, // 6: kratos.api.Server.registrar:type_name -> kratos.api.Server.Registrar
|
|
|
|
|
+ 8, // 7: kratos.api.Data.database:type_name -> kratos.api.Data.Database
|
|
|
|
|
+ 9, // 8: kratos.api.Data.redis:type_name -> kratos.api.Data.Redis
|
|
|
|
|
+ 10, // 9: kratos.api.Server.HTTP.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 10, // 10: kratos.api.Server.GRPC.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 10, // 11: kratos.api.Data.Redis.dial_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 10, // 12: kratos.api.Data.Redis.read_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 10, // 13: kratos.api.Data.Redis.write_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 14, // [14:14] is the sub-list for method output_type
|
|
|
|
|
+ 14, // [14:14] is the sub-list for method input_type
|
|
|
|
|
+ 14, // [14:14] is the sub-list for extension type_name
|
|
|
|
|
+ 14, // [14:14] is the sub-list for extension extendee
|
|
|
|
|
+ 0, // [0:14] is the sub-list for field type_name
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func init() { file_conf_proto_init() }
|
|
func init() { file_conf_proto_init() }
|
|
@@ -765,7 +837,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Server); i {
|
|
|
|
|
|
|
+ switch v := v.(*TraceConf); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -777,7 +849,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Data); i {
|
|
|
|
|
|
|
+ switch v := v.(*Server); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -789,7 +861,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*JWT); i {
|
|
|
|
|
|
|
+ switch v := v.(*Data); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -801,7 +873,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Server_HTTP); i {
|
|
|
|
|
|
|
+ switch v := v.(*JWT); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -813,7 +885,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Server_GRPC); i {
|
|
|
|
|
|
|
+ switch v := v.(*Server_HTTP); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -825,7 +897,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Server_Registrar); i {
|
|
|
|
|
|
|
+ switch v := v.(*Server_GRPC); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -837,7 +909,7 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Data_Database); i {
|
|
|
|
|
|
|
+ switch v := v.(*Server_Registrar); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -849,6 +921,18 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*Data_Database); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_conf_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*Data_Redis); i {
|
|
switch v := v.(*Data_Redis); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
@@ -867,7 +951,7 @@ func file_conf_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_conf_proto_rawDesc,
|
|
RawDescriptor: file_conf_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
|
- NumMessages: 9,
|
|
|
|
|
|
|
+ NumMessages: 10,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
|
},
|
|
},
|