models

package
v0.0.0-...-c56127d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisposableEmail

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

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

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"`
}

func (*Proxy) ToString

func (p *Proxy) ToString() string

type Spam

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"`
}

func (Spam) ToString

func (s Spam) ToString() string

type SpamEmail

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

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"`
}

func (Tor) ToString

func (s Tor) ToString() string

type Vpn

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"`
}

func (Vpn) ToString

func (v Vpn) ToString() string

Jump to

Keyboard shortcuts

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