switched to Twirp for RPC, server skaffold
This commit is contained in:
+18
-17
@@ -23,7 +23,7 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
type Node struct {
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
|
||||
Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
|
||||
RtcPort uint32 `protobuf:"varint,3,opt,name=rtc_port,json=rtcPort,proto3" json:"rtc_port,omitempty"`
|
||||
Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
@@ -69,9 +69,9 @@ func (m *Node) GetIp() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Node) GetPort() int32 {
|
||||
func (m *Node) GetRtcPort() uint32 {
|
||||
if m != nil {
|
||||
return m.Port
|
||||
return m.RtcPort
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -138,18 +138,19 @@ func init() {
|
||||
func init() { proto.RegisterFile("model.proto", fileDescriptor_4c16552f9fdb66d8) }
|
||||
|
||||
var fileDescriptor_4c16552f9fdb66d8 = []byte{
|
||||
// 206 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x4f, 0xbb, 0x4e, 0xc4, 0x30,
|
||||
0x10, 0x54, 0x42, 0x0c, 0x64, 0x23, 0x51, 0x6c, 0x65, 0x89, 0x82, 0xe8, 0x1a, 0x4c, 0x81, 0x4f,
|
||||
0x82, 0x3f, 0x80, 0x8a, 0x86, 0xc2, 0x74, 0x34, 0x88, 0x3b, 0x5b, 0x60, 0x11, 0x7b, 0x2d, 0x3f,
|
||||
0xee, 0xfb, 0x91, 0x9d, 0x40, 0x35, 0x3b, 0x33, 0xab, 0x99, 0x5d, 0x98, 0x1c, 0x69, 0xb3, 0xc8,
|
||||
0x10, 0x29, 0x13, 0x5e, 0x2c, 0xf6, 0x64, 0x7e, 0x6c, 0xde, 0x69, 0x18, 0x5e, 0x49, 0x1b, 0xbc,
|
||||
0x82, 0xde, 0x6a, 0xde, 0xcd, 0x9d, 0x18, 0x55, 0x6f, 0x75, 0xe3, 0x81, 0xf7, 0x1b, 0x0f, 0x88,
|
||||
0x30, 0x04, 0x8a, 0x99, 0x9f, 0xcd, 0x9d, 0x60, 0xaa, 0xcd, 0x28, 0x80, 0xa5, 0xfc, 0x99, 0x13,
|
||||
0x1f, 0xe6, 0x4e, 0x4c, 0x0f, 0x28, 0xb7, 0x50, 0x59, 0x13, 0xdf, 0xaa, 0xa3, 0xd6, 0x85, 0xdd,
|
||||
0x0b, 0x8c, 0xff, 0x1a, 0x5e, 0xc3, 0xe8, 0x8b, 0xfb, 0x88, 0x44, 0x2e, 0xb5, 0x46, 0xa6, 0x2e,
|
||||
0x7d, 0x71, 0xaa, 0x72, 0xbc, 0x81, 0xa9, 0x9a, 0xc7, 0xc5, 0x1a, 0x9f, 0x53, 0x3b, 0x80, 0x29,
|
||||
0xf0, 0xc5, 0x3d, 0xaf, 0xca, 0xd3, 0xdd, 0xfb, 0xed, 0x97, 0xcd, 0xdf, 0xe5, 0x20, 0x8f, 0xe4,
|
||||
0xf6, 0x5b, 0xe3, 0x1f, 0xde, 0x27, 0x13, 0x4f, 0x26, 0xee, 0xdb, 0x93, 0x87, 0xf3, 0x06, 0x8f,
|
||||
0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x8d, 0x0e, 0xc7, 0xfa, 0x00, 0x00, 0x00,
|
||||
// 216 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8f, 0x31, 0x4f, 0xc3, 0x30,
|
||||
0x10, 0x85, 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||
0x34, 0x9d, 0x34, 0xed, 0xf2, 0xad, 0x87, 0xcb, 0x2c, 0xcf, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff,
|
||||
0x52, 0x03, 0x38, 0xe7, 0x01, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user