config

package
v0.0.0-...-49409b7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DataBase = "personal-testing"
	C_Client = "clientinfo"
	C_Packet = "packetinfo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {
	ClientID  string   `bson:"clientid"`
	Relations []string `bson:"relations"`
	Weight    int      `bson:"weight"`
}

ClientInfo 客户端信息

type PacketInfo

type PacketInfo struct {
	ID          string    `bson:"packetid"`
	SendID      string    `bson:"sendid"`
	ReceiveID   string    `bson:"receiveid"`
	SendTime    time.Time `bson:"sendtime"`
	ReceiveTime time.Time `bson:"receivetime,omitempty"`
}

PacketInfo 数据包信息

Jump to

Keyboard shortcuts

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