cache

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheMetadata

func CacheMetadata(key MetadataCacheKey, data *sqlparser.Metadata)

func FindMetadata

func FindMetadata(key MetadataCacheKey) *sqlparser.Metadata

Types

type MetadataCache

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

type MetadataCacheKey

type MetadataCacheKey string

func CalcKey

func CalcKey(sql string, params map[string]interface{}) MetadataCacheKey

Source Files

  • metadata_cache.go

Jump to

Keyboard shortcuts

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