Documentation ¶
Overview ¶
Package refertable for saving external data
Index ¶
Constants ¶
View Source
const ( SchemeHTTP = "http" SchemeHTTPS = "https" PullDuration = time.Second )
Variables ¶
This section is empty.
Functions ¶
func ColType2SqliteType ¶
Types ¶
type PlReferTables ¶
type PlReferTablesInMemory ¶
type PlReferTablesInMemory struct {
// contains filtered or unexported fields
}
func (*PlReferTablesInMemory) Stats ¶
func (plrefer *PlReferTablesInMemory) Stats() *ReferTableStats
type PlReferTablesSqlite ¶
type PlReferTablesSqlite struct {
// contains filtered or unexported fields
}
func (*PlReferTablesSqlite) Stats ¶
func (p *PlReferTablesSqlite) Stats() *ReferTableStats
type ReferTable ¶
type ReferTable struct {
// contains filtered or unexported fields
}
func NewReferTable ¶
func NewReferTable(cfg RefTbCfg) (*ReferTable, error)
func (*ReferTable) InitFinished ¶
func (refT *ReferTable) InitFinished(waitTime time.Duration) bool
InitFinished used to check init status.
func (*ReferTable) PullWorker ¶
func (refT *ReferTable) PullWorker(ctx context.Context)
func (*ReferTable) Tables ¶
func (refT *ReferTable) Tables() PlReferTables
type ReferTableStats ¶
Click to show internal directories.
Click to hide internal directories.