Documentation ¶
Index ¶
- type ArrayParser
- type HstoreParser
- type Parser
- func (p *Parser) Advance()
- func (p *Parser) Bytes() []byte
- func (p *Parser) Peek() byte
- func (p *Parser) Read() byte
- func (p *Parser) ReadIdentifier() []byte
- func (p *Parser) ReadNumber() int
- func (p *Parser) ReadSep(c byte) ([]byte, bool)
- func (p *Parser) Skip(c byte) bool
- func (p *Parser) SkipString(s string) bool
- func (p *Parser) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayParser ¶
type ArrayParser struct { *Parser // contains filtered or unexported fields }
func NewArrayParser ¶
func NewArrayParser(b []byte) *ArrayParser
func (*ArrayParser) NextElem ¶
func (p *ArrayParser) NextElem() ([]byte, error)
type HstoreParser ¶
type HstoreParser struct {
*Parser
}
func NewHstoreParser ¶
func NewHstoreParser(b []byte) *HstoreParser
func (*HstoreParser) NextKey ¶
func (p *HstoreParser) NextKey() ([]byte, error)
func (*HstoreParser) NextValue ¶
func (p *HstoreParser) NextValue() ([]byte, error)
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ReadIdentifier ¶
func (*Parser) ReadNumber ¶
func (*Parser) SkipString ¶
Click to show internal directories.
Click to hide internal directories.