Documentation
¶
Index ¶
Constants ¶
View Source
const MaxBodySize = 1024 * 1024
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthCallback ¶
type AuthCallback func(rw http.ResponseWriter, req *http.Request, params httprouter.Params, b AuthClaims)
type AuthClaims ¶
type AuthClaims mjwt.BaseTypeClaims[auth.AccessTokenClaims]
type CertAuthCallback ¶
type CertAuthCallback func(rw http.ResponseWriter, req *http.Request, params httprouter.Params, b AuthClaims, certId int64)
type Certificate ¶ added in v0.0.5
type Certificate struct {
Id int64 `json:"id"`
Name string `json:"name"`
Authority types.Authority `json:"authority"`
AutoRenew bool `json:"auto_renew"`
Active bool `json:"active"`
Renewing bool `json:"renewing"`
RenewRetry nulls.Time `json:"renew_retry"`
NotAfter time.Time `json:"not_after"`
UpdatedAt time.Time `json:"updated_at"`
Domains []string `json:"domains"`
Addresses []netip.Addr `json:"addresses"`
Subject Subject `json:"subject"`
}
type DomainStateValue ¶
type PatchCertOptions ¶ added in v0.0.7
type PostCertOptions ¶ added in v0.0.7
type Subject ¶ added in v0.0.7
type Subject struct {
CommonName string `json:"common_name"` // CN - 2.5.4.3
Country string `json:"country"` // C - 2.5.4.6
Org string `json:"org"` // O - 2.5.4.10
OrgUnit string `json:"org_unit"` // OU - 2.5.4.11
Locality string `json:"locality"` // L - 2.5.4.7
Province string `json:"province"` // ST - 2.5.4.8
}
Click to show internal directories.
Click to hide internal directories.