func WithClock(clock clock.Clock) Option {
	return func(options *options) {
		options.clock = clock
	}
}
WithClock sets the clock on the option
package discovery
import (
	"github.com/go-kit/kit/log"
	"github.com/spoke-d/thermionic/internal/clock"
)
type Option func(*options)
type options struct {
	logger log.Logger
	clock  clock.Clock
}
func WithLogger(logger log.Logger) Option {
	return func(options *options) {
		options.logger = logger
	}
}