Documentation ¶
Index ¶
- func Compare(one, two string) int
- func IsEqualTo(one, two string) bool
- func IsSubdomainTo(one, two string) bool
- type DomainName
- func (self *DomainName) CompareTo(to *DomainName) int
- func (self *DomainName) CompareToString(to string) int
- func (self *DomainName) IsEqualTo(to *DomainName) bool
- func (self *DomainName) IsEqualToString(to string) bool
- func (self *DomainName) IsSubdomainTo(to *DomainName) bool
- func (self *DomainName) IsSubdomainToString(to string) bool
- func (self *DomainName) Item(i int) string
- func (self *DomainName) Len() int
- func (self *DomainName) SetFromString(domainname string)
- func (self *DomainName) SetFromStringsSlice(domainname []string)
- func (self *DomainName) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DomainName ¶
type DomainName struct {
// contains filtered or unexported fields
}
func NewDomainNameFromString ¶
func NewDomainNameFromString(domainname string) *DomainName
func NewDomainNameFromStringsSlice ¶
func NewDomainNameFromStringsSlice(domainname []string) *DomainName
func (*DomainName) CompareTo ¶
func (self *DomainName) CompareTo(to *DomainName) int
func (*DomainName) CompareToString ¶
func (self *DomainName) CompareToString(to string) int
func (*DomainName) IsEqualTo ¶
func (self *DomainName) IsEqualTo(to *DomainName) bool
func (*DomainName) IsEqualToString ¶
func (self *DomainName) IsEqualToString(to string) bool
func (*DomainName) IsSubdomainTo ¶
func (self *DomainName) IsSubdomainTo(to *DomainName) bool
Check is self subdomain to two
func (*DomainName) IsSubdomainToString ¶
func (self *DomainName) IsSubdomainToString(to string) bool
func (*DomainName) Item ¶
func (self *DomainName) Item(i int) string
func (*DomainName) Len ¶
func (self *DomainName) Len() int
func (*DomainName) SetFromString ¶
func (self *DomainName) SetFromString(domainname string)
func (*DomainName) SetFromStringsSlice ¶
func (self *DomainName) SetFromStringsSlice(domainname []string)
func (*DomainName) String ¶
func (self *DomainName) String() string
Click to show internal directories.
Click to hide internal directories.