Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFlareService ¶
type CloudFlareService struct {
CLOUDFLARE_API_TOKEN string
}
func NewCloudFlareService ¶
func NewCloudFlareService() *CloudFlareService
func (*CloudFlareService) CheckEnv ¶
func (c *CloudFlareService) CheckEnv() error
func (*CloudFlareService) SetRecord ¶
func (c *CloudFlareService) SetRecord(in *SetRecordRequest) (out *SetRecordResponse, err error)
type DNSProvider ¶
type DNSProvider interface {
SetRecord(in *SetRecordRequest) (out *SetRecordResponse, err error)
}
func New ¶
func New(domain string) DNSProvider
type SetRecordRequest ¶
type SetRecordResponse ¶
type SetRecordResponse struct { }
Click to show internal directories.
Click to hide internal directories.