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) SkipBytes(b []byte) bool
- func (p *Parser) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayParser ¶ added in v4.5.0
type ArrayParser struct { *Parser // contains filtered or unexported fields }
func NewArrayParser ¶ added in v4.5.0
func NewArrayParser(b []byte) *ArrayParser
func (*ArrayParser) NextElem ¶ added in v4.5.0
func (p *ArrayParser) NextElem() ([]byte, error)
type HstoreParser ¶ added in v4.6.0
type HstoreParser struct {
*Parser
}
func NewHstoreParser ¶ added in v4.6.0
func NewHstoreParser(b []byte) *HstoreParser
func (*HstoreParser) NextKey ¶ added in v4.6.0
func (p *HstoreParser) NextKey() ([]byte, error)
func (*HstoreParser) NextValue ¶ added in v4.6.0
func (p *HstoreParser) NextValue() ([]byte, error)
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ReadIdentifier ¶
func (*Parser) ReadNumber ¶
Click to show internal directories.
Click to hide internal directories.