Documentation ¶
Index ¶
- Constants
- func AppendRecordForRecordCache(ctx context.Context, roomId string, record *model.Record) error
- func Close(ctx context.Context)
- func CreateRecordCache(ctx context.Context, cache *model.RecordCache) error
- func FindRoom(ctx context.Context, roomId string) bool
- func GetCache(ctx context.Context, roomId string) (cache *model.RecordCache, err error)
- func InitDb(addr []string, maxpollsize uint64, username, password, source string) error
- func SetEnd(ctx context.Context, roomId, display string, startTime uint64) error
- func SetUrl(ctx context.Context, roomId, display string, startTime uint64, url string) error
- type DbManager
Constants ¶
View Source
const ( HEART_BEAT_INTERVAL = 10 CONNECT_TIMEOUT = 3 MAX_CONNIDLE_TIME = 60 )
Variables ¶
This section is empty.
Functions ¶
func CreateRecordCache ¶
func CreateRecordCache(ctx context.Context, cache *model.RecordCache) error
Types ¶
Click to show internal directories.
Click to hide internal directories.