watchlist

package
v0.0.0-...-e73af20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetDetails

type AssetDetails struct {
	Stellar struct {
		Withdraw  bool   `json:"withdraw"`
		AssetType string `json:"asset_type"`
		Code      string `json:"asset_code"`
		Issuer    string `json:"issuer"`
	} `json:"stellar"`
}

func (AssetDetails) Validate

func (s AssetDetails) Validate() error

type Details

type Details struct {
	regources.Asset
	AssetDetails
}

type Opts

type Opts struct {
	Streamer   getters.AssetHandler
	Log        *logan.Entry
	AssetOwner string
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(opts Opts) *Service

func (*Service) GetToAdd

func (s *Service) GetToAdd() <-chan Details

func (*Service) GetToRemove

func (s *Service) GetToRemove() <-chan string

func (*Service) Run

func (s *Service) Run(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL