Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ethereum/node-crawler
/ Api
Struct
Api
pkg/api/api.go:16–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
)
15
16
type
Api
struct
{
17
address string
18
cache *lru.Cache
19
db *sql.DB
20
}
21
22
func
New(address string, sdb *sql.DB) *Api {
23
cache, err := lru.New(256)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected