Versions in this module Expand all Collapse all v0 v0.6.2 Nov 16, 2023 v0.6.1 Oct 26, 2023 v0.6.0 Oct 26, 2023 Changes in this version type Activity + CreatedAt int64 type Client + HttpCtx context.Context + func (c *Client) GetEndpointTier(tierId int) string + func (c *Client) GetEndpointType(typeId int) string + func (c *Client) GetProgramContentDiff(a Activity, field string) string + func (c *Client) GetProgramDomainsDiff(a Activity) string + func (c *Client) GetProgramRulesDiff(a Activity) string type Program + Domains []ProgramDomains + Faqs []ProgramChanges + InScopes []ProgramChanges + OutScopes []ProgramChanges + RulesOfEngagement []ProgramRulesChanges + SeverityAssessments []ProgramChanges + type ProgramChanges struct + Content ProgramChangesContent + CreatedAt int64 + type ProgramChangesContent struct + Content string + type ProgramChangesContentContent struct + Description string + type ProgramDomains struct + Content []ProgramDomainsContent + CreatedAt int64 + type ProgramDomainsContent struct + BountyTierId int + Description string + Endpoint string + Id string + Type int + type ProgramRulesChanges struct + Content ProgramRulesChangesContent + CreatedAt int64 + type ProgramRulesChangesContent struct + Content ProgramChangesContentContent v0.5.1 Oct 3, 2023 v0.5.0 Oct 3, 2023 v0.4.0 Aug 8, 2023 v0.3.0 Jan 16, 2022 Changes in this version + type ResponsePayout struct + Currency string + Value float32 v0.2.0 Apr 1, 2021 v0.1.0 Mar 22, 2021 Changes in this version + const ApiURL + const AppURL + const LoginURL + type Activity struct + Companyhandle string + Createdat int + Description string + Discriminator int + NewPayoutAmount float32 + NewPayoutType int + Newendpoint string + Newseverityid int + Newstate ResponseState + Newstatusid int + Oldstatusid int + Programhandle string + Programid string + Programlogoid string + Programname string + Submissioncode string + Submissiontitle string + Title string + Trigger int + User ResponseUser + UserName string + type ActivityList struct + Activities []Activity + Completed bool + type ActivityOptions struct + ProgramId string + ShowHiddenPrograms bool + StartDate int64 + type Client struct + ApiURL string + AppURL string + Authenticated bool + HTTPClient *http.Client + LastViewed int64 + LoginURL string + Ratelimiter *rate.Limiter + WebhookURL string + func NewClient(username string, password string, rl *rate.Limiter) *Client + func (c *Client) Authenticate() error + func (c *Client) CheckActivity(ctx context.Context) (int, error) + func (c *Client) DiscordFormatActivity(a Activity) string + func (c *Client) DiscordSend(ctx context.Context, message string) error + func (c *Client) GetActivities(ctx context.Context) (*ActivityList, error) + func (c *Client) GetClosedState(state int) string + func (c *Client) GetProgramState(program int) string + func (c *Client) GetSeverity(severity int) string + func (c *Client) GetSubmissionState(state int) string + func (c *Client) SlackFormatActivity(a Activity) string + func (c *Client) SlackSend(message string) error + type Program struct + AwardRep bool + CompanyHandle string + CompanyName string + CompanySustainable bool + ConfidentialityLevel int + Description string + Handle string + IdentityCheckedRequired bool + LogoId string + MaxBounty string + MinBounty string + Name string + ProgramId string + SkipTriage bool + Status int + View int + type ResponseState struct + Closereason int + Duplicatesubmission string + Status int + type ResponseUser struct + Avatarid string + Email string + Role string + Userid string + Username string