mirror of
https://github.com/nxtrace/nali
synced 2024-11-21 16:49:39 +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)
|
|
)
|