abstract

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACMEChallenge

type ACMEChallenge struct {
	Record *happydns.TXT `json:"txt"`
}

func (*ACMEChallenge) GenComment

func (s *ACMEChallenge) GenComment() string

func (*ACMEChallenge) GetNbResources

func (s *ACMEChallenge) GetNbResources() int

func (*ACMEChallenge) GetRecords added in v0.4.0

func (s *ACMEChallenge) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type Delegation

type Delegation struct {
	NameServers []*dns.NS `json:"ns"`
	DS          []*dns.DS `json:"ds"`
}

func (*Delegation) GenComment

func (s *Delegation) GenComment() string

func (*Delegation) GetNbResources

func (s *Delegation) GetNbResources() int

func (*Delegation) GetRecords added in v0.4.0

func (s *Delegation) GetRecords(domain string, ttl uint32, origin string) (rrs []happydns.Record, e error)

type GithubOrgVerif

type GithubOrgVerif struct {
	Record *happydns.TXT `json:"txt"`
}

func (*GithubOrgVerif) GenComment

func (s *GithubOrgVerif) GenComment() string

func (*GithubOrgVerif) GetNbResources

func (s *GithubOrgVerif) GetNbResources() int

func (*GithubOrgVerif) GetRecords added in v0.4.0

func (s *GithubOrgVerif) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type GitlabPageVerif

type GitlabPageVerif struct {
	Record *happydns.TXT `json:"txt"`
}

func (*GitlabPageVerif) GenComment

func (s *GitlabPageVerif) GenComment() string

func (*GitlabPageVerif) GetNbResources

func (s *GitlabPageVerif) GetNbResources() int

func (*GitlabPageVerif) GetRecords added in v0.4.0

func (s *GitlabPageVerif) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type GoogleVerif

type GoogleVerif struct {
	Record *happydns.TXT `json:"txt"`
}

func (*GoogleVerif) GenComment

func (s *GoogleVerif) GenComment() string

func (*GoogleVerif) GetNbResources

func (s *GoogleVerif) GetNbResources() int

func (*GoogleVerif) GetRecords added in v0.4.0

func (s *GoogleVerif) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type KeybaseVerif

type KeybaseVerif struct {
	Record *happydns.TXT `json:"txt"`
}

func (*KeybaseVerif) GenComment

func (s *KeybaseVerif) GenComment() string

func (*KeybaseVerif) GetNbResources

func (s *KeybaseVerif) GetNbResources() int

func (*KeybaseVerif) GetRecords added in v0.4.0

func (s *KeybaseVerif) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type MatrixIM

type MatrixIM struct {
	Records []*dns.SRV `json:"records"`
}

func (*MatrixIM) GenComment

func (s *MatrixIM) GenComment() string

func (*MatrixIM) GetNbResources

func (s *MatrixIM) GetNbResources() int

func (*MatrixIM) GetRecords added in v0.4.0

func (s *MatrixIM) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type NSOnlyOrigin

type NSOnlyOrigin struct {
	NameServers []*dns.NS `json:"ns"`
}

func (*NSOnlyOrigin) GenComment

func (s *NSOnlyOrigin) GenComment() string

func (*NSOnlyOrigin) GetNbResources

func (s *NSOnlyOrigin) GetNbResources() int

func (*NSOnlyOrigin) GetRecords added in v0.4.0

func (s *NSOnlyOrigin) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type OpenPGP

type OpenPGP struct {
	Username string          `json:"username,omitempty"`
	Record   *dns.OPENPGPKEY `json:"openpgpkey"`
}

func (*OpenPGP) GenComment

func (s *OpenPGP) GenComment() string

func (*OpenPGP) GetNbResources

func (s *OpenPGP) GetNbResources() int

func (*OpenPGP) GetRecords added in v0.4.0

func (s *OpenPGP) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type Origin

type Origin struct {
	SOA         *dns.SOA  `json:"soa"`
	NameServers []*dns.NS `json:"ns"`
}

func (*Origin) GenComment

func (s *Origin) GenComment() string

func (*Origin) GetNbResources

func (s *Origin) GetNbResources() int

func (*Origin) GetRecords added in v0.4.0

func (s *Origin) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type RFC6186 added in v0.4.0

type RFC6186 struct {
	Records []*dns.SRV `json:"srv"`
}

func (*RFC6186) GenComment added in v0.4.0

func (s *RFC6186) GenComment() string

func (*RFC6186) GetNbResources added in v0.4.0

func (s *RFC6186) GetNbResources() int

func (*RFC6186) GetRecords added in v0.4.0

func (s *RFC6186) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type SMimeCert

type SMimeCert struct {
	Username string      `json:"username,omitempty"`
	Record   *dns.SMIMEA `json:"smimea"`
}

func (*SMimeCert) GenComment

func (s *SMimeCert) GenComment() string

func (*SMimeCert) GetNbResources

func (s *SMimeCert) GetNbResources() int

func (*SMimeCert) GetRecords added in v0.4.0

func (s *SMimeCert) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type ScalewayChallenge

type ScalewayChallenge struct {
	Record *happydns.TXT `json:"txt"`
}

func (*ScalewayChallenge) GenComment

func (s *ScalewayChallenge) GenComment() string

func (*ScalewayChallenge) GetNbResources

func (s *ScalewayChallenge) GetNbResources() int

func (*ScalewayChallenge) GetRecords added in v0.4.0

func (s *ScalewayChallenge) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

type Server

type Server struct {
	A     *dns.A       `json:"A,omitempty"`
	AAAA  *dns.AAAA    `json:"AAAA,omitempty"`
	SSHFP []*dns.SSHFP `json:"SSHFP,omitempty"`
}

func (*Server) GenComment

func (s *Server) GenComment() string

func (*Server) GetNbResources

func (s *Server) GetNbResources() int

func (*Server) GetRecords added in v0.4.0

func (s *Server) GetRecords(domain string, ttl uint32, origin string) (rrs []happydns.Record, e error)

type XMPP

type XMPP struct {
	Records []*dns.SRV `json:"records"`
}

func (*XMPP) GenComment

func (s *XMPP) GenComment() string

func (*XMPP) GetNbResources

func (s *XMPP) GetNbResources() (max int)

func (*XMPP) GetRecords added in v0.4.0

func (s *XMPP) GetRecords(domain string, ttl uint32, origin string) ([]happydns.Record, error)

Source Files

  • acme.go
  • delegation.go
  • github-site-verification.go
  • gitlab-page-verification.go
  • google-site-verification.go
  • keybase.go
  • matrix.go
  • openpgp.go
  • origin.go
  • rfc6186.go
  • scaleway-challenge.go
  • server.go
  • xmpp.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL