Documentation ¶
Overview ¶
Deprecated.
Index ¶
- Variables
- type AuthBase
- type AuthRank
- type Base
- func (b *Base) AdmPutDescr(group []byte, descr []byte)
- func (b *Base) AdmPutStatus(group []byte, status byte)
- func (b *Base) CreateTables(d *Dialect) error
- func (b *Base) Expire(expire time.Time) error
- func (b *Base) GroupHeadInsert(groups [][]byte, buf []int64) (nums []int64, e error)
- func (b *Base) GroupHeadRevert(groups [][]byte, nums []int64) error
- func (b *Base) GroupRealtimeList(targ func(group []byte, high, low int64, status byte)) bool
- func (b *Base) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool)
- func (b *Base) GroupStaticList(targ func(group []byte, descr []byte)) bool
- func (b *Base) InsertGoupMapping(group []byte, num int64, msgid []byte, expire time.Time) error
- func (b *Base) InsertIDMapping(msgid, bucket []byte, expire time.Time) error
- func (b *Base) QueryGroupList(group []byte, first, last int64, ...) error
- func (b *Base) QueryGroupMapping(group []byte, num int64) (msgid, bucket bufferex.Binary, err error)
- func (b *Base) QueryGroupShift(group []byte, num int64, backward bool) (nxt int64, msgid bufferex.Binary, err error)
- func (b *Base) QueryIDMapping(msgid []byte) (bucket bufferex.Binary, err error)
- type Dialect
- type PgBase
Constants ¶
This section is empty.
Variables ¶
View Source
var MsSqlDialect = &Dialect{
Binary: "varbinary",
Int64: "bigint",
Date: "date",
Byte: "tinyint",
}
Microsoft SQL Server (untested)
View Source
var PgDialect = &Dialect{
Binary: "bytea",
Int64: "bigint",
Date: "date",
Byte: "smallint",
}
PostgreSQL
Functions ¶
This section is empty.
Types ¶
type Base ¶
func (*Base) AdmPutDescr ¶
func (*Base) AdmPutStatus ¶
func (*Base) CreateTables ¶
func (*Base) GroupHeadInsert ¶
func (*Base) GroupRealtimeList ¶
func (*Base) GroupRealtimeQuery ¶
func (*Base) GroupStaticList ¶
func (*Base) InsertGoupMapping ¶
func (*Base) InsertIDMapping ¶
func (*Base) QueryGroupList ¶
func (*Base) QueryGroupMapping ¶
func (*Base) QueryGroupShift ¶
Click to show internal directories.
Click to hide internal directories.