Documentation
¶
Index ¶
- func ByteToFloat32(bytes []byte) float32
- func ByteToFloat64(bytes []byte) float64
- func ByteToInt64(b []byte) int64
- func Float32ToByte(float float32) []byte
- func Float64ToByte(float float64) []byte
- func Int64ToByte(v int64) []byte
- type Cache
- type DB
- type DBT
- func (d *DBT) DelField(stat, key string)
- func (d *DBT) ExField(stat, key string) bool
- func (d *DBT) GetBool(stat, key string) (bool, error)
- func (d *DBT) GetByt(stat, key string) ([]byte, error)
- func (d *DBT) GetFloat32(stat, key string) (float32, error)
- func (d *DBT) GetFloat64(stat, key string) (float64, error)
- func (d *DBT) GetInt(stat, key string) (int64, error)
- func (d *DBT) GetObj(stat, key string, val interface{}) error
- func (d *DBT) GetStr(stat, key string) (string, error)
- func (d *DBT) GetTime(stat, key string) (time.Time, error)
- func (d *DBT) MustGetStr(stat, key string) string
- func (d *DBT) MustSetStr(stat, key, val string) *DBT
- func (d *DBT) SetBool(stat, key string, val bool) error
- func (d *DBT) SetByt(stat, key string, val []byte) error
- func (d *DBT) SetFloat32(stat, key string, val float32) error
- func (d *DBT) SetFloat64(stat, key string, val float64) error
- func (d *DBT) SetInt(stat, key string, val int64) error
- func (d *DBT) SetObj(stat, key string, val interface{}) error
- func (d *DBT) SetStr(stat, key, val string) error
- func (d *DBT) SetTime(stat, key string, val time.Time) error
- type Queue
- func (q *Queue) CheckSelf(参标识 int64)
- func (q *Queue) Count() int64
- func (q *Queue) DelEnd() error
- func (q *Queue) DelEndNolock() error
- func (q *Queue) DelFlog(flog int64) error
- func (q *Queue) DelHead() error
- func (q *Queue) DelHeadNolock() error
- func (q *Queue) FlogExist(flog int64) bool
- func (q *Queue) FlogRead(flog int64) string
- func (q *Queue) FlogWriter(flog int64, str string) error
- func (q *Queue) GetFlog() int64
- func (q *Queue) InsertAfter(flog int64, content string) (int64, error)
- func (q *Queue) InsertBefore(flog int64, content string) (int64, error)
- func (q *Queue) Next() bool
- func (q *Queue) Prev() bool
- func (q *Queue) Read() (string, int64, error)
- func (q *Queue) ToEnd() (int64, string, error)
- func (q *Queue) Tohead() (int64, error)
- func (q *Queue) Write(content string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToFloat32 ¶
func ByteToFloat64 ¶
func ByteToInt64 ¶
func Float32ToByte ¶
func Float64ToByte ¶
func Int64ToByte ¶
Types ¶
type DBT ¶
type DBT struct {
// contains filtered or unexported fields
}
func (*DBT) MustGetStr ¶
func (*DBT) MustSetStr ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) InsertAfter ¶
在当前标识后插入数据,返回新标识,
func (*Queue) InsertBefore ¶
在当前标识前插入数据,返回新标识,
Click to show internal directories.
Click to hide internal directories.