domain

package
v0.0.0-...-fcc4a6d Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: ISC Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Title

func Title(s string) string

func ToUnicode

func ToUnicode(s string) string

Types

type Domain

type Domain struct {
	Processed   bool
	Name        string `json:"name"`
	ReleaseAt   string `json:"release_at"`
	Nameservers []Nameserver
}

type Nameserver

type Nameserver struct {
	Domain string
	TTL    int32
}

type Response

type Response struct {
	Data    []Domain `json:"data"`
	Domains map[string]Domain
}

type Service

type Service struct {
	DB *gorm.DB
}

func New

func New(db *gorm.DB) *Service

func (*Service) Poll

func (s *Service) Poll()

Jump to

Keyboard shortcuts

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