MCPcopy Create free account

hub / github.com/klauspost/password / types & classes

Types & classes22 in github.com/klauspost/password

↓ 1 callersTypeAliasMemDB
This is the simplest possible database that must be supported. If you can mimmic this with your database you are good to go!
drivers/testdb/memdb.go:17
↓ 1 callersTypeAliasMemDBBulk
MemDBBulk is the same as MemDB, but also satisfies the bulk interface.
drivers/testdb/memdb.go:44
StructBloomPW
drivers/bloompw/bloom.go:12
StructBoltDB
drivers/boltpw/boltdb.go:10
InterfaceBulkWriter
If your DbWriter implements this, input will be sent in batches instead of using Add.
bulk.go:7
StructCassandra
Cassandra can be used for adding and checking passwords.
drivers/cassandra/cassandra.go:12
StructCustomSanitizer
password_test.go:242
InterfaceDB
A DB should check the database for the supplied password. The password sent to the interface has always been sanitized.
password.go:44
InterfaceDbWriter
A DbWriter is used for adding passwords to a database. Items sent to Add has always been sanitized, however the same passwords can be sent multiple ti
password.go:38
StructLineReader
LineReader will return one line when Next() is called.
tokenizer/linereader.go:16
StructMongo
Mongo can be used for adding and checking passwords. Note that passwords are cut until they are below 512 bytes when checking against the database, si
drivers/mgopw/mgo.go:20
StructPassErr
testdata/testset.go:1816
InterfaceSanitizer
A Sanitizer should prepare a password, and check the basic properties that should be satisfied. For an example, see DefaultSanitizer
password.go:51
StructSql
Sql can be used for adding and checking passwords. Insert and Query are generated for MySQL, and should very likely be changed for other databases. Se
drivers/sqlpw/sql.go:26
InterfaceTestDB
drivers/testing.go:23
InterfaceTokenizer
Tokenizer delivers input tokens (passwords). Calling Next() should return the next password, and when finished io.EOF should be returned. It is ok fo
password.go:61
Structasset
testdata/generated.go:18
StructbindataFileInfo
testdata/generated.go:23
Structbintree
testdata/generated.go:156
StructbulkWrapper
bulk.go:11
StructdefaultSanitizer
doc at DefaultSanitizer
password.go:96
Interfaceiniter
password.go:112