Documentation
¶
Overview ¶
Package message is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
RequestMessage ResponseMessage
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestMessage_RequestType_name = map[int32]string{
0: "PLAIN",
1: "WINCH",
}
View Source
var RequestMessage_RequestType_value = map[string]int32{
"PLAIN": 0,
"WINCH": 1,
}
View Source
var ResponseMessage_ResponseType_name = map[int32]string{
0: "STDOUT",
1: "STDERR",
2: "CLOSE",
3: "PING",
}
View Source
var ResponseMessage_ResponseType_value = map[string]int32{
"STDOUT": 0,
"STDERR": 1,
"CLOSE": 2,
"PING": 3,
}
Functions ¶
This section is empty.
Types ¶
type RequestMessage ¶
type RequestMessage struct {
MsgType RequestMessage_RequestType `protobuf:"varint,1,opt,name=msgType,enum=message.RequestMessage_RequestType" json:"msgType,omitempty"`
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}
func (*RequestMessage) Descriptor ¶
func (*RequestMessage) Descriptor() ([]byte, []int)
func (*RequestMessage) ProtoMessage ¶
func (*RequestMessage) ProtoMessage()
func (*RequestMessage) Reset ¶
func (m *RequestMessage) Reset()
func (*RequestMessage) String ¶
func (m *RequestMessage) String() string
type RequestMessage_RequestType ¶
type RequestMessage_RequestType int32
const ( RequestMessage_PLAIN RequestMessage_RequestType = 0 RequestMessage_WINCH RequestMessage_RequestType = 1 )
func (RequestMessage_RequestType) EnumDescriptor ¶
func (RequestMessage_RequestType) EnumDescriptor() ([]byte, []int)
func (RequestMessage_RequestType) String ¶
func (x RequestMessage_RequestType) String() string
type ResponseMessage ¶
type ResponseMessage struct {
MsgType ResponseMessage_ResponseType `protobuf:"varint,1,opt,name=msgType,enum=message.ResponseMessage_ResponseType" json:"msgType,omitempty"`
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}
func (*ResponseMessage) Descriptor ¶
func (*ResponseMessage) Descriptor() ([]byte, []int)
func (*ResponseMessage) ProtoMessage ¶
func (*ResponseMessage) ProtoMessage()
func (*ResponseMessage) Reset ¶
func (m *ResponseMessage) Reset()
func (*ResponseMessage) String ¶
func (m *ResponseMessage) String() string
type ResponseMessage_ResponseType ¶
type ResponseMessage_ResponseType int32
const ( ResponseMessage_STDOUT ResponseMessage_ResponseType = 0 ResponseMessage_STDERR ResponseMessage_ResponseType = 1 ResponseMessage_CLOSE ResponseMessage_ResponseType = 2 ResponseMessage_PING ResponseMessage_ResponseType = 3 )
func (ResponseMessage_ResponseType) EnumDescriptor ¶
func (ResponseMessage_ResponseType) EnumDescriptor() ([]byte, []int)
func (ResponseMessage_ResponseType) String ¶
func (x ResponseMessage_ResponseType) String() string
Click to show internal directories.
Click to hide internal directories.