typer

package
v0.0.0-...-4b80f19 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(typ Typ)

Types

type Adder

type Adder interface {
	Add(b, i, j []byte)
}

type Int4

type Int4 struct{}

func (Int4) Add

func (t Int4) Add(b, i, j []byte)

func (Int4) FromString

func (t Int4) FromString(b []byte, s string) error

func (Int4) Get

func (t Int4) Get(b []byte) interface{}

func (Int4) Len

func (t Int4) Len() int

func (Int4) Mult

func (t Int4) Mult(b, i, j []byte)

func (Int4) Name

func (t Int4) Name() string

func (Int4) Set

func (t Int4) Set(b []byte, data interface{})

func (Int4) String

func (t Int4) String(b []byte) string

type Multer

type Multer interface {
	Mult(b, i, j []byte)
}

type String

type String struct {
	// contains filtered or unexported fields
}

func NewString

func NewString(l int) String

func (String) FromString

func (t String) FromString(b []byte, s string) error

func (String) Get

func (t String) Get(b []byte) interface{}

func (String) Len

func (t String) Len() int

func (String) Name

func (t String) Name() string

func (String) Set

func (t String) Set(b []byte, data interface{})

func (String) String

func (t String) String(b []byte) string

func (String) Unquote

func (t String) Unquote(s string) (string, error)

type Typ

type Typ interface {
	Len() int
	Name() string
	String(b []byte) string
	FromString(b []byte, s string) error
	Get(b []byte) interface{}
	Set(b []byte, data interface{})
}

func Get

func Get(s string) (Typ, bool)

type Unquoter

type Unquoter interface {
	Unquote(s string) (string, error)
}

Jump to

Keyboard shortcuts

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