base

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseTableMetaCache

type BaseTableMetaCache struct {
	// contains filtered or unexported fields
}

BaseTableMetaCache

func NewBaseCache

func NewBaseCache(capity int32, expireDuration time.Duration, trigger trigger) *BaseTableMetaCache

NewBaseCache

func (*BaseTableMetaCache) Destroy

func (c *BaseTableMetaCache) Destroy() error

func (*BaseTableMetaCache) GetTableMeta

func (c *BaseTableMetaCache) GetTableMeta(ctx context.Context, dbName, tableName string, conn *sql.Conn) (types.TableMeta, error)

GetTableMeta

func (*BaseTableMetaCache) Init

func (c *BaseTableMetaCache) Init(ctx context.Context) error

init

Jump to

Keyboard shortcuts

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