|
@@ -1,7 +1,7 @@
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// versions:
|
|
// versions:
|
|
|
-// protoc-gen-go v1.26.0-devel
|
|
|
|
|
-// protoc v3.15.8
|
|
|
|
|
|
|
+// protoc-gen-go v1.28.1-devel
|
|
|
|
|
+// protoc v3.21.8
|
|
|
// source: conf.proto
|
|
// source: conf.proto
|
|
|
|
|
|
|
|
package conf
|
|
package conf
|
|
@@ -28,6 +28,7 @@ type Bootstrap struct {
|
|
|
|
|
|
|
|
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server"`
|
|
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server"`
|
|
|
Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
|
|
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"`
|
|
TraceConf *TraceConf `protobuf:"bytes,4,opt,name=traceConf,proto3" json:"traceConf"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -64,24 +65,31 @@ func (*Bootstrap) Descriptor() ([]byte, []int) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Bootstrap) GetServer() *Server {
|
|
func (x *Bootstrap) GetServer() *Server {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Server != nil {
|
|
|
return x.Server
|
|
return x.Server
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &Server{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Bootstrap) GetData() *Data {
|
|
func (x *Bootstrap) GetData() *Data {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Data != nil {
|
|
|
return x.Data
|
|
return x.Data
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &Data{}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *Bootstrap) GetJwt() *JWT {
|
|
|
|
|
+ if x != nil && x.Jwt != nil {
|
|
|
|
|
+ return x.Jwt
|
|
|
|
|
+ }
|
|
|
|
|
+ return &JWT{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Bootstrap) GetTraceConf() *TraceConf {
|
|
func (x *Bootstrap) GetTraceConf() *TraceConf {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.TraceConf != nil {
|
|
|
return x.TraceConf
|
|
return x.TraceConf
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &TraceConf{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type TraceConf struct {
|
|
type TraceConf struct {
|
|
@@ -139,6 +147,61 @@ func (x *TraceConf) GetEnv() string {
|
|
|
return ""
|
|
return ""
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+type JWT struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret"`
|
|
|
|
|
+ Expire int64 `protobuf:"varint,2,opt,name=expire,proto3" json:"expire"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *JWT) Reset() {
|
|
|
|
|
+ *x = JWT{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[2]
|
|
|
|
|
+ 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[2]
|
|
|
|
|
+ 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 JWT.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*JWT) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *JWT) GetSecret() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Secret
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *JWT) GetExpire() int64 {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Expire
|
|
|
|
|
+ }
|
|
|
|
|
+ return 0
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type Server struct {
|
|
type Server struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -152,7 +215,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[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)
|
|
|
}
|
|
}
|
|
@@ -165,7 +228,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[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 {
|
|
@@ -178,28 +241,28 @@ 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{2}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server) GetHttp() *HTTP {
|
|
func (x *Server) GetHttp() *HTTP {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Http != nil {
|
|
|
return x.Http
|
|
return x.Http
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &HTTP{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server) GetGrpc() *GRPC {
|
|
func (x *Server) GetGrpc() *GRPC {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Grpc != nil {
|
|
|
return x.Grpc
|
|
return x.Grpc
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &GRPC{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Server) GetRegistrar() *Registrar {
|
|
func (x *Server) GetRegistrar() *Registrar {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Registrar != nil {
|
|
|
return x.Registrar
|
|
return x.Registrar
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &Registrar{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type HTTP struct {
|
|
type HTTP struct {
|
|
@@ -215,7 +278,7 @@ type HTTP struct {
|
|
|
func (x *HTTP) Reset() {
|
|
func (x *HTTP) Reset() {
|
|
|
*x = HTTP{}
|
|
*x = HTTP{}
|
|
|
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)
|
|
|
}
|
|
}
|
|
@@ -228,7 +291,7 @@ func (x *HTTP) String() string {
|
|
|
func (*HTTP) ProtoMessage() {}
|
|
func (*HTTP) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HTTP) ProtoReflect() protoreflect.Message {
|
|
func (x *HTTP) 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 {
|
|
@@ -241,7 +304,7 @@ func (x *HTTP) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use HTTP.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use HTTP.ProtoReflect.Descriptor instead.
|
|
|
func (*HTTP) Descriptor() ([]byte, []int) {
|
|
func (*HTTP) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *HTTP) GetNetwork() string {
|
|
func (x *HTTP) GetNetwork() string {
|
|
@@ -259,10 +322,10 @@ func (x *HTTP) GetAddr() string {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *HTTP) GetTimeout() *durationpb.Duration {
|
|
func (x *HTTP) GetTimeout() *durationpb.Duration {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Timeout != nil {
|
|
|
return x.Timeout
|
|
return x.Timeout
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &durationpb.Duration{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type GRPC struct {
|
|
type GRPC struct {
|
|
@@ -278,7 +341,7 @@ type GRPC struct {
|
|
|
func (x *GRPC) Reset() {
|
|
func (x *GRPC) Reset() {
|
|
|
*x = GRPC{}
|
|
*x = GRPC{}
|
|
|
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)
|
|
|
}
|
|
}
|
|
@@ -291,7 +354,7 @@ func (x *GRPC) String() string {
|
|
|
func (*GRPC) ProtoMessage() {}
|
|
func (*GRPC) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GRPC) ProtoReflect() protoreflect.Message {
|
|
func (x *GRPC) 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 {
|
|
@@ -304,7 +367,7 @@ func (x *GRPC) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use GRPC.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use GRPC.ProtoReflect.Descriptor instead.
|
|
|
func (*GRPC) Descriptor() ([]byte, []int) {
|
|
func (*GRPC) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{5}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *GRPC) GetNetwork() string {
|
|
func (x *GRPC) GetNetwork() string {
|
|
@@ -322,10 +385,10 @@ func (x *GRPC) GetAddr() string {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *GRPC) GetTimeout() *durationpb.Duration {
|
|
func (x *GRPC) GetTimeout() *durationpb.Duration {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Timeout != nil {
|
|
|
return x.Timeout
|
|
return x.Timeout
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &durationpb.Duration{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type Registrar struct {
|
|
type Registrar struct {
|
|
@@ -341,7 +404,7 @@ type Registrar struct {
|
|
|
func (x *Registrar) Reset() {
|
|
func (x *Registrar) Reset() {
|
|
|
*x = Registrar{}
|
|
*x = Registrar{}
|
|
|
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)
|
|
|
}
|
|
}
|
|
@@ -354,7 +417,7 @@ func (x *Registrar) String() string {
|
|
|
func (*Registrar) ProtoMessage() {}
|
|
func (*Registrar) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Registrar) ProtoReflect() protoreflect.Message {
|
|
func (x *Registrar) 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 {
|
|
@@ -367,7 +430,7 @@ func (x *Registrar) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Registrar.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Registrar.ProtoReflect.Descriptor instead.
|
|
|
func (*Registrar) Descriptor() ([]byte, []int) {
|
|
func (*Registrar) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{6}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Registrar) GetNamespace() string {
|
|
func (x *Registrar) GetNamespace() string {
|
|
@@ -404,7 +467,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[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)
|
|
|
}
|
|
}
|
|
@@ -417,7 +480,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[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 {
|
|
@@ -430,28 +493,28 @@ 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{6}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{7}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Data) GetDatabase() *Database {
|
|
func (x *Data) GetDatabase() *Database {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Database != nil {
|
|
|
return x.Database
|
|
return x.Database
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &Database{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Data) GetRedis() *Redis {
|
|
func (x *Data) GetRedis() *Redis {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Redis != nil {
|
|
|
return x.Redis
|
|
return x.Redis
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &Redis{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Data) GetMongo() *Mongo {
|
|
func (x *Data) GetMongo() *Mongo {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.Mongo != nil {
|
|
|
return x.Mongo
|
|
return x.Mongo
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &Mongo{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type Database struct {
|
|
type Database struct {
|
|
@@ -468,7 +531,7 @@ type Database struct {
|
|
|
func (x *Database) Reset() {
|
|
func (x *Database) Reset() {
|
|
|
*x = Database{}
|
|
*x = 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)
|
|
|
}
|
|
}
|
|
@@ -481,7 +544,7 @@ func (x *Database) String() string {
|
|
|
func (*Database) ProtoMessage() {}
|
|
func (*Database) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Database) ProtoReflect() protoreflect.Message {
|
|
func (x *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 {
|
|
@@ -494,7 +557,7 @@ func (x *Database) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Database.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Database.ProtoReflect.Descriptor instead.
|
|
|
func (*Database) Descriptor() ([]byte, []int) {
|
|
func (*Database) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{8}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Database) GetDriver() string {
|
|
func (x *Database) GetDriver() string {
|
|
@@ -543,7 +606,7 @@ type Redis struct {
|
|
|
func (x *Redis) Reset() {
|
|
func (x *Redis) Reset() {
|
|
|
*x = Redis{}
|
|
*x = 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)
|
|
|
}
|
|
}
|
|
@@ -556,7 +619,7 @@ func (x *Redis) String() string {
|
|
|
func (*Redis) ProtoMessage() {}
|
|
func (*Redis) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Redis) ProtoReflect() protoreflect.Message {
|
|
func (x *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 {
|
|
@@ -569,7 +632,7 @@ func (x *Redis) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Redis.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Redis.ProtoReflect.Descriptor instead.
|
|
|
func (*Redis) Descriptor() ([]byte, []int) {
|
|
func (*Redis) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{9}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Redis) GetNetwork() string {
|
|
func (x *Redis) GetNetwork() string {
|
|
@@ -594,24 +657,24 @@ func (x *Redis) GetDb() int32 {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Redis) GetDialTimeout() *durationpb.Duration {
|
|
func (x *Redis) GetDialTimeout() *durationpb.Duration {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.DialTimeout != nil {
|
|
|
return x.DialTimeout
|
|
return x.DialTimeout
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &durationpb.Duration{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Redis) GetReadTimeout() *durationpb.Duration {
|
|
func (x *Redis) GetReadTimeout() *durationpb.Duration {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.ReadTimeout != nil {
|
|
|
return x.ReadTimeout
|
|
return x.ReadTimeout
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &durationpb.Duration{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Redis) GetWriteTimeout() *durationpb.Duration {
|
|
func (x *Redis) GetWriteTimeout() *durationpb.Duration {
|
|
|
- if x != nil {
|
|
|
|
|
|
|
+ if x != nil && x.WriteTimeout != nil {
|
|
|
return x.WriteTimeout
|
|
return x.WriteTimeout
|
|
|
}
|
|
}
|
|
|
- return nil
|
|
|
|
|
|
|
+ return &durationpb.Duration{}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Redis) GetPoolSize() int32 {
|
|
func (x *Redis) GetPoolSize() int32 {
|
|
@@ -640,7 +703,7 @@ type Mongo struct {
|
|
|
func (x *Mongo) Reset() {
|
|
func (x *Mongo) Reset() {
|
|
|
*x = Mongo{}
|
|
*x = Mongo{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_conf_proto_msgTypes[9]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[10]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -653,7 +716,7 @@ func (x *Mongo) String() string {
|
|
|
func (*Mongo) ProtoMessage() {}
|
|
func (*Mongo) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Mongo) ProtoReflect() protoreflect.Message {
|
|
func (x *Mongo) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_conf_proto_msgTypes[9]
|
|
|
|
|
|
|
+ mi := &file_conf_proto_msgTypes[10]
|
|
|
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 {
|
|
@@ -666,7 +729,7 @@ func (x *Mongo) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Mongo.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Mongo.ProtoReflect.Descriptor instead.
|
|
|
func (*Mongo) Descriptor() ([]byte, []int) {
|
|
func (*Mongo) Descriptor() ([]byte, []int) {
|
|
|
- return file_conf_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
|
|
+ return file_conf_proto_rawDescGZIP(), []int{10}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Mongo) GetUri() string {
|
|
func (x *Mongo) GetUri() string {
|
|
@@ -689,93 +752,98 @@ 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, 0x92, 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,
|
|
|
0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
|
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, 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, 0x89, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x72,
|
|
|
|
|
- 0x76, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
- 0x0b, 0x32, 0x10, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48,
|
|
|
|
|
- 0x54, 0x54, 0x50, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x12, 0x24, 0x0a, 0x04, 0x67, 0x72, 0x70,
|
|
|
|
|
- 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73,
|
|
|
|
|
- 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x52, 0x50, 0x43, 0x52, 0x04, 0x67, 0x72, 0x70, 0x63, 0x12,
|
|
|
|
|
- 0x33, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
- 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
|
|
|
|
- 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x72, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x73,
|
|
|
|
|
- 0x74, 0x72, 0x61, 0x72, 0x22, 0x69, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x12, 0x18, 0x0a, 0x07,
|
|
|
|
|
- 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e,
|
|
|
|
|
- 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02,
|
|
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69,
|
|
|
|
|
- 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
|
|
|
|
|
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
|
|
|
|
|
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22,
|
|
|
|
|
- 0x69, 0x0a, 0x04, 0x47, 0x52, 0x50, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f,
|
|
|
|
|
- 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
|
|
|
|
|
- 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
- 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
|
|
|
|
|
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
|
|
|
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
|
- 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x5b, 0x0a, 0x09, 0x52, 0x65,
|
|
|
|
|
- 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73,
|
|
|
|
|
- 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
|
|
- 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02,
|
|
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x65,
|
|
|
|
|
- 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
|
|
|
|
|
- 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61,
|
|
|
|
|
- 0x12, 0x30, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
- 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
|
|
|
|
- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
|
|
|
|
|
- 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
- 0x0b, 0x32, 0x11, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52,
|
|
|
|
|
- 0x65, 0x64, 0x69, 0x73, 0x52, 0x05, 0x72, 0x65, 0x64, 0x69, 0x73, 0x12, 0x27, 0x0a, 0x05, 0x6d,
|
|
|
|
|
- 0x6f, 0x6e, 0x67, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6b, 0x72, 0x61,
|
|
|
|
|
- 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x52, 0x05, 0x6d,
|
|
|
|
|
- 0x6f, 0x6e, 0x67, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
|
|
|
|
- 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
- 0x09, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75,
|
|
|
|
|
- 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
|
|
|
- 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e,
|
|
|
|
|
- 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x6c, 0x65,
|
|
|
|
|
- 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4f, 0x70, 0x65, 0x6e,
|
|
|
|
|
- 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78,
|
|
|
|
|
- 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x22, 0xc1, 0x02, 0x0a, 0x05, 0x52, 0x65,
|
|
|
|
|
- 0x64, 0x69, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01,
|
|
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a,
|
|
|
|
|
- 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64,
|
|
|
|
|
- 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x64,
|
|
|
|
|
- 0x62, 0x12, 0x3c, 0x0a, 0x0c, 0x64, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75,
|
|
|
|
|
- 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
|
|
|
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
|
|
|
|
|
- 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12,
|
|
|
|
|
- 0x3c, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18,
|
|
|
|
|
- 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
|
|
|
|
+ 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,
|
|
|
|
|
+ 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, 0x35, 0x0a, 0x03, 0x4a,
|
|
|
|
|
+ 0x57, 0x54, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
+ 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78,
|
|
|
|
|
+ 0x70, 0x69, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69,
|
|
|
|
|
+ 0x72, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x24, 0x0a,
|
|
|
|
|
+ 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6b, 0x72,
|
|
|
|
|
+ 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x52, 0x04, 0x68,
|
|
|
|
|
+ 0x74, 0x74, 0x70, 0x12, 0x24, 0x0a, 0x04, 0x67, 0x72, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
+ 0x0b, 0x32, 0x10, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47,
|
|
|
|
|
+ 0x52, 0x50, 0x43, 0x52, 0x04, 0x67, 0x72, 0x70, 0x63, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65, 0x67,
|
|
|
|
|
+ 0x69, 0x73, 0x74, 0x72, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6b,
|
|
|
|
|
+ 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
|
|
|
|
|
+ 0x72, 0x61, 0x72, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x72, 0x22, 0x69,
|
|
|
|
|
+ 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
|
|
|
|
|
+ 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
|
|
|
|
+ 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
|
+ 0x61, 0x64, 0x64, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18,
|
|
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
- 0x52, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3e, 0x0a,
|
|
|
|
|
- 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06,
|
|
|
|
|
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
|
|
|
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
|
|
|
- 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1a, 0x0a,
|
|
|
|
|
- 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
- 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x69, 0x6e,
|
|
|
|
|
- 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
- 0x0c, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x22, 0x35, 0x0a,
|
|
|
|
|
- 0x05, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20,
|
|
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
|
- 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
|
- 0x62, 0x61, 0x73, 0x65, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
|
|
|
|
- 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x6b, 0x72, 0x61,
|
|
|
|
|
- 0x74, 0x6f, 0x73, 0x2d, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
|
|
|
|
|
- 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x62, 0x06, 0x70,
|
|
|
|
|
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
|
+ 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x69, 0x0a, 0x04, 0x47, 0x52, 0x50,
|
|
|
|
|
+ 0x43, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
+ 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61,
|
|
|
|
|
+ 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12,
|
|
|
|
|
+ 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
+ 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
|
+ 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d,
|
|
|
|
|
+ 0x65, 0x6f, 0x75, 0x74, 0x22, 0x5b, 0x0a, 0x09, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
|
|
|
|
|
+ 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01,
|
|
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
|
|
|
|
|
+ 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
|
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
|
|
|
|
|
+ 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
|
|
|
|
|
+ 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x08, 0x64, 0x61,
|
|
|
|
|
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6b,
|
|
|
|
|
+ 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
|
|
|
|
|
+ 0x73, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05,
|
|
|
|
|
+ 0x72, 0x65, 0x64, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6b, 0x72,
|
|
|
|
|
+ 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x52, 0x05,
|
|
|
|
|
+ 0x72, 0x65, 0x64, 0x69, 0x73, 0x12, 0x27, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x18, 0x03,
|
|
|
|
|
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2e, 0x61, 0x70,
|
|
|
|
|
+ 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x22, 0x82,
|
|
|
|
|
+ 0x01, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64,
|
|
|
|
|
+ 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x69,
|
|
|
|
|
+ 0x76, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20,
|
|
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d,
|
|
|
|
|
+ 0x61, 0x78, 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
+ 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x12,
|
|
|
|
|
+ 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x18,
|
|
|
|
|
+ 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f,
|
|
|
|
|
+ 0x6e, 0x6e, 0x73, 0x22, 0xc1, 0x02, 0x0a, 0x05, 0x52, 0x65, 0x64, 0x69, 0x73, 0x12, 0x18, 0x0a,
|
|
|
|
|
+ 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
|
|
|
+ 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18,
|
|
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x64,
|
|
|
|
|
+ 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x64, 0x62, 0x12, 0x3c, 0x0a, 0x0c, 0x64,
|
|
|
|
|
+ 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
+ 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
|
+ 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x69,
|
|
|
|
|
+ 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x72, 0x65, 0x61,
|
|
|
|
|
+ 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
+ 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
|
+ 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x64,
|
|
|
|
|
+ 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65,
|
|
|
|
|
+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
|
|
|
|
|
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
|
|
|
+ 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65,
|
|
|
|
|
+ 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x53,
|
|
|
|
|
+ 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x53,
|
|
|
|
|
+ 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x6c, 0x65, 0x43, 0x6f,
|
|
|
|
|
+ 0x6e, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x49, 0x64,
|
|
|
|
|
+ 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x73, 0x22, 0x35, 0x0a, 0x05, 0x4d, 0x6f, 0x6e, 0x67, 0x6f,
|
|
|
|
|
+ 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
|
|
|
|
|
+ 0x72, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02,
|
|
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x37,
|
|
|
|
|
+ 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d,
|
|
|
|
|
+ 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2d, 0x6c, 0x61,
|
|
|
|
|
+ 0x79, 0x6f, 0x75, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6f,
|
|
|
|
|
+ 0x6e, 0x66, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -790,40 +858,42 @@ func file_conf_proto_rawDescGZIP() []byte {
|
|
|
return file_conf_proto_rawDescData
|
|
return file_conf_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
|
|
|
|
|
+var file_conf_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
var file_conf_proto_goTypes = []interface{}{
|
|
var file_conf_proto_goTypes = []interface{}{
|
|
|
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
|
|
(*Bootstrap)(nil), // 0: kratos.api.Bootstrap
|
|
|
(*TraceConf)(nil), // 1: kratos.api.TraceConf
|
|
(*TraceConf)(nil), // 1: kratos.api.TraceConf
|
|
|
- (*Server)(nil), // 2: kratos.api.Server
|
|
|
|
|
- (*HTTP)(nil), // 3: kratos.api.HTTP
|
|
|
|
|
- (*GRPC)(nil), // 4: kratos.api.GRPC
|
|
|
|
|
- (*Registrar)(nil), // 5: kratos.api.Registrar
|
|
|
|
|
- (*Data)(nil), // 6: kratos.api.Data
|
|
|
|
|
- (*Database)(nil), // 7: kratos.api.Database
|
|
|
|
|
- (*Redis)(nil), // 8: kratos.api.Redis
|
|
|
|
|
- (*Mongo)(nil), // 9: kratos.api.Mongo
|
|
|
|
|
- (*durationpb.Duration)(nil), // 10: google.protobuf.Duration
|
|
|
|
|
|
|
+ (*JWT)(nil), // 2: kratos.api.JWT
|
|
|
|
|
+ (*Server)(nil), // 3: kratos.api.Server
|
|
|
|
|
+ (*HTTP)(nil), // 4: kratos.api.HTTP
|
|
|
|
|
+ (*GRPC)(nil), // 5: kratos.api.GRPC
|
|
|
|
|
+ (*Registrar)(nil), // 6: kratos.api.Registrar
|
|
|
|
|
+ (*Data)(nil), // 7: kratos.api.Data
|
|
|
|
|
+ (*Database)(nil), // 8: kratos.api.Database
|
|
|
|
|
+ (*Redis)(nil), // 9: kratos.api.Redis
|
|
|
|
|
+ (*Mongo)(nil), // 10: kratos.api.Mongo
|
|
|
|
|
+ (*durationpb.Duration)(nil), // 11: google.protobuf.Duration
|
|
|
}
|
|
}
|
|
|
var file_conf_proto_depIdxs = []int32{
|
|
var file_conf_proto_depIdxs = []int32{
|
|
|
- 2, // 0: kratos.api.Bootstrap.server:type_name -> kratos.api.Server
|
|
|
|
|
- 6, // 1: kratos.api.Bootstrap.data:type_name -> kratos.api.Data
|
|
|
|
|
- 1, // 2: kratos.api.Bootstrap.traceConf:type_name -> kratos.api.TraceConf
|
|
|
|
|
- 3, // 3: kratos.api.Server.http:type_name -> kratos.api.HTTP
|
|
|
|
|
- 4, // 4: kratos.api.Server.grpc:type_name -> kratos.api.GRPC
|
|
|
|
|
- 5, // 5: kratos.api.Server.registrar:type_name -> kratos.api.Registrar
|
|
|
|
|
- 10, // 6: kratos.api.HTTP.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 10, // 7: kratos.api.GRPC.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 7, // 8: kratos.api.Data.database:type_name -> kratos.api.Database
|
|
|
|
|
- 8, // 9: kratos.api.Data.redis:type_name -> kratos.api.Redis
|
|
|
|
|
- 9, // 10: kratos.api.Data.mongo:type_name -> kratos.api.Mongo
|
|
|
|
|
- 10, // 11: kratos.api.Redis.dial_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 10, // 12: kratos.api.Redis.read_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
- 10, // 13: kratos.api.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
|
|
|
|
|
|
|
+ 3, // 0: kratos.api.Bootstrap.server:type_name -> kratos.api.Server
|
|
|
|
|
+ 7, // 1: kratos.api.Bootstrap.data:type_name -> kratos.api.Data
|
|
|
|
|
+ 2, // 2: kratos.api.Bootstrap.jwt:type_name -> kratos.api.JWT
|
|
|
|
|
+ 1, // 3: kratos.api.Bootstrap.traceConf:type_name -> kratos.api.TraceConf
|
|
|
|
|
+ 4, // 4: kratos.api.Server.http:type_name -> kratos.api.HTTP
|
|
|
|
|
+ 5, // 5: kratos.api.Server.grpc:type_name -> kratos.api.GRPC
|
|
|
|
|
+ 6, // 6: kratos.api.Server.registrar:type_name -> kratos.api.Registrar
|
|
|
|
|
+ 11, // 7: kratos.api.HTTP.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 11, // 8: kratos.api.GRPC.timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 8, // 9: kratos.api.Data.database:type_name -> kratos.api.Database
|
|
|
|
|
+ 9, // 10: kratos.api.Data.redis:type_name -> kratos.api.Redis
|
|
|
|
|
+ 10, // 11: kratos.api.Data.mongo:type_name -> kratos.api.Mongo
|
|
|
|
|
+ 11, // 12: kratos.api.Redis.dial_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 11, // 13: kratos.api.Redis.read_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 11, // 14: kratos.api.Redis.write_timeout:type_name -> google.protobuf.Duration
|
|
|
|
|
+ 15, // [15:15] is the sub-list for method output_type
|
|
|
|
|
+ 15, // [15:15] is the sub-list for method input_type
|
|
|
|
|
+ 15, // [15:15] is the sub-list for extension type_name
|
|
|
|
|
+ 15, // [15:15] is the sub-list for extension extendee
|
|
|
|
|
+ 0, // [0:15] is the sub-list for field type_name
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func init() { file_conf_proto_init() }
|
|
func init() { file_conf_proto_init() }
|
|
@@ -857,7 +927,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.(*Server); i {
|
|
|
|
|
|
|
+ switch v := v.(*JWT); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -869,7 +939,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.(*HTTP); i {
|
|
|
|
|
|
|
+ switch v := v.(*Server); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -881,7 +951,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.(*GRPC); i {
|
|
|
|
|
|
|
+ switch v := v.(*HTTP); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -893,7 +963,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.(*Registrar); i {
|
|
|
|
|
|
|
+ switch v := v.(*GRPC); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -905,7 +975,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.(*Data); i {
|
|
|
|
|
|
|
+ switch v := v.(*Registrar); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -917,7 +987,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.(*Database); i {
|
|
|
|
|
|
|
+ switch v := v.(*Data); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -929,7 +999,7 @@ 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.(*Redis); i {
|
|
|
|
|
|
|
+ switch v := v.(*Database); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -941,6 +1011,18 @@ func file_conf_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_conf_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
file_conf_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*Redis); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_conf_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*Mongo); i {
|
|
switch v := v.(*Mongo); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
@@ -959,7 +1041,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: 10,
|
|
|
|
|
|
|
+ NumMessages: 11,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
|
},
|
|
},
|