breachdirectory

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 8 Imported by: 0

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 BreachDirectory

type BreachDirectory struct {
	Response BreachDirectoryResponse
}

func New

func New() *BreachDirectory

func (*BreachDirectory) Lookup

func (b *BreachDirectory) Lookup(email string)

func (*BreachDirectory) Print

func (b *BreachDirectory) Print()

type BreachDirectoryResponse

type BreachDirectoryResponse struct {
	Success bool `json:"success"`
	Found   int  `json:"found"`
	Result  []struct {
		HasPassword bool     `json:"has_password"`
		Sources     []string `json:"sources"`
		Password    string   `json:"password,omitempty"`
		Sha1        string   `json:"sha1,omitempty"`
		Hash        string   `json:"hash,omitempty"`
	} `json:"result"`
}

Jump to

Keyboard shortcuts

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