scanner

package
v0.0.0-...-b64238c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrestScanner

type PrestScanner struct {
	Buff    *bytes.Buffer
	Error   error
	IsQuery bool
}

PrestScanner is a default implementation of adapter.Scanner

func (*PrestScanner) Bytes

func (p *PrestScanner) Bytes() (byt []byte)

Bytes return prest response in bytes

func (*PrestScanner) Err

func (p *PrestScanner) Err() (err error)

Err return prest response error

func (*PrestScanner) Scan

func (p *PrestScanner) Scan(i interface{}) (l int, err error)

Scan put prest response into a struct or map

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL