collect

package
v0.0.0-...-057d967 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCollect

func ExecCollect(cfg Config)

ExecCollect 执行汇总

Types

type Collect

type Collect struct {
	// contains filtered or unexported fields
}

Collect 汇总发布的包数据

func (*Collect) DB

func (c *Collect) DB() *mgo.Database

func (*Collect) Init

func (c *Collect) Init() error

func (*Collect) Remove

func (c *Collect) Remove() error

func (*Collect) StartCollect

func (c *Collect) StartCollect() error

StartCollect 开始汇总数据

func (*Collect) Statistics

func (c *Collect) Statistics() error

Statistics 统计结果数据

type Config

type Config struct {
	MongoUrl string // MongoDB连接
}

Config 配置信息

Jump to

Keyboard shortcuts

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