Skip to content

Commit

Permalink
update protobuf generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Sep 30, 2018
1 parent 865d4ff commit 00ea6e3
Show file tree
Hide file tree
Showing 46 changed files with 240 additions and 128 deletions.
1 change: 1 addition & 0 deletions app/commander/config.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_4af9cfd3f0e2019e, []int{0}
}

func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
Expand Down
2 changes: 2 additions & 0 deletions app/dispatcher/config.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func (*SessionConfig) ProtoMessage() {}
func (*SessionConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_90b7c41cce355532, []int{0}
}

func (m *SessionConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SessionConfig.Unmarshal(m, b)
}
Expand Down Expand Up @@ -60,6 +61,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_90b7c41cce355532, []int{1}
}

func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
Expand Down
2 changes: 1 addition & 1 deletion app/dns/config.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@ func (m *Config_HostMapping) GetIp() [][]byte {
}

func init() {
proto.RegisterEnum("v2ray.core.app.dns.DomainMatchingType", DomainMatchingType_name, DomainMatchingType_value)
proto.RegisterType((*NameServer)(nil), "v2ray.core.app.dns.NameServer")
proto.RegisterType((*NameServer_PriorityDomain)(nil), "v2ray.core.app.dns.NameServer.PriorityDomain")
proto.RegisterType((*Config)(nil), "v2ray.core.app.dns.Config")
proto.RegisterMapType((map[string]*net.IPOrDomain)(nil), "v2ray.core.app.dns.Config.HostsEntry")
proto.RegisterType((*Config_HostMapping)(nil), "v2ray.core.app.dns.Config.HostMapping")
proto.RegisterEnum("v2ray.core.app.dns.DomainMatchingType", DomainMatchingType_name, DomainMatchingType_value)
}

func init() {
Expand Down
56 changes: 27 additions & 29 deletions app/log/command/config.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ package command

import (
fmt "fmt"
math "math"

proto "github.com/golang/protobuf/proto"
)

import (
"context"

context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
Expand All @@ -36,6 +31,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_46d95b63a682e4a6, []int{0}
}

func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
Expand Down Expand Up @@ -66,6 +62,7 @@ func (*RestartLoggerRequest) ProtoMessage() {}
func (*RestartLoggerRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_46d95b63a682e4a6, []int{1}
}

func (m *RestartLoggerRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RestartLoggerRequest.Unmarshal(m, b)
}
Expand Down Expand Up @@ -96,6 +93,7 @@ func (*RestartLoggerResponse) ProtoMessage() {}
func (*RestartLoggerResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_46d95b63a682e4a6, []int{2}
}

func (m *RestartLoggerResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RestartLoggerResponse.Unmarshal(m, b)
}
Expand All @@ -120,6 +118,28 @@ func init() {
proto.RegisterType((*RestartLoggerResponse)(nil), "v2ray.core.app.log.command.RestartLoggerResponse")
}

func init() {
proto.RegisterFile("v2ray.com/core/app/log/command/config.proto", fileDescriptor_46d95b63a682e4a6)
}

var fileDescriptor_46d95b63a682e4a6 = []byte{
// 210 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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, 0x38, 0xc4, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x37, 0xc7, 0xfc, 0xda, 0x60, 0x01,
0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
Expand Down Expand Up @@ -191,25 +211,3 @@ var _LoggerService_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "v2ray.com/core/app/log/command/config.proto",
}

func init() {
proto.RegisterFile("v2ray.com/core/app/log/command/config.proto", fileDescriptor_46d95b63a682e4a6)
}

var fileDescriptor_46d95b63a682e4a6 = []byte{
// 210 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x33, 0x2a, 0x4a,
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x2c, 0x28, 0xd0, 0xcf,
0xc9, 0x4f, 0xd7, 0x4f, 0xce, 0xcf, 0xcd, 0x4d, 0xcc, 0x4b, 0xd1, 0x4f, 0xce, 0xcf, 0x4b, 0xcb,
0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x82, 0x29, 0x2e, 0x4a, 0xd5, 0x4b, 0x2c,
0x28, 0xd0, 0xcb, 0xc9, 0x4f, 0xd7, 0x83, 0x2a, 0x54, 0xe2, 0xe0, 0x62, 0x73, 0x06, 0xab, 0x55,
0x12, 0xe3, 0x12, 0x09, 0x4a, 0x2d, 0x2e, 0x49, 0x2c, 0x2a, 0xf1, 0xc9, 0x4f, 0x4f, 0x4f, 0x2d,
0x0a, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x51, 0x12, 0xe7, 0x12, 0x45, 0x13, 0x2f, 0x2e, 0xc8,
0xcf, 0x2b, 0x4e, 0x35, 0x6a, 0x67, 0xe4, 0xe2, 0x85, 0x08, 0x05, 0xa7, 0x16, 0x95, 0x65, 0x26,
0xa7, 0x0a, 0x95, 0x71, 0xf1, 0xa2, 0x28, 0x15, 0x32, 0xd0, 0xc3, 0x6d, 0xb5, 0x1e, 0x36, 0xdb,
0xa4, 0x0c, 0x49, 0xd0, 0x01, 0x71, 0x87, 0x12, 0x83, 0x93, 0x07, 0x97, 0x5c, 0x72, 0x7e, 0x2e,
0x1e, 0x9d, 0x01, 0x8c, 0x51, 0xec, 0x50, 0xe6, 0x2a, 0x26, 0xa9, 0x30, 0xa3, 0xa0, 0xc4, 0x4a,
0x3d, 0x67, 0x90, 0x3a, 0xc7, 0x82, 0x02, 0x3d, 0x9f, 0xfc, 0x74, 0x3d, 0x67, 0x88, 0x64, 0x12,
0x1b, 0x38, 0xc4, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x37, 0xc7, 0xfc, 0xda, 0x60, 0x01,
0x00, 0x00,
}
3 changes: 2 additions & 1 deletion app/log/config.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_92dfeade43d9e989, []int{0}
}

