config.pb.go 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package dispatcher
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. // Reference imports to suppress errors if they are not otherwise used.
  6. var _ = proto.Marshal
  7. var _ = fmt.Errorf
  8. var _ = math.Inf
  9. // This is a compile-time assertion to ensure that this generated file
  10. // is compatible with the proto package it is being compiled against.
  11. // A compilation error at this line likely means your copy of the
  12. // proto package needs to be updated.
  13. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  14. type SessionConfig struct {
  15. AllowPassiveConnection bool `protobuf:"varint,1,opt,name=allow_passive_connection,json=allowPassiveConnection" json:"allow_passive_connection,omitempty"`
  16. }
  17. func (m *SessionConfig) Reset() { *m = SessionConfig{} }
  18. func (m *SessionConfig) String() string { return proto.CompactTextString(m) }
  19. func (*SessionConfig) ProtoMessage() {}
  20. func (*SessionConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  21. func (m *SessionConfig) GetAllowPassiveConnection() bool {
  22. if m != nil {
  23. return m.AllowPassiveConnection
  24. }
  25. return false
  26. }
  27. type Config struct {
  28. Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings" json:"settings,omitempty"`
  29. }
  30. func (m *Config) Reset() { *m = Config{} }
  31. func (m *Config) String() string { return proto.CompactTextString(m) }
  32. func (*Config) ProtoMessage() {}
  33. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  34. func (m *Config) GetSettings() *SessionConfig {
  35. if m != nil {
  36. return m.Settings
  37. }
  38. return nil
  39. }
  40. func init() {
  41. proto.RegisterType((*SessionConfig)(nil), "v2ray.core.app.dispatcher.SessionConfig")
  42. proto.RegisterType((*Config)(nil), "v2ray.core.app.dispatcher.Config")
  43. }
  44. func init() { proto.RegisterFile("v2ray.com/core/app/dispatcher/config.proto", fileDescriptor0) }
  45. var fileDescriptor0 = []byte{
  46. // 210 bytes of a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