core

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: GPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-05 21:53
  • description :
  • history :

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-05 21:53
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : core.go
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-05 21:53
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : types.go
  • author : jarryliu
  • date : -- :
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRedisConn

func GetRedisConn() redis.Conn

获取Redis连接

func GetRedisPool

func GetRedisPool() *redis.Pool

获取Redis连接池

func RegisterTypes

func RegisterTypes()

注册序列号类型

Types

type MainApp

type MainApp struct {
	Loaded bool
	// contains filtered or unexported fields
}

application context implement of web.Application

func NewMainApp

func NewMainApp(confPath string) *MainApp

func (*MainApp) Config

func (this *MainApp) Config() *gof.Config

func (*MainApp) Db

func (this *MainApp) Db() db.Connector

func (*MainApp) Debug

func (this *MainApp) Debug() bool

func (*MainApp) Init

func (this *MainApp) Init(debug, trace bool) bool

func (*MainApp) Log

func (this *MainApp) Log() log.ILogger

func (*MainApp) Redis

func (this *MainApp) Redis() *redis.Pool

func (*MainApp) Source

func (this *MainApp) Source() interface{}

func (*MainApp) Storage

func (this *MainApp) Storage() gof.Storage

func (*MainApp) Template

func (this *MainApp) Template() *gof.Template

Directories

Path Synopsis
*
*
ad
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
member
*
*
*
*
*
*
*
sale
*
*
*
*
*
domain
*
*
*
format
*
*
gen
*
*
*
gen/rsc/gf256
Package gf256 implements arithmetic over the Galois Field GF(256).
Package gf256 implements arithmetic over the Galois Field GF(256).
gen/rsc/qr
Package qr encodes QR codes.
Package qr encodes QR codes.
gen/rsc/qr/coding
Package coding implements low-level QR coding details.
Package coding implements low-level QR coding details.
lbs
log
mss
*
*
*
*
tool
*
*
ui
*
*
*
service
dps
*
*
*

Jump to

Keyboard shortcuts

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