Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateRepo ¶
type CertificateRepo struct {
// contains filtered or unexported fields
}
var CertificateRepository *CertificateRepo
func NewCertificateRepository ¶
func NewCertificateRepository(db *sqlx.DB) *CertificateRepo
func (*CertificateRepo) Create ¶
func (repository *CertificateRepo) Create(networkId uint, cert x509.Certificate) (entities.CertificateModel, error)
type DnsRepo ¶
type DnsRepo struct {
// contains filtered or unexported fields
}
var DnsRepository *DnsRepo
func NewDnsRepository ¶
type NetworkRepo ¶
type NetworkRepo struct {
// contains filtered or unexported fields
}
var NetworkRepository *NetworkRepo
func NewNetworkRepository ¶
func NewNetworkRepository(db *sqlx.DB) *NetworkRepo
NewNetworkRepository creates a new NetworkRepository
func (*NetworkRepo) Create ¶
func (n *NetworkRepo) Create(network entities.NetworkModel) (uint, error)
NetworkRepositoryInterface is the interface for the NetworkRepository
func (*NetworkRepo) GetScanNetwork ¶
func (n *NetworkRepo) GetScanNetwork(id uint) (combinedNetwork, error)
type WhoisRepo ¶
type WhoisRepo struct {
// contains filtered or unexported fields
}
var WhoisRepository *WhoisRepo
func NewWhoisRepository ¶
func (*WhoisRepo) SaveWhoisResult ¶
func (repository *WhoisRepo) SaveWhoisResult(whois entities.WhoisModel) error
Click to show internal directories.
Click to hide internal directories.