transaction

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(w io.Writer) *Encoder

func (*Encoder) Encode

func (encoder *Encoder) Encode(v interface{}) error

func (*Encoder) EncodeNumber

func (encoder *Encoder) EncodeNumber(v interface{}) error

func (*Encoder) EncodeUVarint

func (encoder *Encoder) EncodeUVarint(i uint64) error

func (*Encoder) EncodeVarint

func (encoder *Encoder) EncodeVarint(i int64) error

type RollingEncoder

type RollingEncoder struct {
	// contains filtered or unexported fields
}

func NewRollingEncoder

func NewRollingEncoder(next *Encoder) *RollingEncoder

func (*RollingEncoder) Encode

func (encoder *RollingEncoder) Encode(v interface{})

func (*RollingEncoder) EncodeNumber

func (encoder *RollingEncoder) EncodeNumber(v interface{})

func (*RollingEncoder) EncodeUVarint

func (encoder *RollingEncoder) EncodeUVarint(i uint64)

func (*RollingEncoder) EncodeVarint

func (encoder *RollingEncoder) EncodeVarint(i int64)

func (*RollingEncoder) Err

func (encoder *RollingEncoder) Err() error

type TransactionMarshaller

type TransactionMarshaller interface {
	MarshalTransaction(*Encoder) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL