restclient

package
v0.0.0-...-b14b5fa Latest Latest
Warning

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

Go to latest
Published: May 26, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCCurly

func EnsureCCurly(reader *bufio.Reader) error

func EnsureCSq

func EnsureCSq(reader *bufio.Reader) error

func EnsureOCurly

func EnsureOCurly(reader *bufio.Reader) error

func EnsureOSq

func EnsureOSq(reader *bufio.Reader) error

func NextIf

func NextIf(reader *bufio.Reader, value byte) bool

func ReadWhile

func ReadWhile(reader *bufio.Reader, matcher func(byte) bool) ([]byte, error)

*

  • Reads a string while a match succeeds.

func Read_bool

func Read_bool(reader *bufio.Reader, arg *bool) error

func Read_error

func Read_error(reader *bufio.Reader, err *error) error

func Read_int

func Read_int(reader *bufio.Reader, arg *int) error

func Read_int64

func Read_int64(reader *bufio.Reader, arg *int64) error

func Read_string

func Read_string(reader *bufio.Reader, arg *string) error

func Read_time_Time

func Read_time_Time(reader *bufio.Reader, t *time.Time) error

func SkipSpaces

func SkipSpaces(reader *bufio.Reader) error

func SkipTill

func SkipTill(reader *bufio.Reader, val byte) error

func SkipWhile

func SkipWhile(reader *bufio.Reader, filter func(byte) bool) error

func Write_bool

func Write_bool(writer io.Writer, arg bool) error

func Write_int

func Write_int(writer io.Writer, arg int) error

func Write_int64

func Write_int64(writer io.Writer, arg int64) error

func Write_string

func Write_string(writer io.Writer, arg string) error

func Write_time_Time

func Write_time_Time(writer io.Writer, time time.Time) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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