Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2020 v1.0.0 Feb 16, 2020 Changes in this version + type Metrics struct + RequestConfirmed prometheus.Counter + RequestFailed prometheus.Counter + SwappedMNTP prometheus.Counter + type Swapper struct + func New(d db.DAO, chNewSwaps <-chan *types.Swap, alerter alert.Alerter, ...) (*Swapper, error) + func (s *Swapper) AddMetrics(m *Metrics) + func (s *Swapper) Close() error + func (s *Swapper) Task(token *gotask.Token)