package
Version:
v0.0.0-...-c56127d
Opens a new window with list of versions in this module.
Published: Feb 27, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DisposableEmail struct {
ID uint `json:"-"`
Domain string `json:"domain" db:"domain"`
Score int `json:"score" db:"score"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
type FreeEmail struct {
ID uint `json:"-"`
Domain string `json:"domain" db:"domain"`
Score int `json:"score" db:"score"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
type Proxy struct {
ID uint `json:"-"`
IP string `json:"ip" db:"ip"`
Port string `json:"port" db:"port"`
Type string `json:"type" db:"type"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
type Spam struct {
ID uint `json:"-"`
IP string `json:"ip" db:"ip"`
Prefix byte `json:"prefix" db:"prefix"`
Type string `json:"type" db:"type"`
Score int `json:"score" db:"score"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
type SpamEmail struct {
ID uint `json:"-"`
Domain string `json:"domain" db:"domain"`
Score int `json:"score" db:"score"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
type Tor struct {
ID uint `json:"-"`
IP string `json:"ip" db:"ip"`
Prefix byte `json:"prefix" db:"prefix"`
Type string `json:"type" db:"type"`
Score int `json:"score" db:"score"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
type Vpn struct {
ID uint `json:"-"`
IP string `json:"ip" db:"ip"`
Prefix byte `json:"prefix" db:"prefix"`
Type string `json:"type" db:"type"`
Score int `json:"score" db:"score"`
CreatedAt time.Time `json:"-" db:"created_at"`
UpdatedAt time.Time `json:"-" db:"updated_at"`
DeletedAt *time.Time `json:"-" db:"deleted_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.