server

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	EventStreamManager *eventstream.Manager
	// contains filtered or unexported fields
}

func Run

func Run(mongo *mgo.Database, cfg *config.Config) (*Context, error)

func (*Context) Interrupt

func (ctx *Context) Interrupt()

func (*Context) Wait

func (ctx *Context) Wait() error

type CookieConfig

type CookieConfig struct {
	Id       string `bson:"_id"`
	HashKey  []byte `bson:"hashKey"`
	BlockKey []byte `bson:"blockKey"`
}

Jump to

Keyboard shortcuts

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