structs

package
v0.0.0-...-f1dbcd9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type H1GraphResponse

type H1GraphResponse struct {
	Data struct {
		HacktivityItems struct {
			Edges []struct {
				Node struct {
					Reporter struct {
						Username string `json:"username"`
					} `json:"reporter"`
					Team struct {
						Handle string `json:"handle"`
						Name   string `json:"name"`
						URL    string `json:"url"`
					} `json:"team"`
					Report struct {
						Title    string `json:"title"`
						Substate string `json:"substate"`
						URL      string `json:"url"`
					} `json:"report"`
					LatestDisclosableActivityAt time.Time   `json:"latest_disclosable_activity_at"`
					TotalAwardedAmount          float64     `json:"total_awarded_amount"`
					SeverityRating              interface{} `json:"severity_rating"`
					Currency                    string      `json:"currency"`
				} `json:"node"`
			} `json:"edges"`
		} `json:"hacktivity_items"`
	} `json:"data"`
}

type HacktivityItem

type HacktivityItem struct {
	Title      string
	State      string
	Link       string
	Bounty     string
	HasBounty  bool
	Severity   string
	ReportedBy string
	ReportedTo string
	LastUpdate time.Time
	RSSItem    *feeds.Item
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址