1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00
nali/internal/db/cache.go

15 lines
250 B
Go
Raw Normal View History

2021-08-02 12:01:25 +08:00
package db
import "github.com/zu1k/nali/pkg/dbif"
var (
dbNameCache = make(map[string]dbif.DB)
dbTypeCache = make(map[dbif.QueryType]dbif.DB)
queryCache = make(map[string]string)
)
var (
NameDBMap = make(NameMap)
TypeDBMap = make(TypeMap)
)