func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
Expand Down Expand Up @@ -120,8 +121,8 @@ func (m *Config) GetAccessLogPath() string {
}

func init() {
proto.RegisterType((*Config)(nil), "v2ray.core.app.log.Config")
proto.RegisterEnum("v2ray.core.app.log.LogType", LogType_name, LogType_value)
proto.RegisterType((*Config)(nil), "v2ray.core.app.log.Config")
}

func init() {
Expand Down
8 changes: 8 additions & 0 deletions app/policy/config.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func (*Second) ProtoMessage() {}
func (*Second) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{0}
}

func (m *Second) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Second.Unmarshal(m, b)
}
Expand Down Expand Up @@ -70,6 +71,7 @@ func (*Policy) ProtoMessage() {}
func (*Policy) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{1}
}

func (m *Policy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Policy.Unmarshal(m, b)
}
Expand Down Expand Up @@ -126,6 +128,7 @@ func (*Policy_Timeout) ProtoMessage() {}
func (*Policy_Timeout) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{1, 0}
}

func (m *Policy_Timeout) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Policy_Timeout.Unmarshal(m, b)
}
Expand Down Expand Up @@ -186,6 +189,7 @@ func (*Policy_Stats) ProtoMessage() {}
func (*Policy_Stats) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{1, 1}
}

func (m *Policy_Stats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Policy_Stats.Unmarshal(m, b)
}
Expand Down Expand Up @@ -232,6 +236,7 @@ func (*Policy_Buffer) ProtoMessage() {}
func (*Policy_Buffer) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{1, 2}
}

func (m *Policy_Buffer) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Policy_Buffer.Unmarshal(m, b)
}
Expand Down Expand Up @@ -270,6 +275,7 @@ func (*SystemPolicy) ProtoMessage() {}
func (*SystemPolicy) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{2}
}

func (m *SystemPolicy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SystemPolicy.Unmarshal(m, b)
}
Expand Down Expand Up @@ -309,6 +315,7 @@ func (*SystemPolicy_Stats) ProtoMessage() {}
func (*SystemPolicy_Stats) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{2, 0}
}

func (m *SystemPolicy_Stats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SystemPolicy_Stats.Unmarshal(m, b)
}
Expand Down Expand Up @@ -355,6 +362,7 @@ func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_48f54a345c1316d1, []int{3}
}

func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
Expand Down
Loading

0 comments on commit 00ea6e3

Please sign in to comment.