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) Position() int
- func (p *Parser) PositionByte(c byte) int
- func (p *Parser) Read() byte
- func (p *Parser) ReadIdentifier() (s string, numeric bool)
- func (p *Parser) ReadNumber() int
- func (p *Parser) ReadSep(c byte) ([]byte, bool)
- func (p *Parser) Skip(c byte) bool
- func (p *Parser) SkipBytes(b []byte) bool
- func (p *Parser) Slice(s, e int) []byte
- 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) PositionByte ¶
func (*Parser) ReadIdentifier ¶
func (*Parser) ReadNumber ¶
Click to show internal directories.
Click to hide internal directories.