Documentation ¶
Index ¶
- Variables
- type AdguardProvider
- func (p *AdguardProvider) Create(ctx context.Context, payload *provider.DnsProviderPayload) (err error)
- func (p *AdguardProvider) Delete(ctx context.Context, payload *provider.DnsProviderPayload) (err error)
- func (p *AdguardProvider) List(ctx context.Context) (records []AdguardRecord, err error)
- func (p *AdguardProvider) Update(ctx context.Context, payload *provider.DnsProviderPayload) (err error)
- type AdguardRecord
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRequestFailed = errors.New("request failed")
)
Functions ¶
This section is empty.
Types ¶
type AdguardProvider ¶
type AdguardProvider struct {
// contains filtered or unexported fields
}
func (*AdguardProvider) Create ¶
func (p *AdguardProvider) Create(ctx context.Context, payload *provider.DnsProviderPayload) (err error)
func (*AdguardProvider) Delete ¶
func (p *AdguardProvider) Delete(ctx context.Context, payload *provider.DnsProviderPayload) (err error)
func (*AdguardProvider) List ¶
func (p *AdguardProvider) List(ctx context.Context) (records []AdguardRecord, err error)
func (*AdguardProvider) Update ¶
func (p *AdguardProvider) Update(ctx context.Context, payload *provider.DnsProviderPayload) (err error)
type AdguardRecord ¶
Click to show internal directories.
Click to hide internal directories.