req

package
v0.0.0-...-8c72124 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

This package is the initialization point for the api. In particular, in your init (/main) function, the flow is to create a req.Context and fill in required options. Setting table prefix, length for unique strings generated to assign to new entities, and setting the storage system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	NumCharsUnique int // 62^num unique strings
	Updates        chan x.Entity
	HasIndexer     bool
}

func NewContext

func NewContext(numChars int) *Context

func NewContextWithUpdates

func NewContextWithUpdates(numChars, buffer int) *Context

Jump to

Keyboard shortcuts

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