Documentation ¶
Index ¶
- func NewLogger(baseCl client.Interface) client.Interface
- type Logger
- func (l *Logger) Accept(ctx context.Context, chal *acme.Challenge) (*acme.Challenge, error)
- func (l *Logger) AuthorizeOrder(ctx context.Context, id []acme.AuthzID, opt ...acme.OrderOption) (*acme.Order, error)
- func (l *Logger) CreateOrderCert(ctx context.Context, finalizeURL string, csr []byte, bundle bool) (der [][]byte, certURL string, err error)
- func (l *Logger) DNS01ChallengeRecord(token string) (string, error)
- func (l *Logger) Discover(ctx context.Context) (acme.Directory, error)
- func (l *Logger) FetchCert(ctx context.Context, url string, bundle bool) ([][]byte, error)
- func (l *Logger) GetAuthorization(ctx context.Context, url string) (*acme.Authorization, error)
- func (l *Logger) GetChallenge(ctx context.Context, url string) (*acme.Challenge, error)
- func (l *Logger) GetOrder(ctx context.Context, url string) (*acme.Order, error)
- func (l *Logger) GetReg(ctx context.Context, url string) (*acme.Account, error)
- func (l *Logger) HTTP01ChallengeResponse(token string) (string, error)
- func (l *Logger) ListCertAlternates(ctx context.Context, url string) ([]string, error)
- func (l *Logger) Register(ctx context.Context, a *acme.Account, prompt func(tosURL string) bool) (*acme.Account, error)
- func (l *Logger) UpdateReg(ctx context.Context, a *acme.Account) (*acme.Account, error)
- func (l *Logger) WaitAuthorization(ctx context.Context, url string) (*acme.Authorization, error)
- func (l *Logger) WaitOrder(ctx context.Context, url string) (*acme.Order, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is a glog based logging middleware for an ACME client
func (*Logger) AuthorizeOrder ¶
func (*Logger) CreateOrderCert ¶
func (*Logger) DNS01ChallengeRecord ¶
func (*Logger) GetAuthorization ¶
func (*Logger) GetChallenge ¶
func (*Logger) HTTP01ChallengeResponse ¶
func (*Logger) ListCertAlternates ¶
func (*Logger) WaitAuthorization ¶
Click to show internal directories.
Click to hide internal directories.