challengeexposers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ShutdownTimeout = 3 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Dns01

type Dns01 struct {
}

func (*Dns01) Expose

func (h *Dns01) Expose(domain string, token string, key string) error

func (*Dns01) Remove

func (h *Dns01) Remove(domain string, token string) (bool, error)

type Http01

type Http01 struct {
	Addr string
	// contains filtered or unexported fields
}

func NewHttp01

func NewHttp01(ctx context.Context, addr string) (*Http01, error)

func (*Http01) Expose

func (h *Http01) Expose(a *acme.Client, domain string, token string) error

func (*Http01) Remove

func (h *Http01) Remove(domain string) error

type Interface

type Interface interface {
	// Exposes challenge
	Expose(c *acme.Client, domain string, token string) error

	// Removes challenge
	Remove(domain string) error
}

Has to support concurrent calls

Jump to

Keyboard shortcuts

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