func newOptions() *options {
	return &options{
		httpClient: http.DefaultClient,
		logger:     log.NewNopLogger(),
		clock:      clock.New(),
	}
}
Create a options instance with default values.
package notifier
import (
	"net/http"
	"github.com/go-kit/kit/log"
	"github.com/spoke-d/thermionic/internal/cert"
	"github.com/spoke-d/thermionic/internal/clock"
)
type Option func(*options)
type options struct {
	state      State
	certInfo   *cert.Info
	httpClient *http.Client
	logger     log.Logger
	clock      clock.Clock
}
func WithState(state State) Option {
	return func(options *options) {
		options.state = state
	}
}
func WithCert(certInfo *cert.Info) Option {
	return func(options *options) {
		options.certInfo = certInfo
	}
}
func WithHTTPClient(httpClient *http.Client) Option {
	return func(options *options) {
		options.httpClient = httpClient
	}
}
func WithLogger(logger log.Logger) Option {
	return func(options *options) {
		options.logger = logger
	}
}
func WithClock(clock clock.Clock) Option {
	return func(options *options) {
		options.clock = clock
	}
}