Documentation
¶
Index ¶
- Constants
- type BugCrowdCrawler
- type BugCrowdNewProgramsRecord
- type BugCrowdStore
- type Fetcher
- type FireBaseSync
- type FireBaseSyncer
- type H1HacktivityCrawler
- type H1HacktivityReporter
- type H1HacktivityStore
- type H1HacktivityTeam
- type H1HacktivityTeamProfile
- type H1HacktivityTeamProfilePict
- type H1HactivityRecord
- type H1HactivityResponse
- type HackerOneBounty
- type HackerOneCrawler
- type HackerOneCrawlerConfig
- type HackerOneRecord
- type HackerOneResponse
- type HackerOneStore
- type Reader
- type Storer
- type UniversalFetcher
Constants ¶
View Source
const (
FIREBASE_BUGCROWD_NEW_DATABASE = "bugcrowd_new"
)
View Source
const (
FIREBASE_H1_HACKTIVITY_DATABASE = "h1hacktivity"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BugCrowdCrawler ¶
type BugCrowdCrawler struct {
sync.RWMutex
Done chan bool
// contains filtered or unexported fields
}
func NewBugCrowdCrawler ¶
func NewBugCrowdCrawler(config *HackerOneCrawlerConfig) *BugCrowdCrawler
func (BugCrowdCrawler) ClearNewRecords ¶
func (h BugCrowdCrawler) ClearNewRecords()
func (*BugCrowdCrawler) Crawl ¶
func (b *BugCrowdCrawler) Crawl()
func (BugCrowdCrawler) GetNewRecords ¶
func (h BugCrowdCrawler) GetNewRecords() interface{}
type BugCrowdStore ¶
type BugCrowdStore struct {
PathToDb string
sync.RWMutex
// contains filtered or unexported fields
}
func (*BugCrowdStore) Clear ¶
func (h *BugCrowdStore) Clear()
func (BugCrowdStore) GetNewRecords ¶
func (h BugCrowdStore) GetNewRecords() interface{}
func (*BugCrowdStore) IsEmpty ¶
func (h *BugCrowdStore) IsEmpty() (bool, error)
func (*BugCrowdStore) Store ¶
func (h *BugCrowdStore) Store(data interface{}) error
type FireBaseSync ¶
func (FireBaseSync) Read ¶
func (f FireBaseSync) Read(data interface{}, path string) error
func (FireBaseSync) Write ¶
func (f FireBaseSync) Write(data interface{}, path string) error
type FireBaseSyncer ¶
type H1HacktivityCrawler ¶
type H1HacktivityCrawler struct {
sync.RWMutex
Done chan bool
// contains filtered or unexported fields
}
func NewH1HacktivityCrowler ¶
func NewH1HacktivityCrowler(config *HackerOneCrawlerConfig) *H1HacktivityCrawler
func (H1HacktivityCrawler) ClearNewRecords ¶
func (h H1HacktivityCrawler) ClearNewRecords()
func (*H1HacktivityCrawler) Crawl ¶
func (h *H1HacktivityCrawler) Crawl()
func (H1HacktivityCrawler) GetNewRecords ¶
func (h H1HacktivityCrawler) GetNewRecords() interface{}
type H1HacktivityReporter ¶
type H1HacktivityStore ¶
type H1HacktivityStore struct {
PathToDb string
sync.RWMutex
// contains filtered or unexported fields
}
func (*H1HacktivityStore) Clear ¶
func (h *H1HacktivityStore) Clear()
func (H1HacktivityStore) GetNewRecords ¶
func (h H1HacktivityStore) GetNewRecords() interface{}
func (*H1HacktivityStore) IsEmpty ¶
func (h *H1HacktivityStore) IsEmpty() (bool, error)
func (*H1HacktivityStore) Store ¶
func (h *H1HacktivityStore) Store(data interface{}) error
type H1HacktivityTeam ¶
type H1HacktivityTeam struct {
Handle string `json:"handle"`
Url string `json:"url"`
Profile H1HacktivityTeamProfile `json:"profile"`
ProfilePictureUrls H1HacktivityTeamProfilePict `json:"profile_picture_urls"`
}
type H1HacktivityTeamProfile ¶
type H1HacktivityTeamProfile struct {
Name string `json:"name"`
}
type H1HactivityRecord ¶
type H1HactivityRecord struct {
BountyDisclosed bool `json:"bounty_disclosed"`
FormattedBounty string `json:"formatted_bounty"`
Id int `json:"id"`
LatestDisclosableAction string `json:"latest_disclosable_action"`
LatestDisclosableActivityAt string `json:"latest_disclosable_activity_at"`
ReadableSubstate string `json:"readable_substate"`
Reporter H1HacktivityReporter `json:"reporter"`
Substate string `json:"substate"`
Swag bool `json:"swag"`
Team H1HacktivityTeam `json:"team"`
Title string `json:"title"`
Url string `json:"url"`
VoteCount int `json:"vote_count"`
Voters []string `json:"voters"`
}
type H1HactivityResponse ¶
type H1HactivityResponse struct {
Count int `json:"count"`
Reports []H1HactivityRecord `json:"reports"`
}
type HackerOneBounty ¶
type HackerOneCrawler ¶
type HackerOneCrawler struct {
sync.RWMutex
Done chan bool
// contains filtered or unexported fields
}
func NewHackerOneCrowler ¶
func NewHackerOneCrowler(config *HackerOneCrawlerConfig) *HackerOneCrawler
func (HackerOneCrawler) ClearNewRecords ¶
func (h HackerOneCrawler) ClearNewRecords()
func (*HackerOneCrawler) Crawl ¶
func (h *HackerOneCrawler) Crawl()
func (HackerOneCrawler) GetNewRecords ¶
func (h HackerOneCrawler) GetNewRecords() interface{}
type HackerOneCrawlerConfig ¶
type HackerOneRecord ¶
type HackerOneRecord struct {
Id int `json:"id"`
Url string `json:"url"`
Name string `json:"name"`
Meta HackerOneBounty `json:"meta"`
About string `json:"about"`
StrippedPolicy string `json:"stripped_policy"`
Handle string `json:"handle"`
ProfilePicture string `json:"profile_picture"`
InternetBugBounty bool `json:"internet_bug_bounty"`
}
type HackerOneResponse ¶
type HackerOneResponse struct {
Limit int `json:"limit"`
Total int `json:"total"`
Results []HackerOneRecord
}
type HackerOneStore ¶
type HackerOneStore struct {
PathToDb string
sync.RWMutex
// contains filtered or unexported fields
}
func (*HackerOneStore) Clear ¶
func (h *HackerOneStore) Clear()
func (HackerOneStore) GetNewRecords ¶
func (h HackerOneStore) GetNewRecords() interface{}
func (*HackerOneStore) IsEmpty ¶
func (h *HackerOneStore) IsEmpty() (bool, error)
func (*HackerOneStore) Store ¶
func (h *HackerOneStore) Store(data interface{}) error
type UniversalFetcher ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.