Discover Packages
github.com/ya0yy/lego
providers
dns
ipv64
internal
package
Version:
v0.0.0-...-d25b310
Opens a new window with list of versions in this module.
Published: Nov 4, 2024
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types OAuthStaticAccessToken(client, accessToken) type APIError type APIResponse type Client type Domains type Record type Subdomain (a) Error() NewClient(hc) (c) AddRecord(ctx, domain, prefix, recordType, content) (c) DeleteRecord(ctx, domain, prefix, recordType, content) (c) GetDomains(ctx)
Documentation
¶
type APIError struct {
APIResponse
AddRecordMessage string `json:"add_record"`
DelRecordMessage string `json:"del_record"`
AddDomainMessage string `json:"add_domain"`
DelDomainMessage string `json:"del_domain"`
}
type APIResponse struct {
Status string `json:"status"`
Info string `json:"info"`
}
type Record struct {
RecordID int `json:"record_id"`
Content string `json:"content"`
TTL int `json:"ttl"`
Type string `json:"type"`
Prefix string `json:"praefix"`
LastUpdate string `json:"last_update"`
RecordKey string `json:"record_key"`
}
type Subdomain struct {
Updates int `json:"updates"`
Wildcard int `json:"wildcard"`
DomainUpdateHash string `json:"domain_update_hash"`
Records []Record `json:"records"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.