Discover Packages
github.com/elmasy-com/columbus-sdk
package
module
Version:
v0.10.0
Opens a new window with list of versions in this module.
Published: May 26, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
README
README
¶
columbus-sdk
Expand ▾
Collapse ▴
Documentation
¶
Lookup do a lookup for given domain d.
If full is true, returns the full hostname.
Known errors are:
ErrInvalidDomain (d is not a valid domain), ErrBlocked (blocked IP) and
ErrNotFound (the given domain is not found / not exist in the DB).
SetURI sets the global URI
type Domain struct {
Domain string `bson:"domain" json:"domain"`
TLD string `bson:"tld" json:"tld"`
Sub string `bson:"sub" json:"sub"`
}
func (*Domain) FullDomain ¶
added in
v0.8.0
Returns the domain+tld.
func (*Domain) String ¶
added in
v0.7.0
Source Files
¶
Directories
¶
fault package is used to predefine common errors in across the columbus services.
fault package is used to predefine common errors in across the columbus services.
Click to show internal directories.
Click to hide internal directories.