/
callback.pb.go
126 lines (112 loc) · 4.73 KB
/
callback.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: callback.proto
package tool
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//执行结束后的回调信息
type Callback struct {
//
//回调url
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url" form:"url"`
//
//请求header host eg. tool.easyops-only.com
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host" form:"host"`
//
//回调服务名eg. logic.tool
EnsName string `protobuf:"bytes,3,opt,name=ensName,proto3" json:"ensName" form:"ensName"`
//
//回调服务方法
Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method" form:"method"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Callback) Reset() { *m = Callback{} }
func (m *Callback) String() string { return proto.CompactTextString(m) }
func (*Callback) ProtoMessage() {}
func (*Callback) Descriptor() ([]byte, []int) {
return fileDescriptor_6cf7fe261a3a1c45, []int{0}
}
func (m *Callback) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Callback.Unmarshal(m, b)
}
func (m *Callback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Callback.Marshal(b, m, deterministic)
}
func (m *Callback) XXX_Merge(src proto.Message) {
xxx_messageInfo_Callback.Merge(m, src)
}
func (m *Callback) XXX_Size() int {
return xxx_messageInfo_Callback.Size(m)
}
func (m *Callback) XXX_DiscardUnknown() {
xxx_messageInfo_Callback.DiscardUnknown(m)
}
var xxx_messageInfo_Callback proto.InternalMessageInfo
func (m *Callback) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *Callback) GetHost() string {
if m != nil {
return m.Host
}
return ""
}
func (m *Callback) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *Callback) GetMethod() string {
if m != nil {
return m.Method
}
return ""
}
func init() {
proto.RegisterType((*Callback)(nil), "tool.Callback")
}
func init() { proto.RegisterFile("callback.proto", fileDescriptor_6cf7fe261a3a1c45) }
var fileDescriptor_6cf7fe261a3a1c45 = []byte{
// 335 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xcf, 0x4b, 0xc3, 0x30,
0x14, 0xc7, 0x99, 0x1b, 0x53, 0x23, 0x4e, 0xec, 0xa9, 0xec, 0x52, 0xed, 0x50, 0x36, 0xb6, 0x34,
0x82, 0x20, 0x38, 0xd1, 0xcd, 0x79, 0x95, 0x1d, 0x7a, 0x9c, 0x0e, 0x4d, 0xbb, 0xfe, 0x62, 0xe9,
0x5e, 0x49, 0x52, 0x87, 0x32, 0xfc, 0x53, 0x2b, 0xf8, 0x27, 0xf4, 0xec, 0x41, 0x9a, 0x56, 0x11,
0xbc, 0xbd, 0xef, 0xfb, 0x7c, 0x1e, 0x5f, 0x48, 0x50, 0xcb, 0xa5, 0x8c, 0x39, 0xd4, 0x5d, 0x5a,
0x09, 0x07, 0x09, 0x5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