Versions in this module Expand all Collapse all v1 v1.0.1 May 23, 2018 Changes in this version + const WordListVersion + func DecodeWordList(dst []byte, src []string) (result []byte, err error) + func EncodeWordList(dst []string, src []byte) (result []string) + func NewDecodeTransformer() transform.Transformer + func NewDecodeWriter(w io.Writer) io.WriteCloser + func NewDecoder(r io.Reader) io.Reader + func NewEncodeReader(r io.Reader, c *Config) io.Reader + func NewEncodeTransformer(c *Config) transform.Transformer + func NewEncoder(w io.Writer, c *Config) io.WriteCloser + func WordsRequired(length int) int + type Config struct + GroupSeparator string + GroupsPerLine uint + LinePrefix string + LineSuffix string + WordPadding rune + WordSeparator string + WordsPerGroup uint + func NewDefaultConfig() *Config + type UnexpectedEndWordError string + func (e UnexpectedEndWordError) Error() string + func (e UnexpectedEndWordError) Word() string + type UnexpectedWordError string + func (e UnexpectedWordError) Error() string + func (e UnexpectedWordError) Word() string + type UnknownWordError string + func (e UnknownWordError) Error() string + func (e UnknownWordError) Word() string + type WordError interface + Word func() string