Documentation ¶
Index ¶
- Constants
- Variables
- func SignRequest(secretId string, secretKey string, r *http.Request, action string, ...)
- type Provider
- func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) GetRecords(ctx context.Context, zone string) ([]libdns.Record, error)
- func (p *Provider) SetRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
Constants ¶
View Source
const ( DescribeRecordList = "DescribeRecordList" CreateRecord = "CreateRecord" ModifyRecord = "ModifyRecord" DeleteRecord = "DeleteRecord" )
Variables ¶
View Source
var ErrNotValid = errors.New("returned value is not valid")
View Source
var ErrRecordNotFound = errors.New("record not found")
Functions ¶
Types ¶
type Provider ¶
func (*Provider) AppendRecords ¶
func (*Provider) DeleteRecords ¶
func (*Provider) GetRecords ¶
Click to show internal directories.
Click to hide internal directories.