Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PutResourceBatch ¶
PutResourceBatch puts a batch of resources into the boltdb
Types ¶
type Resource ¶
type Resource struct { ID string `json:"id"` Name string `json:"n"` ResourceGroupID string `json:"rgid"` ResourceGroupName string `json:"rgn"` }
Resource is the struct used to store crawled resources
func GetAllResources ¶
GetAllResources returns all the resources seen in the last crawl
Click to show internal directories.
Click to hide internal directories.