Documentation
¶
Overview ¶
package ascii implements an ASCII key-value parser.
The top-most (de)serialize must operate on a struct pointer. A struct may contain other structs, in which case all tag names should be unique. Public fields without tag names are ignored. Private fields are also ignored.
The supported field types are: - struct - string (no empty strings) - uint64 (only digits in ASCII representation) - byte array (only lower-case hex in ASCII representation) - slice of uint64 (no empty slices) - slice of byte array (no empty slices)
A key must not contain an encoding's end-of-key value. A value must not contain an encoding's end-of-value value.
For additional details, please refer to the Sigsum v0 API documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var StdEncoding = NewEncoding("ascii", "=", "\n")
Functions ¶
This section is empty.