Documentation ¶
Overview ¶
Copyright © 2023 github.com/alpkeskin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HaveIBeenPwned ¶
type HaveIBeenPwned struct {
Response HaveIBeenPwnedResponse
}
func New ¶
func New() *HaveIBeenPwned
func (*HaveIBeenPwned) Lookup ¶
func (h *HaveIBeenPwned) Lookup(email string)
func (*HaveIBeenPwned) Print ¶
func (h *HaveIBeenPwned) Print()
type HaveIBeenPwnedResponse ¶
type HaveIBeenPwnedResponse []struct { Name string `json:"Name"` Title string `json:"Title"` Domain string `json:"Domain"` BreachDate string `json:"BreachDate"` AddedDate time.Time `json:"AddedDate"` ModifiedDate time.Time `json:"ModifiedDate"` PwnCount int `json:"PwnCount"` Description string `json:"Description"` LogoPath string `json:"LogoPath"` DataClasses []string `json:"DataClasses"` IsVerified bool `json:"IsVerified"` IsFabricated bool `json:"IsFabricated"` IsSensitive bool `json:"IsSensitive"` IsRetired bool `json:"IsRetired"` IsSpamList bool `json:"IsSpamList"` IsMalware bool `json:"IsMalware"` IsSubscriptionFree bool `json:"IsSubscriptionFree"` }
Click to show internal directories.
Click to hide internal directories.