internal

package
v0.0.0-...-df060ac Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(filepath string, url string) (err error)

func EncodeKey

func EncodeKey(privateKey crypto.PrivateKey, publicKey crypto.PublicKey) (string, string)

func SaveFile

func SaveFile(path string, data []byte)

Types

type CloudflareAuth

type CloudflareAuth struct {
	CloudflareZoneId   string
	CloudflareApiToken string
	// contains filtered or unexported fields
}

func (*CloudflareAuth) DelChallengeRecord

func (auth *CloudflareAuth) DelChallengeRecord(ctx context.Context)

func (*CloudflareAuth) ListChallengeRecord

func (auth *CloudflareAuth) ListChallengeRecord(ctx context.Context) []string

func (*CloudflareAuth) UpdateOrInsertChallengeRecord

func (auth *CloudflareAuth) UpdateOrInsertChallengeRecord(ctx context.Context, name string, token string) error

type Prober

type Prober struct {
	Client *acme.Client

	ChalType string

	CfAuth CloudflareAuth
	// contains filtered or unexported fields
}

func (*Prober) RunOrder

func (p *Prober) RunOrder(ctx context.Context, identifiers []acme.AuthzID) (crypto.Signer, string)

Jump to

Keyboard shortcuts

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