Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChallengeCache ¶
type ChallengeCache struct {
// contains filtered or unexported fields
}
ChallengeCache 存储 ACME challenge token 和 response 的映射
func (*ChallengeCache) CleanExpired ¶
func (c *ChallengeCache) CleanExpired()
CleanExpired 清理所有过期的 challenge
func (*ChallengeCache) Get ¶
func (c *ChallengeCache) Get(token string) (string, bool)
Get 获取 challenge response
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer HTTP-01 验证服务器
func (*HTTPServer) RemoveChallenge ¶
func (s *HTTPServer) RemoveChallenge(token string)
RemoveChallenge 移除 challenge
func (*HTTPServer) SetChallenge ¶
func (s *HTTPServer) SetChallenge(token, response, domain string)
SetChallenge 设置 challenge token 和 response,10 分钟后过期
Click to show internal directories.
Click to hide internal directories.