generate

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 Gen

func Gen(cfg Config)

Gen 生成群组及组成员操作

Types

type Config

type Config struct {
	GroupNum            int    // 组数量
	GroupClientLimitNum int    // 组成员数量限制
	ClientNum           int    // 组成员数量
	ClientGroupLimitNum int    // 组成员所拥有的组数量限制
	MongoUrl            string // MongoDB连接
}

type Generate

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

func (*Generate) GenGroup

func (g *Generate) GenGroup() error

func (*Generate) GenUser

func (g *Generate) GenUser() error

Jump to

Keyboard shortcuts

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