mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-12 19:30:25 +08:00
增加保存管理员语言选择的API
This commit is contained in:
@@ -946,6 +946,17 @@
|
|||||||
"admin"
|
"admin"
|
||||||
],
|
],
|
||||||
"isDeprecated": false
|
"isDeprecated": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "updateAdminLang",
|
||||||
|
"requestMessageName": "UpdateAdminLangRequest",
|
||||||
|
"responseMessageName": "RPCSuccess",
|
||||||
|
"code": "rpc updateAdminLang(UpdateAdminLangRequest) returns (RPCSuccess);",
|
||||||
|
"doc": "修改管理员使用的语言",
|
||||||
|
"roles": [
|
||||||
|
"admin"
|
||||||
|
],
|
||||||
|
"isDeprecated": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"filename": "service_admin.proto",
|
"filename": "service_admin.proto",
|
||||||
@@ -21673,6 +21684,11 @@
|
|||||||
"code": "message UpdateAdminInfoRequest {\n\tint64 adminId = 1;\n\tstring fullname = 2;\n}",
|
"code": "message UpdateAdminInfoRequest {\n\tint64 adminId = 1;\n\tstring fullname = 2;\n}",
|
||||||
"doc": "修改管理员信息"
|
"doc": "修改管理员信息"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "UpdateAdminLangRequest",
|
||||||
|
"code": "message UpdateAdminLangRequest {\n\tstring langCode = 1; // 语言代号:en-us, zh-cn, ...,如果为空表示默认\n}",
|
||||||
|
"doc": "修改管理员使用的语言"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "UpdateAdminLoginRequest",
|
"name": "UpdateAdminLoginRequest",
|
||||||
"code": "message UpdateAdminLoginRequest {\n\tint64 adminId = 1;\n\tstring username = 2;\n\tstring password = 3;\n}",
|
"code": "message UpdateAdminLoginRequest {\n\tint64 adminId = 1;\n\tstring username = 2;\n\tstring password = 3;\n}",
|
||||||
@@ -21685,7 +21701,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "UpdateAdminThemeRequest",
|
"name": "UpdateAdminThemeRequest",
|
||||||
"code": "message UpdateAdminThemeRequest {\n\tint64 adminId = 1;\n\tstring theme = 2;\n}",
|
"code": "message UpdateAdminThemeRequest {\n\tint64 adminId = 1;\n\tstring theme = 2; // 风格代号\n}",
|
||||||
"doc": "修改管理员使用的界面风格"
|
"doc": "修改管理员使用的界面风格"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1695,7 +1695,7 @@ type UpdateAdminThemeRequest struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"`
|
AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"`
|
||||||
Theme string `protobuf:"bytes,2,opt,name=theme,proto3" json:"theme,omitempty"`
|
Theme string `protobuf:"bytes,2,opt,name=theme,proto3" json:"theme,omitempty"` // 风格代号
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateAdminThemeRequest) Reset() {
|
func (x *UpdateAdminThemeRequest) Reset() {
|
||||||
@@ -1744,6 +1744,54 @@ func (x *UpdateAdminThemeRequest) GetTheme() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 修改管理员使用的语言
|
||||||
|
type UpdateAdminLangRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
LangCode string `protobuf:"bytes,1,opt,name=langCode,proto3" json:"langCode,omitempty"` // 语言代号:en-us, zh-cn, ...,如果为空表示默认
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateAdminLangRequest) Reset() {
|
||||||
|
*x = UpdateAdminLangRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_service_admin_proto_msgTypes[28]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateAdminLangRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*UpdateAdminLangRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *UpdateAdminLangRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_service_admin_proto_msgTypes[28]
|
||||||
|
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 UpdateAdminLangRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*UpdateAdminLangRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_service_admin_proto_rawDescGZIP(), []int{28}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *UpdateAdminLangRequest) GetLangCode() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.LangCode
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
type ComposeAdminDashboardResponse_DailyTrafficStat struct {
|
type ComposeAdminDashboardResponse_DailyTrafficStat struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -1761,7 +1809,7 @@ type ComposeAdminDashboardResponse_DailyTrafficStat struct {
|
|||||||
func (x *ComposeAdminDashboardResponse_DailyTrafficStat) Reset() {
|
func (x *ComposeAdminDashboardResponse_DailyTrafficStat) Reset() {
|
||||||
*x = ComposeAdminDashboardResponse_DailyTrafficStat{}
|
*x = ComposeAdminDashboardResponse_DailyTrafficStat{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_admin_proto_msgTypes[28]
|
mi := &file_service_admin_proto_msgTypes[29]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1774,7 +1822,7 @@ func (x *ComposeAdminDashboardResponse_DailyTrafficStat) String() string {
|
|||||||
func (*ComposeAdminDashboardResponse_DailyTrafficStat) ProtoMessage() {}
|
func (*ComposeAdminDashboardResponse_DailyTrafficStat) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ComposeAdminDashboardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
func (x *ComposeAdminDashboardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_admin_proto_msgTypes[28]
|
mi := &file_service_admin_proto_msgTypes[29]
|
||||||
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 {
|
||||||
@@ -1856,7 +1904,7 @@ type ComposeAdminDashboardResponse_HourlyTrafficStat struct {
|
|||||||
func (x *ComposeAdminDashboardResponse_HourlyTrafficStat) Reset() {
|
func (x *ComposeAdminDashboardResponse_HourlyTrafficStat) Reset() {
|
||||||
*x = ComposeAdminDashboardResponse_HourlyTrafficStat{}
|
*x = ComposeAdminDashboardResponse_HourlyTrafficStat{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_admin_proto_msgTypes[29]
|
mi := &file_service_admin_proto_msgTypes[30]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1869,7 +1917,7 @@ func (x *ComposeAdminDashboardResponse_HourlyTrafficStat) String() string {
|
|||||||
func (*ComposeAdminDashboardResponse_HourlyTrafficStat) ProtoMessage() {}
|
func (*ComposeAdminDashboardResponse_HourlyTrafficStat) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ComposeAdminDashboardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
func (x *ComposeAdminDashboardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_admin_proto_msgTypes[29]
|
mi := &file_service_admin_proto_msgTypes[30]
|
||||||
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 {
|
||||||
@@ -1948,7 +1996,7 @@ type ComposeAdminDashboardResponse_NodeStat struct {
|
|||||||
func (x *ComposeAdminDashboardResponse_NodeStat) Reset() {
|
func (x *ComposeAdminDashboardResponse_NodeStat) Reset() {
|
||||||
*x = ComposeAdminDashboardResponse_NodeStat{}
|
*x = ComposeAdminDashboardResponse_NodeStat{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_admin_proto_msgTypes[30]
|
mi := &file_service_admin_proto_msgTypes[31]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1961,7 +2009,7 @@ func (x *ComposeAdminDashboardResponse_NodeStat) String() string {
|
|||||||
func (*ComposeAdminDashboardResponse_NodeStat) ProtoMessage() {}
|
func (*ComposeAdminDashboardResponse_NodeStat) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ComposeAdminDashboardResponse_NodeStat) ProtoReflect() protoreflect.Message {
|
func (x *ComposeAdminDashboardResponse_NodeStat) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_admin_proto_msgTypes[30]
|
mi := &file_service_admin_proto_msgTypes[31]
|
||||||
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 {
|
||||||
@@ -2019,7 +2067,7 @@ type ComposeAdminDashboardResponse_DomainStat struct {
|
|||||||
func (x *ComposeAdminDashboardResponse_DomainStat) Reset() {
|
func (x *ComposeAdminDashboardResponse_DomainStat) Reset() {
|
||||||
*x = ComposeAdminDashboardResponse_DomainStat{}
|
*x = ComposeAdminDashboardResponse_DomainStat{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_admin_proto_msgTypes[31]
|
mi := &file_service_admin_proto_msgTypes[32]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -2032,7 +2080,7 @@ func (x *ComposeAdminDashboardResponse_DomainStat) String() string {
|
|||||||
func (*ComposeAdminDashboardResponse_DomainStat) ProtoMessage() {}
|
func (*ComposeAdminDashboardResponse_DomainStat) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ComposeAdminDashboardResponse_DomainStat) ProtoReflect() protoreflect.Message {
|
func (x *ComposeAdminDashboardResponse_DomainStat) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_admin_proto_msgTypes[31]
|
mi := &file_service_admin_proto_msgTypes[32]
|
||||||
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 {
|
||||||
@@ -2092,7 +2140,7 @@ type ComposeAdminDashboardResponse_CountryStat struct {
|
|||||||
func (x *ComposeAdminDashboardResponse_CountryStat) Reset() {
|
func (x *ComposeAdminDashboardResponse_CountryStat) Reset() {
|
||||||
*x = ComposeAdminDashboardResponse_CountryStat{}
|
*x = ComposeAdminDashboardResponse_CountryStat{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_admin_proto_msgTypes[32]
|
mi := &file_service_admin_proto_msgTypes[33]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -2105,7 +2153,7 @@ func (x *ComposeAdminDashboardResponse_CountryStat) String() string {
|
|||||||
func (*ComposeAdminDashboardResponse_CountryStat) ProtoMessage() {}
|
func (*ComposeAdminDashboardResponse_CountryStat) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ComposeAdminDashboardResponse_CountryStat) ProtoReflect() protoreflect.Message {
|
func (x *ComposeAdminDashboardResponse_CountryStat) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_admin_proto_msgTypes[32]
|
mi := &file_service_admin_proto_msgTypes[33]
|
||||||
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 {
|
||||||
@@ -2176,7 +2224,7 @@ type ComposeAdminDashboardResponse_UpgradeInfo struct {
|
|||||||
func (x *ComposeAdminDashboardResponse_UpgradeInfo) Reset() {
|
func (x *ComposeAdminDashboardResponse_UpgradeInfo) Reset() {
|
||||||
*x = ComposeAdminDashboardResponse_UpgradeInfo{}
|
*x = ComposeAdminDashboardResponse_UpgradeInfo{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_admin_proto_msgTypes[33]
|
mi := &file_service_admin_proto_msgTypes[34]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -2189,7 +2237,7 @@ func (x *ComposeAdminDashboardResponse_UpgradeInfo) String() string {
|
|||||||
func (*ComposeAdminDashboardResponse_UpgradeInfo) ProtoMessage() {}
|
func (*ComposeAdminDashboardResponse_UpgradeInfo) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ComposeAdminDashboardResponse_UpgradeInfo) ProtoReflect() protoreflect.Message {
|
func (x *ComposeAdminDashboardResponse_UpgradeInfo) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_admin_proto_msgTypes[33]
|
mi := &file_service_admin_proto_msgTypes[34]
|
||||||
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 {
|
||||||
@@ -2543,90 +2591,97 @@ var file_service_admin_proto_rawDesc = []byte{
|
|||||||
0x6e, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
0x6e, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
||||||
0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
||||||
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65,
|
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65,
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x32, 0x9a, 0x0a,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x22, 0x34, 0x0a,
|
||||||
0x0a, 0x0c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b,
|
0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x61, 0x6e, 0x67,
|
||||||
0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x15, 0x2e, 0x70,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x43,
|
||||||
0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x43,
|
||||||
0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x64,
|
0x6f, 0x64, 0x65, 0x32, 0xd9, 0x0a, 0x0a, 0x0c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x72,
|
||||||
0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x63,
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x6d,
|
||||||
0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12,
|
0x69, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x6d,
|
||||||
0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45,
|
0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4c,
|
||||||
0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70,
|
0x6f, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x69, 0x73,
|
0x65, 0x12, 0x4d, 0x0a, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45,
|
||||||
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x68,
|
0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
||||||
0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
|
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d,
|
||||||
0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
0x69, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55,
|
0x12, 0x53, 0x0a, 0x12, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
|
||||||
0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63,
|
||||||
0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x46, 0x75, 0x6c, 0x6c,
|
0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65,
|
||||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x64,
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
||||||
0x6d, 0x69, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73,
|
||||||
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x6d, 0x69,
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x6d,
|
||||||
0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x69, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x65, 0x12, 0x4d, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
0x46, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d,
|
||||||
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45,
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||||
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x6e, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x52,
|
||||||
0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62,
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x64, 0x45,
|
||||||
0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x62,
|
||||||
0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61,
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69,
|
||||||
0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||||
0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x1e, 0x2e,
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61,
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||||
0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x70, 0x62,
|
0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
||||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||||
|
0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d,
|
||||||
|
0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66,
|
||||||
|
0x6f, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d,
|
||||||
|
0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a,
|
||||||
|
0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69,
|
||||||
|
0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d,
|
||||||
|
0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
|
||||||
|
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x56,
|
||||||
|
0x0a, 0x13, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f,
|
||||||
|
0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||||
|
0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65,
|
||||||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||||
|
0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65,
|
||||||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
|
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||||
|
0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65,
|
||||||
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||||
|
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||||
|
0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
|
||||||
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a,
|
||||||
|
0x15, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||||
|
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
||||||
|
0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
||||||
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
||||||
|
0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50,
|
||||||
|
0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d,
|
||||||
|
0x69, 0x6e, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61,
|
||||||
|
0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
|
0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
|
0x12, 0x35, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12,
|
||||||
|
0x16, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
||||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74,
|
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x68, 0x65, 0x63, 0x6b,
|
||||||
0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x62,
|
0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x54, 0x50, 0x57, 0x69, 0x74, 0x68, 0x55, 0x73, 0x65, 0x72,
|
||||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69,
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41,
|
||||||
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
|
||||||
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x56, 0x0a, 0x13, 0x66, 0x69, 0x6e, 0x64,
|
|
||||||
0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12,
|
|
||||||
0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69,
|
|
||||||
0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
||||||
0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69,
|
|
||||||
0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
||||||
0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12,
|
|
||||||
0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
|
|
||||||
0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
||||||
0x12, 0x35, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12,
|
|
||||||
0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
|
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
|
||||||
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a, 0x15, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
||||||
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73,
|
|
||||||
0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
|
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
||||||
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
||||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74,
|
|
||||||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x1c, 0x2e,
|
|
||||||
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64,
|
|
||||||
0x6d, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62,
|
|
||||||
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69,
|
|
||||||
0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x64, 0x65,
|
|
||||||
0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
|
||||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
|
||||||
0x73, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f,
|
|
||||||
0x54, 0x50, 0x57, 0x69, 0x74, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24,
|
|
||||||
0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x54,
|
|
||||||
0x50, 0x57, 0x69, 0x74, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71,
|
|
||||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41,
|
|
||||||
0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x54, 0x50, 0x57, 0x69, 0x74, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e,
|
0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x54, 0x50, 0x57, 0x69, 0x74, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e,
|
||||||
0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x63,
|
0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62,
|
0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x54, 0x50, 0x57, 0x69, 0x74,
|
||||||
0x6f, 0x61, 0x72, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73,
|
0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52,
|
0x65, 0x12, 0x5c, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
|
0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e,
|
||||||
0x6f, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72,
|
0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x44, 0x61, 0x73, 0x68,
|
||||||
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x10, 0x75, 0x70, 0x64,
|
0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70,
|
||||||
0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x1b, 0x2e,
|
0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x44, 0x61,
|
||||||
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x68,
|
0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||||
0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
|
0x3f, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x68,
|
||||||
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
0x65, 0x6d, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
|
||||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x64, 0x6d, 0x69, 0x6e, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||||
|
0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c,
|
||||||
|
0x61, 0x6e, 0x67, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
|
||||||
|
0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x61, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||||
|
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42,
|
||||||
|
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -2641,7 +2696,7 @@ func file_service_admin_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_admin_proto_rawDescData
|
return file_service_admin_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
|
var file_service_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 35)
|
||||||
var file_service_admin_proto_goTypes = []interface{}{
|
var file_service_admin_proto_goTypes = []interface{}{
|
||||||
(*LoginAdminRequest)(nil), // 0: pb.LoginAdminRequest
|
(*LoginAdminRequest)(nil), // 0: pb.LoginAdminRequest
|
||||||
(*LoginAdminResponse)(nil), // 1: pb.LoginAdminResponse
|
(*LoginAdminResponse)(nil), // 1: pb.LoginAdminResponse
|
||||||
@@ -2671,34 +2726,35 @@ var file_service_admin_proto_goTypes = []interface{}{
|
|||||||
(*ComposeAdminDashboardRequest)(nil), // 25: pb.ComposeAdminDashboardRequest
|
(*ComposeAdminDashboardRequest)(nil), // 25: pb.ComposeAdminDashboardRequest
|
||||||
(*ComposeAdminDashboardResponse)(nil), // 26: pb.ComposeAdminDashboardResponse
|
(*ComposeAdminDashboardResponse)(nil), // 26: pb.ComposeAdminDashboardResponse
|
||||||
(*UpdateAdminThemeRequest)(nil), // 27: pb.UpdateAdminThemeRequest
|
(*UpdateAdminThemeRequest)(nil), // 27: pb.UpdateAdminThemeRequest
|
||||||
(*ComposeAdminDashboardResponse_DailyTrafficStat)(nil), // 28: pb.ComposeAdminDashboardResponse.DailyTrafficStat
|
(*UpdateAdminLangRequest)(nil), // 28: pb.UpdateAdminLangRequest
|
||||||
(*ComposeAdminDashboardResponse_HourlyTrafficStat)(nil), // 29: pb.ComposeAdminDashboardResponse.HourlyTrafficStat
|
(*ComposeAdminDashboardResponse_DailyTrafficStat)(nil), // 29: pb.ComposeAdminDashboardResponse.DailyTrafficStat
|
||||||
(*ComposeAdminDashboardResponse_NodeStat)(nil), // 30: pb.ComposeAdminDashboardResponse.NodeStat
|
(*ComposeAdminDashboardResponse_HourlyTrafficStat)(nil), // 30: pb.ComposeAdminDashboardResponse.HourlyTrafficStat
|
||||||
(*ComposeAdminDashboardResponse_DomainStat)(nil), // 31: pb.ComposeAdminDashboardResponse.DomainStat
|
(*ComposeAdminDashboardResponse_NodeStat)(nil), // 31: pb.ComposeAdminDashboardResponse.NodeStat
|
||||||
(*ComposeAdminDashboardResponse_CountryStat)(nil), // 32: pb.ComposeAdminDashboardResponse.CountryStat
|
(*ComposeAdminDashboardResponse_DomainStat)(nil), // 32: pb.ComposeAdminDashboardResponse.DomainStat
|
||||||
(*ComposeAdminDashboardResponse_UpgradeInfo)(nil), // 33: pb.ComposeAdminDashboardResponse.UpgradeInfo
|
(*ComposeAdminDashboardResponse_CountryStat)(nil), // 33: pb.ComposeAdminDashboardResponse.CountryStat
|
||||||
(*Admin)(nil), // 34: pb.Admin
|
(*ComposeAdminDashboardResponse_UpgradeInfo)(nil), // 34: pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
(*AdminModuleList)(nil), // 35: pb.AdminModuleList
|
(*Admin)(nil), // 35: pb.Admin
|
||||||
(*MetricDataChart)(nil), // 36: pb.MetricDataChart
|
(*AdminModuleList)(nil), // 36: pb.AdminModuleList
|
||||||
(*RPCSuccess)(nil), // 37: pb.RPCSuccess
|
(*MetricDataChart)(nil), // 37: pb.MetricDataChart
|
||||||
(*RPCCountResponse)(nil), // 38: pb.RPCCountResponse
|
(*RPCSuccess)(nil), // 38: pb.RPCSuccess
|
||||||
|
(*RPCCountResponse)(nil), // 39: pb.RPCCountResponse
|
||||||
}
|
}
|
||||||
var file_service_admin_proto_depIdxs = []int32{
|
var file_service_admin_proto_depIdxs = []int32{
|
||||||
34, // 0: pb.FindEnabledAdminResponse.admin:type_name -> pb.Admin
|
35, // 0: pb.FindEnabledAdminResponse.admin:type_name -> pb.Admin
|
||||||
35, // 1: pb.FindAllAdminModulesResponse.adminModules:type_name -> pb.AdminModuleList
|
36, // 1: pb.FindAllAdminModulesResponse.adminModules:type_name -> pb.AdminModuleList
|
||||||
34, // 2: pb.ListEnabledAdminsResponse.admins:type_name -> pb.Admin
|
35, // 2: pb.ListEnabledAdminsResponse.admins:type_name -> pb.Admin
|
||||||
28, // 3: pb.ComposeAdminDashboardResponse.dailyTrafficStats:type_name -> pb.ComposeAdminDashboardResponse.DailyTrafficStat
|
29, // 3: pb.ComposeAdminDashboardResponse.dailyTrafficStats:type_name -> pb.ComposeAdminDashboardResponse.DailyTrafficStat
|
||||||
29, // 4: pb.ComposeAdminDashboardResponse.hourlyTrafficStats:type_name -> pb.ComposeAdminDashboardResponse.HourlyTrafficStat
|
30, // 4: pb.ComposeAdminDashboardResponse.hourlyTrafficStats:type_name -> pb.ComposeAdminDashboardResponse.HourlyTrafficStat
|
||||||
33, // 5: pb.ComposeAdminDashboardResponse.nodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
34, // 5: pb.ComposeAdminDashboardResponse.nodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
33, // 6: pb.ComposeAdminDashboardResponse.apiNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
34, // 6: pb.ComposeAdminDashboardResponse.apiNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
33, // 7: pb.ComposeAdminDashboardResponse.userNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
34, // 7: pb.ComposeAdminDashboardResponse.userNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
33, // 8: pb.ComposeAdminDashboardResponse.authorityNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
34, // 8: pb.ComposeAdminDashboardResponse.authorityNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
33, // 9: pb.ComposeAdminDashboardResponse.nsNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
34, // 9: pb.ComposeAdminDashboardResponse.nsNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
33, // 10: pb.ComposeAdminDashboardResponse.reportNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
34, // 10: pb.ComposeAdminDashboardResponse.reportNodeUpgradeInfo:type_name -> pb.ComposeAdminDashboardResponse.UpgradeInfo
|
||||||
30, // 11: pb.ComposeAdminDashboardResponse.topNodeStats:type_name -> pb.ComposeAdminDashboardResponse.NodeStat
|
31, // 11: pb.ComposeAdminDashboardResponse.topNodeStats:type_name -> pb.ComposeAdminDashboardResponse.NodeStat
|
||||||
31, // 12: pb.ComposeAdminDashboardResponse.topDomainStats:type_name -> pb.ComposeAdminDashboardResponse.DomainStat
|
32, // 12: pb.ComposeAdminDashboardResponse.topDomainStats:type_name -> pb.ComposeAdminDashboardResponse.DomainStat
|
||||||
32, // 13: pb.ComposeAdminDashboardResponse.topCountryStats:type_name -> pb.ComposeAdminDashboardResponse.CountryStat
|
33, // 13: pb.ComposeAdminDashboardResponse.topCountryStats:type_name -> pb.ComposeAdminDashboardResponse.CountryStat
|
||||||
36, // 14: pb.ComposeAdminDashboardResponse.metricDataCharts:type_name -> pb.MetricDataChart
|
37, // 14: pb.ComposeAdminDashboardResponse.metricDataCharts:type_name -> pb.MetricDataChart
|
||||||
0, // 15: pb.AdminService.loginAdmin:input_type -> pb.LoginAdminRequest
|
0, // 15: pb.AdminService.loginAdmin:input_type -> pb.LoginAdminRequest
|
||||||
2, // 16: pb.AdminService.checkAdminExists:input_type -> pb.CheckAdminExistsRequest
|
2, // 16: pb.AdminService.checkAdminExists:input_type -> pb.CheckAdminExistsRequest
|
||||||
4, // 17: pb.AdminService.checkAdminUsername:input_type -> pb.CheckAdminUsernameRequest
|
4, // 17: pb.AdminService.checkAdminUsername:input_type -> pb.CheckAdminUsernameRequest
|
||||||
@@ -2716,25 +2772,27 @@ var file_service_admin_proto_depIdxs = []int32{
|
|||||||
23, // 29: pb.AdminService.checkAdminOTPWithUsername:input_type -> pb.CheckAdminOTPWithUsernameRequest
|
23, // 29: pb.AdminService.checkAdminOTPWithUsername:input_type -> pb.CheckAdminOTPWithUsernameRequest
|
||||||
25, // 30: pb.AdminService.composeAdminDashboard:input_type -> pb.ComposeAdminDashboardRequest
|
25, // 30: pb.AdminService.composeAdminDashboard:input_type -> pb.ComposeAdminDashboardRequest
|
||||||
27, // 31: pb.AdminService.updateAdminTheme:input_type -> pb.UpdateAdminThemeRequest
|
27, // 31: pb.AdminService.updateAdminTheme:input_type -> pb.UpdateAdminThemeRequest
|
||||||
1, // 32: pb.AdminService.loginAdmin:output_type -> pb.LoginAdminResponse
|
28, // 32: pb.AdminService.updateAdminLang:input_type -> pb.UpdateAdminLangRequest
|
||||||
3, // 33: pb.AdminService.checkAdminExists:output_type -> pb.CheckAdminExistsResponse
|
1, // 33: pb.AdminService.loginAdmin:output_type -> pb.LoginAdminResponse
|
||||||
5, // 34: pb.AdminService.checkAdminUsername:output_type -> pb.CheckAdminUsernameResponse
|
3, // 34: pb.AdminService.checkAdminExists:output_type -> pb.CheckAdminExistsResponse
|
||||||
7, // 35: pb.AdminService.findAdminFullname:output_type -> pb.FindAdminFullnameResponse
|
5, // 35: pb.AdminService.checkAdminUsername:output_type -> pb.CheckAdminUsernameResponse
|
||||||
9, // 36: pb.AdminService.findEnabledAdmin:output_type -> pb.FindEnabledAdminResponse
|
7, // 36: pb.AdminService.findAdminFullname:output_type -> pb.FindAdminFullnameResponse
|
||||||
11, // 37: pb.AdminService.createOrUpdateAdmin:output_type -> pb.CreateOrUpdateAdminResponse
|
9, // 37: pb.AdminService.findEnabledAdmin:output_type -> pb.FindEnabledAdminResponse
|
||||||
37, // 38: pb.AdminService.updateAdminInfo:output_type -> pb.RPCSuccess
|
11, // 38: pb.AdminService.createOrUpdateAdmin:output_type -> pb.CreateOrUpdateAdminResponse
|
||||||
37, // 39: pb.AdminService.updateAdminLogin:output_type -> pb.RPCSuccess
|
38, // 39: pb.AdminService.updateAdminInfo:output_type -> pb.RPCSuccess
|
||||||
15, // 40: pb.AdminService.findAllAdminModules:output_type -> pb.FindAllAdminModulesResponse
|
38, // 40: pb.AdminService.updateAdminLogin:output_type -> pb.RPCSuccess
|
||||||
17, // 41: pb.AdminService.createAdmin:output_type -> pb.CreateAdminResponse
|
15, // 41: pb.AdminService.findAllAdminModules:output_type -> pb.FindAllAdminModulesResponse
|
||||||
37, // 42: pb.AdminService.updateAdmin:output_type -> pb.RPCSuccess
|
17, // 42: pb.AdminService.createAdmin:output_type -> pb.CreateAdminResponse
|
||||||
38, // 43: pb.AdminService.countAllEnabledAdmins:output_type -> pb.RPCCountResponse
|
38, // 43: pb.AdminService.updateAdmin:output_type -> pb.RPCSuccess
|
||||||
21, // 44: pb.AdminService.listEnabledAdmins:output_type -> pb.ListEnabledAdminsResponse
|
39, // 44: pb.AdminService.countAllEnabledAdmins:output_type -> pb.RPCCountResponse
|
||||||
37, // 45: pb.AdminService.deleteAdmin:output_type -> pb.RPCSuccess
|
21, // 45: pb.AdminService.listEnabledAdmins:output_type -> pb.ListEnabledAdminsResponse
|
||||||
24, // 46: pb.AdminService.checkAdminOTPWithUsername:output_type -> pb.CheckAdminOTPWithUsernameResponse
|
38, // 46: pb.AdminService.deleteAdmin:output_type -> pb.RPCSuccess
|
||||||
26, // 47: pb.AdminService.composeAdminDashboard:output_type -> pb.ComposeAdminDashboardResponse
|
24, // 47: pb.AdminService.checkAdminOTPWithUsername:output_type -> pb.CheckAdminOTPWithUsernameResponse
|
||||||
37, // 48: pb.AdminService.updateAdminTheme:output_type -> pb.RPCSuccess
|
26, // 48: pb.AdminService.composeAdminDashboard:output_type -> pb.ComposeAdminDashboardResponse
|
||||||
32, // [32:49] is the sub-list for method output_type
|
38, // 49: pb.AdminService.updateAdminTheme:output_type -> pb.RPCSuccess
|
||||||
15, // [15:32] is the sub-list for method input_type
|
38, // 50: pb.AdminService.updateAdminLang:output_type -> pb.RPCSuccess
|
||||||
|
33, // [33:51] is the sub-list for method output_type
|
||||||
|
15, // [15:33] 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 type_name
|
||||||
15, // [15:15] is the sub-list for extension extendee
|
15, // [15:15] is the sub-list for extension extendee
|
||||||
0, // [0:15] is the sub-list for field type_name
|
0, // [0:15] is the sub-list for field type_name
|
||||||
@@ -3087,7 +3145,7 @@ func file_service_admin_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_admin_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
file_service_admin_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ComposeAdminDashboardResponse_DailyTrafficStat); i {
|
switch v := v.(*UpdateAdminLangRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -3099,7 +3157,7 @@ func file_service_admin_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_admin_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
file_service_admin_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ComposeAdminDashboardResponse_HourlyTrafficStat); i {
|
switch v := v.(*ComposeAdminDashboardResponse_DailyTrafficStat); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -3111,7 +3169,7 @@ func file_service_admin_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_admin_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
file_service_admin_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ComposeAdminDashboardResponse_NodeStat); i {
|
switch v := v.(*ComposeAdminDashboardResponse_HourlyTrafficStat); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -3123,7 +3181,7 @@ func file_service_admin_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_admin_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
file_service_admin_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ComposeAdminDashboardResponse_DomainStat); i {
|
switch v := v.(*ComposeAdminDashboardResponse_NodeStat); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -3135,7 +3193,7 @@ func file_service_admin_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_admin_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
file_service_admin_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ComposeAdminDashboardResponse_CountryStat); i {
|
switch v := v.(*ComposeAdminDashboardResponse_DomainStat); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -3147,6 +3205,18 @@ func file_service_admin_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_admin_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
file_service_admin_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ComposeAdminDashboardResponse_CountryStat); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_service_admin_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ComposeAdminDashboardResponse_UpgradeInfo); i {
|
switch v := v.(*ComposeAdminDashboardResponse_UpgradeInfo); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -3165,7 +3235,7 @@ func file_service_admin_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_admin_proto_rawDesc,
|
RawDescriptor: file_service_admin_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 34,
|
NumMessages: 35,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ const (
|
|||||||
AdminService_CheckAdminOTPWithUsername_FullMethodName = "/pb.AdminService/checkAdminOTPWithUsername"
|
AdminService_CheckAdminOTPWithUsername_FullMethodName = "/pb.AdminService/checkAdminOTPWithUsername"
|
||||||
AdminService_ComposeAdminDashboard_FullMethodName = "/pb.AdminService/composeAdminDashboard"
|
AdminService_ComposeAdminDashboard_FullMethodName = "/pb.AdminService/composeAdminDashboard"
|
||||||
AdminService_UpdateAdminTheme_FullMethodName = "/pb.AdminService/updateAdminTheme"
|
AdminService_UpdateAdminTheme_FullMethodName = "/pb.AdminService/updateAdminTheme"
|
||||||
|
AdminService_UpdateAdminLang_FullMethodName = "/pb.AdminService/updateAdminLang"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AdminServiceClient is the client API for AdminService service.
|
// AdminServiceClient is the client API for AdminService service.
|
||||||
@@ -76,6 +77,8 @@ type AdminServiceClient interface {
|
|||||||
ComposeAdminDashboard(ctx context.Context, in *ComposeAdminDashboardRequest, opts ...grpc.CallOption) (*ComposeAdminDashboardResponse, error)
|
ComposeAdminDashboard(ctx context.Context, in *ComposeAdminDashboardRequest, opts ...grpc.CallOption) (*ComposeAdminDashboardResponse, error)
|
||||||
// 修改管理员使用的界面风格
|
// 修改管理员使用的界面风格
|
||||||
UpdateAdminTheme(ctx context.Context, in *UpdateAdminThemeRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
UpdateAdminTheme(ctx context.Context, in *UpdateAdminThemeRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
|
// 修改管理员使用的语言
|
||||||
|
UpdateAdminLang(ctx context.Context, in *UpdateAdminLangRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
type adminServiceClient struct {
|
type adminServiceClient struct {
|
||||||
@@ -239,6 +242,15 @@ func (c *adminServiceClient) UpdateAdminTheme(ctx context.Context, in *UpdateAdm
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *adminServiceClient) UpdateAdminLang(ctx context.Context, in *UpdateAdminLangRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
||||||
|
out := new(RPCSuccess)
|
||||||
|
err := c.cc.Invoke(ctx, AdminService_UpdateAdminLang_FullMethodName, in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
// AdminServiceServer is the server API for AdminService service.
|
// AdminServiceServer is the server API for AdminService service.
|
||||||
// All implementations should embed UnimplementedAdminServiceServer
|
// All implementations should embed UnimplementedAdminServiceServer
|
||||||
// for forward compatibility
|
// for forward compatibility
|
||||||
@@ -277,6 +289,8 @@ type AdminServiceServer interface {
|
|||||||
ComposeAdminDashboard(context.Context, *ComposeAdminDashboardRequest) (*ComposeAdminDashboardResponse, error)
|
ComposeAdminDashboard(context.Context, *ComposeAdminDashboardRequest) (*ComposeAdminDashboardResponse, error)
|
||||||
// 修改管理员使用的界面风格
|
// 修改管理员使用的界面风格
|
||||||
UpdateAdminTheme(context.Context, *UpdateAdminThemeRequest) (*RPCSuccess, error)
|
UpdateAdminTheme(context.Context, *UpdateAdminThemeRequest) (*RPCSuccess, error)
|
||||||
|
// 修改管理员使用的语言
|
||||||
|
UpdateAdminLang(context.Context, *UpdateAdminLangRequest) (*RPCSuccess, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnimplementedAdminServiceServer should be embedded to have forward compatible implementations.
|
// UnimplementedAdminServiceServer should be embedded to have forward compatible implementations.
|
||||||
@@ -334,6 +348,9 @@ func (UnimplementedAdminServiceServer) ComposeAdminDashboard(context.Context, *C
|
|||||||
func (UnimplementedAdminServiceServer) UpdateAdminTheme(context.Context, *UpdateAdminThemeRequest) (*RPCSuccess, error) {
|
func (UnimplementedAdminServiceServer) UpdateAdminTheme(context.Context, *UpdateAdminThemeRequest) (*RPCSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method UpdateAdminTheme not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateAdminTheme not implemented")
|
||||||
}
|
}
|
||||||
|
func (UnimplementedAdminServiceServer) UpdateAdminLang(context.Context, *UpdateAdminLangRequest) (*RPCSuccess, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateAdminLang not implemented")
|
||||||
|
}
|
||||||
|
|
||||||
// UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service.
|
// UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service.
|
||||||
// Use of this interface is not recommended, as added methods to AdminServiceServer will
|
// Use of this interface is not recommended, as added methods to AdminServiceServer will
|
||||||
@@ -652,6 +669,24 @@ func _AdminService_UpdateAdminTheme_Handler(srv interface{}, ctx context.Context
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func _AdminService_UpdateAdminLang_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(UpdateAdminLangRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(AdminServiceServer).UpdateAdminLang(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: AdminService_UpdateAdminLang_FullMethodName,
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(AdminServiceServer).UpdateAdminLang(ctx, req.(*UpdateAdminLangRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
// AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service.
|
// AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service.
|
||||||
// It's only intended for direct use with grpc.RegisterService,
|
// It's only intended for direct use with grpc.RegisterService,
|
||||||
// and not to be introspected or modified (even as a copy)
|
// and not to be introspected or modified (even as a copy)
|
||||||
@@ -727,6 +762,10 @@ var AdminService_ServiceDesc = grpc.ServiceDesc{
|
|||||||
MethodName: "updateAdminTheme",
|
MethodName: "updateAdminTheme",
|
||||||
Handler: _AdminService_UpdateAdminTheme_Handler,
|
Handler: _AdminService_UpdateAdminTheme_Handler,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
MethodName: "updateAdminLang",
|
||||||
|
Handler: _AdminService_UpdateAdminLang_Handler,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Streams: []grpc.StreamDesc{},
|
Streams: []grpc.StreamDesc{},
|
||||||
Metadata: "service_admin.proto",
|
Metadata: "service_admin.proto",
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ service AdminService {
|
|||||||
|
|
||||||
// 修改管理员使用的界面风格
|
// 修改管理员使用的界面风格
|
||||||
rpc updateAdminTheme (UpdateAdminThemeRequest) returns (RPCSuccess);
|
rpc updateAdminTheme (UpdateAdminThemeRequest) returns (RPCSuccess);
|
||||||
|
|
||||||
|
// 修改管理员使用的语言
|
||||||
|
rpc updateAdminLang(UpdateAdminLangRequest) returns (RPCSuccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 登录
|
// 登录
|
||||||
@@ -291,5 +294,10 @@ message ComposeAdminDashboardResponse {
|
|||||||
// 修改管理员使用的界面风格
|
// 修改管理员使用的界面风格
|
||||||
message UpdateAdminThemeRequest {
|
message UpdateAdminThemeRequest {
|
||||||
int64 adminId = 1;
|
int64 adminId = 1;
|
||||||
string theme = 2;
|
string theme = 2; // 风格代号
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改管理员使用的语言
|
||||||
|
message UpdateAdminLangRequest {
|
||||||
|
string langCode = 1; // 语言代号:en-us, zh-cn, ...,如果为空表示默认
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user