cache

package
Version: v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 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

Jump to

Keyboard shortcuts

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