rpcutil

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	EOF rune = -(iota + 1)
)

Variables

View Source
var (
	ErrParseError = errors.New("Parse Error")
)

Functions

func NewTokenizer

func NewTokenizer(src string) *tokenizer

func Quote added in v1.0.11

func Quote(src string) string

func Unquote added in v1.0.11

func Unquote(src string) (string, error)

Unquote returns a bare string without quoted characters. The following Coversions happen: \\ \n \f \t \r Happen as normal \xFF returns a byte from hex \123 returns a byte from decimal \0123 returns a bype from octal

Types

type Util

type Util struct {
}

func (Util) Open

func (config Util) Open(log gopi.Logger) (gopi.Driver, error)

Open a client

Jump to

Keyboard shortcuts

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