Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FormatIDs = map[Format][]string{ PlainText: {"plaintext"}, Proto: {"proto"}, }
Functions ¶
This section is empty.
Types ¶
type DecodError ¶
func ProtoDecodeError ¶
func ProtoDecodeError(baseErr error, reason string) *DecodError
func (*DecodError) Error ¶
func (de *DecodError) Error() string
type PlaintextDecoder ¶ added in v0.2.0
type PlaintextDecoder struct{}
func NewPlaintextDecoder ¶
func NewPlaintextDecoder() *PlaintextDecoder
type ProtoDecoder ¶ added in v0.2.0
type ProtoDecoder struct {
// contains filtered or unexported fields
}
func NewProtoDecoder ¶
func NewProtoDecoder(protoFile, messageType string, includes []string) *ProtoDecoder
Click to show internal directories.
Click to hide internal directories.