Documentation
¶
Overview ¶
package ascii implements an ASCII key-value parser and writer
Index ¶
- func IntFromDecimal(s string) (uint64, error)
- func WriteHash(w io.Writer, name string, h *crypto.Hash) error
- func WriteInt(w io.Writer, name string, i uint64) error
- func WriteLine(w io.Writer, key string, first interface{}, rest ...interface{}) error
- func WritePublicKey(w io.Writer, name string, k *crypto.PublicKey) error
- func WriteSignature(w io.Writer, name string, s *crypto.Signature) error
- type Parser
- func (p *Parser) GetEOF() error
- func (p *Parser) GetHash(name string) (crypto.Hash, error)
- func (p *Parser) GetInt(name string) (uint64, error)
- func (p *Parser) GetPublicKey(name string) (crypto.PublicKey, error)
- func (p *Parser) GetSignature(name string) (crypto.Signature, error)
- func (p *Parser) GetValues(name string, count int) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntFromDecimal ¶ added in v0.1.14
Basic value types
func WriteInt ¶ added in v0.1.6
Redundant, except for beter type checking.
func WriteLine ¶ added in v0.1.6
func WritePublicKey ¶ added in v0.1.6
Types ¶
Click to show internal directories.
Click to hide internal directories.