Version: v0.7.2 Latest Latest

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0




This section is empty.


This section is empty.


func NewLogger

func NewLogger(baseCl client.Interface) client.Interface


type Logger

type Logger struct {
	// contains filtered or unexported fields

Logger is a glog based logging middleware for an ACME client

func (*Logger) AcceptChallenge

func (l *Logger) AcceptChallenge(ctx context.Context, chal *acme.Challenge) (*acme.Challenge, error)

func (*Logger) CreateAccount

func (l *Logger) CreateAccount(ctx context.Context, a *acme.Account) (*acme.Account, error)

func (*Logger) CreateOrder

func (l *Logger) CreateOrder(ctx context.Context, order *acme.Order) (*acme.Order, error)

func (*Logger) DNS01ChallengeRecord

func (l *Logger) DNS01ChallengeRecord(token string) (string, error)

func (*Logger) Discover added in v0.7.0

func (l *Logger) Discover(ctx context.Context) (acme.Directory, error)

func (*Logger) FinalizeOrder

func (l *Logger) FinalizeOrder(ctx context.Context, finalizeURL string, csr []byte) (der [][]byte, err error)

func (*Logger) GetAccount

func (l *Logger) GetAccount(ctx context.Context) (*acme.Account, error)

func (*Logger) GetAuthorization

func (l *Logger) GetAuthorization(ctx context.Context, url string) (*acme.Authorization, error)

func (*Logger) GetCertificate

func (l *Logger) GetCertificate(ctx context.Context, url string) ([][]byte, error)

func (*Logger) GetChallenge

func (l *Logger) GetChallenge(ctx context.Context, url string) (*acme.Challenge, error)

func (*Logger) GetOrder

func (l *Logger) GetOrder(ctx context.Context, url string) (*acme.Order, error)

func (*Logger) HTTP01ChallengeResponse

func (l *Logger) HTTP01ChallengeResponse(token string) (string, error)

func (*Logger) WaitAuthorization

func (l *Logger) WaitAuthorization(ctx context.Context, url string) (*acme.Authorization, error)

func (*Logger) WaitOrder

func (l *Logger) WaitOrder(ctx context.Context, url string) (*acme.Order, error)

Source Files

Jump to

Keyboard shortcuts

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