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