ado

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EDBMgoOper_Update = string("MgoUpdate")
)
View Source
const (
	EDB_DATA_SAVE_INTERVAL int32 = 10 //5 * 60
)
View Source
const (
	EMgo_Thread_Cnt = int32(1000)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EDBOperType

type EDBOperType int32
const (
	EDBOper_Insert EDBOperType = 1
	EDBOper_Update EDBOperType = 2
	EDBOper_Delete EDBOperType = 3
	EDBOper_DB     EDBOperType = 4
	EDBOper_EXPIRE EDBOperType = 5
	EDBOper_LAND   EDBOperType = 6
)

type EDataUpdateType

type EDataUpdateType int32

some data could be saved to cache or db for Persistence.

const (
	ED_SYNC_DB    EDataUpdateType = 1
	ED_SYNC_REDIS EDataUpdateType = 2
)

type IDBModule

type IDBModule struct {
	StrIdentify string `bson:"_id" json:"_id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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