hackerone

package
v0.0.0-...-160aedf Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProgramScope

func GetProgramScope(outputChan chan string, opt options.Options) error

func GetProgramsScope

func GetProgramsScope(programsChan chan string, outputChan chan string, opt options.Options)

Types

type NextPrograms

type NextPrograms struct {
	Next string `json:"next"`
}

type Programs

type Programs struct {
	ProgramsData []*ProgramsData `json:"data"`
	Links        *NextPrograms   `json:"links"`
}

func UnmarshalPrograms

func UnmarshalPrograms(jsonBytes []byte) (*Programs, error)

type ProgramsAttributes

type ProgramsAttributes struct {
	Handle       string `json:"handle"`
	State        string `json:"state"`
	OffersBounty bool   `json:"offers_bounties"`
}

type ProgramsData

type ProgramsData struct {
	ProgramsAttributes *ProgramsAttributes `json:"attributes"`
}

type Scope

type Scope struct {
	ProgramData []*ScopeData `json:"data"`
}

func Unmarshal

func Unmarshal(jsonBytes []byte) (*Scope, error)

type ScopeAttributes

type ScopeAttributes struct {
	AssetType         string `json:"asset_type"`
	Identifier        string `json:"asset_identifier"`
	EligibleForBounty bool   `json:"eligible_for_bounty"`
}

type ScopeData

type ScopeData struct {
	Attributes *ScopeAttributes `json:"attributes"`
}

Jump to

Keyboard shortcuts

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