Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "proto"
Name is the name by which the proxy codec is registered in the encoding codec registry We have to say that we are the "proto" codec otherwise marshaling will fail.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
Frame holds the proxy transported data.
func (*Frame) ProtoMessage ¶
func (f *Frame) ProtoMessage()
ProtoMessage tags a frame as valid proto message.
Click to show internal directories.
Click to hide internal directories.