Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 59af24f695 |
2 changed files with 0 additions and 3 deletions
|
|
@ -4,7 +4,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
|
||||||
|
|
||||||
sdk "git.happydns.org/checker-sdk-go/checker"
|
sdk "git.happydns.org/checker-sdk-go/checker"
|
||||||
)
|
)
|
||||||
|
|
@ -64,7 +63,6 @@ func (p *caaProvider) Collect(ctx context.Context, opts sdk.CheckerOptions) (any
|
||||||
return &CAAData{
|
return &CAAData{
|
||||||
Domain: domain,
|
Domain: domain,
|
||||||
Records: records,
|
Records: records,
|
||||||
RunAt: time.Now().UTC().Format(time.RFC3339),
|
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ const (
|
||||||
type CAAData struct {
|
type CAAData struct {
|
||||||
Domain string `json:"domain,omitempty"`
|
Domain string `json:"domain,omitempty"`
|
||||||
Records []CAARecord `json:"records,omitempty"`
|
Records []CAARecord `json:"records,omitempty"`
|
||||||
RunAt string `json:"run_at,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type CAARecord struct {
|
type CAARecord struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue