|
@@ -3,6 +3,7 @@ package v2rayapi
|
|
|
import (
|
|
|
reflect "reflect"
|
|
|
sync "sync"
|
|
|
+ unsafe "unsafe"
|
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
@@ -16,23 +17,20 @@ const (
|
|
|
)
|
|
|
|
|
|
type GetStatsRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
// Name of the stat counter.
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
// Whether or not to reset the counter to fetching its value.
|
|
|
- Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
|
|
|
+ Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *GetStatsRequest) Reset() {
|
|
|
*x = GetStatsRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[0]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *GetStatsRequest) String() string {
|
|
@@ -43,7 +41,7 @@ func (*GetStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *GetStatsRequest) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[0]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -73,21 +71,18 @@ func (x *GetStatsRequest) GetReset_() bool {
|
|
|
}
|
|
|
|
|
|
type Stat struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
+ Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
- Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *Stat) Reset() {
|
|
|
*x = Stat{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[1]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *Stat) String() string {
|
|
@@ -98,7 +93,7 @@ func (*Stat) ProtoMessage() {}
|
|
|
|
|
|
func (x *Stat) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[1]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -128,20 +123,17 @@ func (x *Stat) GetValue() int64 {
|
|
|
}
|
|
|
|
|
|
type GetStatsResponse struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
+ Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *GetStatsResponse) Reset() {
|
|
|
*x = GetStatsResponse{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[2]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *GetStatsResponse) String() string {
|
|
@@ -152,7 +144,7 @@ func (*GetStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
func (x *GetStatsResponse) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[2]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -175,24 +167,21 @@ func (x *GetStatsResponse) GetStat() *Stat {
|
|
|
}
|
|
|
|
|
|
type QueryStatsRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
// Deprecated, use Patterns instead
|
|
|
- Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
|
|
|
- Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
|
|
|
- Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
|
|
|
- Regexp bool `protobuf:"varint,4,opt,name=regexp,proto3" json:"regexp,omitempty"`
|
|
|
+ Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
|
|
|
+ Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
|
|
|
+ Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
|
|
|
+ Regexp bool `protobuf:"varint,4,opt,name=regexp,proto3" json:"regexp,omitempty"`
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *QueryStatsRequest) Reset() {
|
|
|
*x = QueryStatsRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[3]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *QueryStatsRequest) String() string {
|
|
@@ -203,7 +192,7 @@ func (*QueryStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *QueryStatsRequest) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[3]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -247,20 +236,17 @@ func (x *QueryStatsRequest) GetRegexp() bool {
|
|
|
}
|
|
|
|
|
|
type QueryStatsResponse struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
+ Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"`
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *QueryStatsResponse) Reset() {
|
|
|
*x = QueryStatsResponse{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[4]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *QueryStatsResponse) String() string {
|
|
@@ -271,7 +257,7 @@ func (*QueryStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[4]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -294,18 +280,16 @@ func (x *QueryStatsResponse) GetStat() []*Stat {
|
|
|
}
|
|
|
|
|
|
type SysStatsRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *SysStatsRequest) Reset() {
|
|
|
*x = SysStatsRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[5]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[5]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *SysStatsRequest) String() string {
|
|
@@ -316,7 +300,7 @@ func (*SysStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
func (x *SysStatsRequest) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[5]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -332,29 +316,26 @@ func (*SysStatsRequest) Descriptor() ([]byte, []int) {
|
|
|
}
|
|
|
|
|
|
type SysStatsResponse struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
+ state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
+ NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
|
|
|
+ NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
|
|
|
+ Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
|
|
|
+ TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
|
|
|
+ Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"`
|
|
|
+ Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
|
|
|
+ Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"`
|
|
|
+ LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"`
|
|
|
+ PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
|
|
|
+ Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
|
|
|
- NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
|
|
|
- Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
|
|
|
- TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
|
|
|
- Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"`
|
|
|
- Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
|
|
|
- Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"`
|
|
|
- LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"`
|
|
|
- PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
|
|
|
- Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"`
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
}
|
|
|
|
|
|
func (x *SysStatsResponse) Reset() {
|
|
|
*x = SysStatsResponse{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_experimental_v2rayapi_stats_proto_msgTypes[6]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
+ mi := &file_experimental_v2rayapi_stats_proto_msgTypes[6]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
|
|
|
func (x *SysStatsResponse) String() string {
|
|
@@ -365,7 +346,7 @@ func (*SysStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
func (x *SysStatsResponse) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_experimental_v2rayapi_stats_proto_msgTypes[6]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
ms.StoreMessageInfo(mi)
|
|
@@ -452,7 +433,7 @@ func (x *SysStatsResponse) GetUptime() uint32 {
|
|
|
|
|
|
var File_experimental_v2rayapi_stats_proto protoreflect.FileDescriptor
|
|
|
|
|
|
-var file_experimental_v2rayapi_stats_proto_rawDesc = []byte{
|
|
|
+var file_experimental_v2rayapi_stats_proto_rawDesc = string([]byte{
|
|
|
0x0a, 0x21, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76,
|
|
|
0x32, 0x72, 0x61, 0x79, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70, 0x72,
|
|
|
0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,
|
|
@@ -523,23 +504,23 @@ var file_experimental_v2rayapi_stats_proto_rawDesc = []byte{
|
|
|
0x72, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x69, 0x6e, 0x67, 0x2d, 0x62, 0x6f, 0x78, 0x2f, 0x65, 0x78,
|
|
|
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79,
|
|
|
0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
-}
|
|
|
+})
|
|
|
|
|
|
var (
|
|
|
file_experimental_v2rayapi_stats_proto_rawDescOnce sync.Once
|
|
|
- file_experimental_v2rayapi_stats_proto_rawDescData = file_experimental_v2rayapi_stats_proto_rawDesc
|
|
|
+ file_experimental_v2rayapi_stats_proto_rawDescData []byte
|
|
|
)
|
|
|
|
|
|
func file_experimental_v2rayapi_stats_proto_rawDescGZIP() []byte {
|
|
|
file_experimental_v2rayapi_stats_proto_rawDescOnce.Do(func() {
|
|
|
- file_experimental_v2rayapi_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_experimental_v2rayapi_stats_proto_rawDescData)
|
|
|
+ file_experimental_v2rayapi_stats_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_experimental_v2rayapi_stats_proto_rawDesc), len(file_experimental_v2rayapi_stats_proto_rawDesc)))
|
|
|
})
|
|
|
return file_experimental_v2rayapi_stats_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
file_experimental_v2rayapi_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
|
- file_experimental_v2rayapi_stats_proto_goTypes = []interface{}{
|
|
|
+ file_experimental_v2rayapi_stats_proto_goTypes = []any{
|
|
|
(*GetStatsRequest)(nil), // 0: experimental.v2rayapi.GetStatsRequest
|
|
|
(*Stat)(nil), // 1: experimental.v2rayapi.Stat
|
|
|
(*GetStatsResponse)(nil), // 2: experimental.v2rayapi.GetStatsResponse
|
|
@@ -571,97 +552,11 @@ func file_experimental_v2rayapi_stats_proto_init() {
|
|
|
if File_experimental_v2rayapi_stats_proto != nil {
|
|
|
return
|
|
|
}
|
|
|
- if !protoimpl.UnsafeEnabled {
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*GetStatsRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Stat); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*GetStatsResponse); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*QueryStatsRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*QueryStatsResponse); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*SysStatsRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_experimental_v2rayapi_stats_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*SysStatsResponse); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
File: protoimpl.DescBuilder{
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
- RawDescriptor: file_experimental_v2rayapi_stats_proto_rawDesc,
|
|
|
+ RawDescriptor: unsafe.Slice(unsafe.StringData(file_experimental_v2rayapi_stats_proto_rawDesc), len(file_experimental_v2rayapi_stats_proto_rawDesc)),
|
|
|
NumEnums: 0,
|
|
|
NumMessages: 7,
|
|
|
NumExtensions: 0,
|
|
@@ -672,7 +567,6 @@ func file_experimental_v2rayapi_stats_proto_init() {
|
|
|
MessageInfos: file_experimental_v2rayapi_stats_proto_msgTypes,
|
|
|
}.Build()
|
|
|
File_experimental_v2rayapi_stats_proto = out.File
|
|
|
- file_experimental_v2rayapi_stats_proto_rawDesc = nil
|
|
|
file_experimental_v2rayapi_stats_proto_goTypes = nil
|
|
|
file_experimental_v2rayapi_stats_proto_depIdxs = nil
|
|
|
}
|