acme

package
v0.0.0-...-3b4ca89 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNonceToResponse

func AddNonceToResponse(h http.Handler, mdb *mimic.MimicDB) http.Handler

func DirectoryHandler

func DirectoryHandler(w http.ResponseWriter, r *http.Request, cfg *mimic.Config)

func GenericHandler

func GenericHandler(w http.ResponseWriter, r *http.Request)

Types

type DirectoryJson

type DirectoryJson struct {
	KeyChange  string            `json:"keyChange"`
	Meta       DirectoryJsonMeta `json:"meta"`
	NewAccount string            `json:"newAccount"`
	NewNonce   string            `json:"newNonce"`
	NewOrder   string            `json:"newOrder"`
	RevokeCert string            `json:"revokeCert"`
}

type DirectoryJsonMeta

type DirectoryJsonMeta struct {
	// CaaIdentities  []string `json:"caaIdentities"`
	TermsOfService string `json:"termsOfService"`
	Website        string `json:"website"`
}

Jump to

Keyboard shortcuts

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