database

package module
v0.0.0-...-37d250f Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Privacy

所有数据均来源于互联网,仅用于查询个人信息泄露情况,请勿用于非法目的。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	QueryByQQNumber(ctx context.Context, qqNumber int64) ([]Model, error)
	QueryByEmail(ctx context.Context, email string) ([]Model, error)
	QueryByIDNumber(ctx context.Context, idNumber string) ([]Model, error)
	QueryByPhoneNumber(ctx context.Context, phoneNumber int64) ([]Model, error)
}

type Model

type Model interface {
	GetName() (name string, valid bool)
	GetNickname() (nickname string, valid bool)
	GetPassword() (password string, valid bool)
	GetEmail() (email string, valid bool)
	GetQQNumber() (qqNumber int64, valid bool)
	GetIDNumber() (idNumber string, valid bool)
	GetPhoneNumber() (phoneNumber int64, valid bool)
	GetAddress() (address string, valid bool)
}

Jump to

Keyboard shortcuts

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