dto

package
v0.0.0-...-076fb55 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CityModel

type CityModel struct {
	gorm.Model
	CountryID uint
	Name      string
}

func (CityModel) TableName

func (CityModel) TableName() string

type CompanyModel

type CompanyModel struct {
	gorm.Model
	ID         string `gorm:"primarykey"`
	Name       string
	OwnerID    string
	TaxNumber  string
	LocationID uint
}

func (CompanyModel) TableName

func (CompanyModel) TableName() string

type CountryModel

type CountryModel struct {
	gorm.Model
	Name string
}

func (CountryModel) TableName

func (CountryModel) TableName() string

type EndpointDTO

type EndpointDTO struct {
	IpAddress string `json:"ipAddress"`
	Grade     string `json:"grade"`
	SeverName string `json:"serverName"`
}

type FlatDetailedFranchiseModel

type FlatDetailedFranchiseModel struct {
	ID       string
	Title    string
	SiteName string
	URL      string
	Address  string
	ZipCode  string
	City     string
	Country  string
}

type FranchiseModel

type FranchiseModel struct {
	gorm.Model
	ID                   string `gorm:"primarykey"`
	CompanyID            string
	Title                string
	SiteName             string
	Description          string
	Image                string
	URL                  string
	Protocol             string
	DomainJumps          int
	ServerNames          pq.StringArray `gorm:"type:text[]"`
	DomainCreationDate   string
	DomainExpirationDate string
	RegistrantName       string
	ContactEmail         string
	LocationID           uint
}

func (FranchiseModel) TableName

func (FranchiseModel) TableName() string

type HTMLDataDTO

type HTMLDataDTO struct {
	Title       string
	Description string
	Image       string
	SiteName    string
}

type LocationModel

type LocationModel struct {
	gorm.Model
	Address string
	ZipCode string
	CityID  uint
}

func (LocationModel) TableName

func (LocationModel) TableName() string

type PendingFranchizeModel

type PendingFranchizeModel struct {
	gorm.Model
	ID     string
	URL    string
	Status string
	Error  *string
}

func (PendingFranchizeModel) TableName

func (PendingFranchizeModel) TableName() string

type ProtocolAndJumpsDTO

type ProtocolAndJumpsDTO struct {
	Protocol string
	Jumps    int
}

type SSLLabsResponseDTO

type SSLLabsResponseDTO struct {
	Host      string        `json:"host"`
	Port      int           `json:"port"`
	Protocol  string        `json:"protocol"`
	Endpoints []EndpointDTO `json:"endpoints"`
}

type ScrapDTO

type ScrapDTO struct {
	HTMLData HTMLDataDTO
	ProtocolAndJumpsDTO
	WhoisData whoisparser.WhoisInfo
}

Jump to

Keyboard shortcuts

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