search

package
v0.0.0-...-a1cd0b2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: MIT Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateTlds

func ValidateTlds(tlds []string) error

Types

type Search struct {
	// contains filtered or unexported fields
}

Search struct

func New

func New(source source.Source, cache *cache.Cache) *Search

New returns a new Search struct

func (*Search) BuildQuery

func (s *Search) BuildQuery(first []string, second []string, tlds []string, tldSubstitutions bool) []string

BuildQuery builds domain names from given parts

func (*Search) IsAvailable

func (s *Search) IsAvailable(domain string) (bool, error)

IsAvailable checks the availability of a domain

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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