mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-18 17:12:47 +03:00
Add SSH inbound, log level. Update MTPROXY. Fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v6.31.1
|
||||
// protoc v7.34.1
|
||||
// source: service/manager_api/grpc/manager/manager.proto
|
||||
|
||||
package manager
|
||||
@@ -550,21 +550,22 @@ func (x *NodeUpdateRequest) GetUpdate() *NodeUpdate {
|
||||
}
|
||||
|
||||
type User struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
||||
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
||||
Inbound string `protobuf:"bytes,4,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||
Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||
Flow string `protobuf:"bytes,9,opt,name=flow,proto3" json:"flow,omitempty"`
|
||||
AlterId int32 `protobuf:"varint,10,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
||||
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
||||
Inbound string `protobuf:"bytes,4,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||
Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||
AuthorizedKeys []string `protobuf:"bytes,13,rep,name=authorized_keys,json=authorizedKeys,proto3" json:"authorized_keys,omitempty"`
|
||||
Flow string `protobuf:"bytes,9,opt,name=flow,proto3" json:"flow,omitempty"`
|
||||
AlterId int32 `protobuf:"varint,10,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *User) Reset() {
|
||||
@@ -653,6 +654,13 @@ func (x *User) GetSecret() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *User) GetAuthorizedKeys() []string {
|
||||
if x != nil {
|
||||
return x.AuthorizedKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *User) GetFlow() string {
|
||||
if x != nil {
|
||||
return x.Flow
|
||||
@@ -682,18 +690,19 @@ func (x *User) GetUpdatedAt() int64 {
|
||||
}
|
||||
|
||||
type UserCreate struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
||||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||||
Inbound string `protobuf:"bytes,3,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
||||
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||
Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||
Flow string `protobuf:"bytes,8,opt,name=flow,proto3" json:"flow,omitempty"`
|
||||
AlterId int32 `protobuf:"varint,9,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
||||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||||
Inbound string `protobuf:"bytes,3,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
||||
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||
Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||
AuthorizedKeys []string `protobuf:"bytes,10,rep,name=authorized_keys,json=authorizedKeys,proto3" json:"authorized_keys,omitempty"`
|
||||
Flow string `protobuf:"bytes,8,opt,name=flow,proto3" json:"flow,omitempty"`
|
||||
AlterId int32 `protobuf:"varint,9,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UserCreate) Reset() {
|
||||
@@ -775,6 +784,13 @@ func (x *UserCreate) GetSecret() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserCreate) GetAuthorizedKeys() []string {
|
||||
if x != nil {
|
||||
return x.AuthorizedKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UserCreate) GetFlow() string {
|
||||
if x != nil {
|
||||
return x.Flow
|
||||
@@ -790,14 +806,15 @@ func (x *UserCreate) GetAlterId() int32 {
|
||||
}
|
||||
|
||||
type UserUpdate struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||
Flow string `protobuf:"bytes,4,opt,name=flow,proto3" json:"flow,omitempty"`
|
||||
AlterId int32 `protobuf:"varint,5,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||
AuthorizedKeys []string `protobuf:"bytes,6,rep,name=authorized_keys,json=authorizedKeys,proto3" json:"authorized_keys,omitempty"`
|
||||
Flow string `protobuf:"bytes,4,opt,name=flow,proto3" json:"flow,omitempty"`
|
||||
AlterId int32 `protobuf:"varint,5,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UserUpdate) Reset() {
|
||||
@@ -851,6 +868,13 @@ func (x *UserUpdate) GetSecret() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserUpdate) GetAuthorizedKeys() []string {
|
||||
if x != nil {
|
||||
return x.AuthorizedKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *UserUpdate) GetFlow() string {
|
||||
if x != nil {
|
||||
return x.Flow
|
||||
@@ -2878,7 +2902,7 @@ const file_service_manager_api_grpc_manager_manager_proto_rawDesc = "" +
|
||||
"\x06values\x18\x01 \x03(\v2\x14.manager_api.v1.NodeR\x06values\"[\n" +
|
||||
"\x11NodeUpdateRequest\x12\x12\n" +
|
||||
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x122\n" +
|
||||
"\x06update\x18\x02 \x01(\v2\x1a.manager_api.v1.NodeUpdateR\x06update\"\xb2\x02\n" +
|
||||
"\x06update\x18\x02 \x01(\v2\x1a.manager_api.v1.NodeUpdateR\x06update\"\xdb\x02\n" +
|
||||
"\x04User\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1b\n" +
|
||||
"\tsquad_ids\x18\x02 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
||||
@@ -2887,14 +2911,15 @@ const file_service_manager_api_grpc_manager_manager_proto_rawDesc = "" +
|
||||
"\x04type\x18\x05 \x01(\tR\x04type\x12\x12\n" +
|
||||
"\x04uuid\x18\x06 \x01(\tR\x04uuid\x12\x1a\n" +
|
||||
"\bpassword\x18\a \x01(\tR\bpassword\x12\x16\n" +
|
||||
"\x06secret\x18\b \x01(\tR\x06secret\x12\x12\n" +
|
||||
"\x06secret\x18\b \x01(\tR\x06secret\x12'\n" +
|
||||
"\x0fauthorized_keys\x18\r \x03(\tR\x0eauthorizedKeys\x12\x12\n" +
|
||||
"\x04flow\x18\t \x01(\tR\x04flow\x12\x19\n" +
|
||||
"\balter_id\x18\n" +
|
||||
" \x01(\x05R\aalterId\x12\x1d\n" +
|
||||
"\n" +
|
||||
"created_at\x18\v \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\f \x01(\x03R\tupdatedAt\"\xea\x01\n" +
|
||||
"updated_at\x18\f \x01(\x03R\tupdatedAt\"\x93\x02\n" +
|
||||
"\n" +
|
||||
"UserCreate\x12\x1b\n" +
|
||||
"\tsquad_ids\x18\x01 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
||||
@@ -2903,14 +2928,17 @@ const file_service_manager_api_grpc_manager_manager_proto_rawDesc = "" +
|
||||
"\x04type\x18\x04 \x01(\tR\x04type\x12\x12\n" +
|
||||
"\x04uuid\x18\x05 \x01(\tR\x04uuid\x12\x1a\n" +
|
||||
"\bpassword\x18\x06 \x01(\tR\bpassword\x12\x16\n" +
|
||||
"\x06secret\x18\a \x01(\tR\x06secret\x12\x12\n" +
|
||||
"\x06secret\x18\a \x01(\tR\x06secret\x12'\n" +
|
||||
"\x0fauthorized_keys\x18\n" +
|
||||
" \x03(\tR\x0eauthorizedKeys\x12\x12\n" +
|
||||
"\x04flow\x18\b \x01(\tR\x04flow\x12\x19\n" +
|
||||
"\balter_id\x18\t \x01(\x05R\aalterId\"\x83\x01\n" +
|
||||
"\balter_id\x18\t \x01(\x05R\aalterId\"\xac\x01\n" +
|
||||
"\n" +
|
||||
"UserUpdate\x12\x12\n" +
|
||||
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x16\n" +
|
||||
"\x06secret\x18\x03 \x01(\tR\x06secret\x12\x12\n" +
|
||||
"\x06secret\x18\x03 \x01(\tR\x06secret\x12'\n" +
|
||||
"\x0fauthorized_keys\x18\x06 \x03(\tR\x0eauthorizedKeys\x12\x12\n" +
|
||||
"\x04flow\x18\x04 \x01(\tR\x04flow\x12\x19\n" +
|
||||
"\balter_id\x18\x05 \x01(\x05R\aalterId\"8\n" +
|
||||
"\bUserList\x12,\n" +
|
||||
|
||||
Reference in New Issue
Block a user