Documentation ¶ Index ¶ type Encoder func New(dataShards, parityShards int) (*Encoder, error) func (e *Encoder) Decode(data []byte) ([]byte, error) func (e *Encoder) Encode(data []byte) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Encoder ¶ added in v0.0.4 type Encoder struct { // contains filtered or unexported fields } func New ¶ added in v0.0.4 func New(dataShards, parityShards int) (*Encoder, error) func (*Encoder) Decode ¶ added in v0.0.4 func (e *Encoder) Decode(data []byte) ([]byte, error) func (*Encoder) Encode ¶ added in v0.0.4 func (e *Encoder) Encode(data []byte) ([]byte, error) Source Files ¶ View all Source files constants.godecode.goencode.goencoder.goutils.govalidate.go Click to show internal directories. Click to hide internal directories.