psdcontext

package
v0.0.0-...-fb539ad Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareContext

func PrepareContext(cfg_file string)

Types

type Config

type Config struct {
	NSQConfig   NSQConfig
	HttpConfig  HttpConfig
	RedisConfig RedisConfig
}

type Context

type Context struct {
	Config    Config
	RedisPool *redis.Pool
	AgScript  *redis.Script
}
var Ctx Context

type HttpConfig

type HttpConfig struct {
	Bind string
}

type NSQConfig

type NSQConfig struct {
	NSQLookupds []string
}

type RedisConfig

type RedisConfig struct {
	Expire int64
	Dsn    string
}

Jump to

Keyboard shortcuts

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