Versions in this module Expand all Collapse all v0 v0.0.2 May 22, 2020 v0.0.1 May 22, 2020 Changes in this version + type HTTPServer struct + func NewHTTPServer(getLatestSnapshotHandler application.GetLatestSnapshotHandler) *HTTPServer + func (s *HTTPServer) Close() error + func (s *HTTPServer) ListenAndServe() error + type Ticker struct + func NewTicker(takeSnapshotHandler TickerHandler, logger logrus.FieldLogger) *Ticker + func (t *Ticker) Run(ctx context.Context) error + type TickerHandler struct + Frequency time.Duration + Handler TickerHandlerFunc + type TickerHandlerFunc func(ctx context.Context, now time.Time) error