Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDecoder ¶
NewDecoder returns a new capnp.Decoder that satisfies goa.Decoder
func NewEncoder ¶
NewEncoder returns a new capnp.Encoder that satisfies goa.Encoder
func NewPackedDecoder ¶
NewPackedDecoder returns a new packed capnp.Decoder that satisfies goa.Decoder
Types ¶
type ProtoDecoder ¶
type ProtoDecoder struct {
// contains filtered or unexported fields
}
ProtoDecoder stores state between Reset and Decode
func (*ProtoDecoder) Decode ¶
func (dec *ProtoDecoder) Decode(v interface{}) error
Decode unmarshals an io.Reader into *capnp.Message v
type ProtoEncoder ¶
type ProtoEncoder struct {
// contains filtered or unexported fields
}
ProtoEncoder stores state between Reset and Encode
func (*ProtoEncoder) Encode ¶
func (enc *ProtoEncoder) Encode(v interface{}) error
Encode marshals a *capnp.Message and writes it to an io.Writer
Click to show internal directories.
Click to hide internal directories.