Documentation ¶
Index ¶
Constants ¶
View Source
const ( PEP = "pep" SANCTION = "sanction" UNKNOWN = "unknown" )
Person entry type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Country ¶
Country is person country detail
func NewCountry ¶
NewCountry creates country by given name
type IdentityCheck ¶
type IdentityCheck struct {
// contains filtered or unexported fields
}
IdentityCheck provides base checking
func NewIdentityCheck ¶
func NewIdentityCheck() (*IdentityCheck, error)
NewIdentityCheck creates new pep and sanction check
type Person ¶
type Person struct { Hash string `json:"hash"` Name string `json:"name"` Type string `json:"type"` BirthDay *int `json:"birth_day"` BirthMonth *int `json:"birth_month"` BirthYear *int `json:"birth_year"` Alias *[]string `json:"alias"` BirthDate *time.Time `json:"birth_date"` Country *Country `json:"country"` }
Person contains name, birth detail, country and entry type
Click to show internal directories.
Click to hide internal directories.