Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidConfigError = errors.New("config cannot be nil")
Functions ¶
This section is empty.
Types ¶
type CnameRecordGenerator ¶
CnameRecordGenerator is the required config to generate CNAME record verification method instructions.
func (*CnameRecordGenerator) Validate ¶
func (c *CnameRecordGenerator) Validate() error
type HmlMetaTagGenerator ¶
HmlMetaTagGenerator is the required config to generate HTML Meta verification method instructions.
func (*HmlMetaTagGenerator) Validate ¶
func (h *HmlMetaTagGenerator) Validate() error
type JsonGenerator ¶
JsonGenerator is the required config to generate JSON verification method instructions.
func (*JsonGenerator) Validate ¶
func (j *JsonGenerator) Validate() error
type TxtRecordGenerator ¶
type TxtRecordGenerator struct {
HostName string // @ or the domain name to verify or unique generated code.
RecordAttribute string
RecordAttributeValue string
}
TxtRecordGenerator is the required config to generate TXT record verification method instructions.
func (*TxtRecordGenerator) Validate ¶
func (t *TxtRecordGenerator) Validate() error
type XmlGenerator ¶
XmlGenerator is the required config to generate XML verification method instructions.
func (*XmlGenerator) ToXml ¶
func (x *XmlGenerator) ToXml() string
func (*XmlGenerator) Validate ¶
func (x *XmlGenerator) Validate() error
Click to show internal directories.
Click to hide internal directories.