config.pb.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. package webcommander
  2. import (
  3. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  8. unsafe "unsafe"
  9. )
  10. const (
  11. // Verify that this generated code is sufficiently up-to-date.
  12. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  13. // Verify that runtime/protoimpl is sufficiently up-to-date.
  14. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  15. )
  16. type Config struct {
  17. state protoimpl.MessageState `protogen:"open.v1"`
  18. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  19. WebRoot []byte `protobuf:"bytes,2,opt,name=web_root,json=webRoot,proto3" json:"web_root,omitempty"`
  20. WebRootFile string `protobuf:"bytes,96002,opt,name=web_root_file,json=webRootFile,proto3" json:"web_root_file,omitempty"`
  21. ApiMountpoint string `protobuf:"bytes,3,opt,name=api_mountpoint,json=apiMountpoint,proto3" json:"api_mountpoint,omitempty"`
  22. unknownFields protoimpl.UnknownFields
  23. sizeCache protoimpl.SizeCache
  24. }
  25. func (x *Config) Reset() {
  26. *x = Config{}
  27. mi := &file_app_commander_webcommander_config_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *Config) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*Config) ProtoMessage() {}
  35. func (x *Config) ProtoReflect() protoreflect.Message {
  36. mi := &file_app_commander_webcommander_config_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  47. func (*Config) Descriptor() ([]byte, []int) {
  48. return file_app_commander_webcommander_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. func (x *Config) GetTag() string {
  51. if x != nil {
  52. return x.Tag
  53. }
  54. return ""
  55. }
  56. func (x *Config) GetWebRoot() []byte {
  57. if x != nil {
  58. return x.WebRoot
  59. }
  60. return nil
  61. }
  62. func (x *Config) GetWebRootFile() string {
  63. if x != nil {
  64. return x.WebRootFile
  65. }
  66. return ""
  67. }
  68. func (x *Config) GetApiMountpoint() string {
  69. if x != nil {
  70. return x.ApiMountpoint
  71. }
  72. return ""
  73. }
  74. var File_app_commander_webcommander_config_proto protoreflect.FileDescriptor
  75. var file_app_commander_webcommander_config_proto_rawDesc = string([]byte{
  76. 0x0a, 0x27, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f,
  77. 0x77, 0x65, 0x62, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e,
  78. 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x76, 0x32, 0x72, 0x61, 0x79,
  79. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  80. 0x64, 0x65, 0x72, 0x2e, 0x77, 0x65, 0x62, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72,
  81. 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78,
  82. 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  83. 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a,
  84. 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12,
  85. 0x19, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  86. 0x0c, 0x52, 0x07, 0x77, 0x65, 0x62, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x34, 0x0a, 0x0d, 0x77, 0x65,
  87. 0x62, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x82, 0xee, 0x05, 0x20,
  88. 0x01, 0x28, 0x09, 0x42, 0x0e, 0x82, 0xb5, 0x18, 0x0a, 0x22, 0x08, 0x77, 0x65, 0x62, 0x5f, 0x72,
  89. 0x6f, 0x6f, 0x74, 0x52, 0x0b, 0x77, 0x65, 0x62, 0x52, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65,
  90. 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x6f, 0x69,
  91. 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x4d, 0x6f, 0x75,
  92. 0x6e, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x3a, 0x1b, 0x82, 0xb5, 0x18, 0x17, 0x0a, 0x07, 0x73,
  93. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0c, 0x77, 0x65, 0x62, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  94. 0x6e, 0x64, 0x65, 0x72, 0x42, 0x90, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72,
  95. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  96. 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x77, 0x65, 0x62, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  97. 0x65, 0x72, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
  98. 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
  99. 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  100. 0x65, 0x72, 0x2f, 0x77, 0x65, 0x62, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0xaa,
  101. 0x02, 0x25, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70,
  102. 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x57, 0x65, 0x62, 0x43, 0x6f,
  103. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  104. })
  105. var (
  106. file_app_commander_webcommander_config_proto_rawDescOnce sync.Once
  107. file_app_commander_webcommander_config_proto_rawDescData []byte
  108. )
  109. func file_app_commander_webcommander_config_proto_rawDescGZIP() []byte {
  110. file_app_commander_webcommander_config_proto_rawDescOnce.Do(func() {
  111. file_app_commander_webcommander_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_commander_webcommander_config_proto_rawDesc), len(file_app_commander_webcommander_config_proto_rawDesc)))
  112. })
  113. return file_app_commander_webcommander_config_proto_rawDescData
  114. }
  115. var file_app_commander_webcommander_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  116. var file_app_commander_webcommander_config_proto_goTypes = []any{
  117. (*Config)(nil), // 0: v2ray.core.app.commander.webcommander.Config
  118. }
  119. var file_app_commander_webcommander_config_proto_depIdxs = []int32{
  120. 0, // [0:0] is the sub-list for method output_type
  121. 0, // [0:0] is the sub-list for method input_type
  122. 0, // [0:0] is the sub-list for extension type_name
  123. 0, // [0:0] is the sub-list for extension extendee
  124. 0, // [0:0] is the sub-list for field type_name
  125. }
  126. func init() { file_app_commander_webcommander_config_proto_init() }
  127. func file_app_commander_webcommander_config_proto_init() {
  128. if File_app_commander_webcommander_config_proto != nil {
  129. return
  130. }
  131. type x struct{}
  132. out := protoimpl.TypeBuilder{
  133. File: protoimpl.DescBuilder{
  134. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  135. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_commander_webcommander_config_proto_rawDesc), len(file_app_commander_webcommander_config_proto_rawDesc)),
  136. NumEnums: 0,
  137. NumMessages: 1,
  138. NumExtensions: 0,
  139. NumServices: 0,
  140. },
  141. GoTypes: file_app_commander_webcommander_config_proto_goTypes,
  142. DependencyIndexes: file_app_commander_webcommander_config_proto_depIdxs,
  143. MessageInfos: file_app_commander_webcommander_config_proto_msgTypes,
  144. }.Build()
  145. File_app_commander_webcommander_config_proto = out.File
  146. file_app_commander_webcommander_config_proto_goTypes = nil
  147. file_app_commander_webcommander_config_proto_depIdxs = nil
  148. }