mirror of
https://github.com/nxtrace/nali
synced 2024-11-22 00:58:38 +00:00
19 lines
251 B
Go
19 lines
251 B
Go
package db
|
|
|
|
import (
|
|
"sync"
|
|
|
|
"github.com/zu1k/nali/pkg/dbif"
|
|
)
|
|
|
|
var (
|
|
dbNameCache = make(map[string]dbif.DB)
|
|
dbTypeCache = make(map[dbif.QueryType]dbif.DB)
|
|
queryCache = sync.Map{}
|
|
)
|
|
|
|
var (
|
|
NameDBMap = make(NameMap)
|
|
TypeDBMap = make(TypeMap)
|
|
)
|