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 + func LimitStringField(s string, maxRunes uint) string + type Sending struct + Amount string + Dst []byte + DstTx []byte + ID uint64 + NextCheckAt time.Time + Src []byte + SrcTx []byte + Status uint8 + StatusString string + Token string + func (s *Sending) From(t *types.Sending) error + func (s *Sending) To() (*types.Sending, error) + type Setting struct + Key string + Value string + type Swap struct + Amount string + Dst []byte + DstTx []byte + ID uint64 + NextCheckAt time.Time + Src []byte + SrcTx []byte + Status uint8 + StatusString string + Token string + func (s *Swap) From(t *types.Swap) error + func (s *Swap) To() (*types.Swap, error)