picarus

package
v0.0.0-...-cf3a8fa Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2014 License: Apache-2.0, BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B64Dec

func B64Dec(s string) string

func B64DecBytes

func B64DecBytes(s string) []byte

func B64Enc

func B64Enc(s string) string

func UB64Dec

func UB64Dec(s string) string

func UB64Enc

func UB64Enc(s string) string

Types

type Conn

type Conn struct {
	Email    string
	ApiKey   string
	LoginKey string
	Server   string
}

func (*Conn) GetRow

func (conn *Conn) GetRow(table string, row string, columns []string) (map[string]string, error)

func (*Conn) GetSlice

func (conn *Conn) GetSlice(table string, startRow string, stopRow string, columns []string, params map[string]string) ([]map[string]string, error)

func (*Conn) GetTable

func (conn *Conn) GetTable(table string, columns []string) ([]map[string]string, error)

func (*Conn) PatchRow

func (conn *Conn) PatchRow(table string, row string, params map[string]string, files map[string][]byte) (map[string]string, error)

func (*Conn) PostRow

func (conn *Conn) PostRow(table string, row string, params map[string]string) (map[string]string, error)

func (*Conn) PostSlice

func (conn *Conn) PostSlice(table string, startRow string, stopRow string, params map[string]string) (map[string]string, error)

func (*Conn) PostTable

func (conn *Conn) PostTable(table string, params map[string]string, files map[string][]byte, slices []Slice) (map[string]string, error)

func (*Conn) Scanner

func (conn *Conn) Scanner(table string, startRow string, stopRow string, columns []string, params map[string]string) *ScannerState

func (*Conn) WatchJob

func (conn *Conn) WatchJob(row string) (map[string]string, error)

type ScannerState

type ScannerState struct {
	Done bool
	// contains filtered or unexported fields
}

func (*ScannerState) Next

func (ss *ScannerState) Next() (string, map[string]string, error)

type Slice

type Slice struct {
	StartRow, StopRow string
}

Jump to

Keyboard shortcuts

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