Skip to content

checks to see if a domain is available

License

Notifications You must be signed in to change notification settings

mike-seagull/peck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peck

Checks a domain to see if it is available


alt text

Exits 0 if the domain is available, else exits > 0

To check a domain

domain_pecker $domain

Lambda

It can also be used as a lambda function by providing an environment variable:

IS_LAMBDA=true

Development

To package for Lambda:

go run mage.go package or mage package