Back to godoc.org

Package dump

v1.8.6
Latest Go to latest
Published: Jul 26, 2019 | License: MIT | Module: github.com/justwatchcom/gopass

Index

Package Files

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

Scanner is a HIBP dump scanner

func New

func New(dumps ...string) (*Scanner, error)

New creates a new scanner

func (*Scanner) LookupBatch

func (s *Scanner) LookupBatch(ctx context.Context, in []string) []string

LookupBatch takes a slice SHA1 hashes and matches them against the provided dumps

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier