Versions in this module Expand all Collapse all v0 v0.4.0 Sep 6, 2016 Changes in this version + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (encoder *Encoder) Encode(v interface{}) error + func (encoder *Encoder) EncodeNumber(v interface{}) error + func (encoder *Encoder) EncodeUVarint(i uint64) error + func (encoder *Encoder) EncodeVarint(i int64) error + type RollingEncoder struct + func NewRollingEncoder(next *Encoder) *RollingEncoder + func (encoder *RollingEncoder) Encode(v interface{}) + func (encoder *RollingEncoder) EncodeNumber(v interface{}) + func (encoder *RollingEncoder) EncodeUVarint(i uint64) + func (encoder *RollingEncoder) EncodeVarint(i int64) + func (encoder *RollingEncoder) Err() error + type TransactionMarshaller interface + MarshalTransaction func(*Encoder) error