keeper

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

MIT License

Copyright (c) 2021 Fair Data Society

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

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

func New

func New(ctx context.Context, url string, logger logging.Logger) *Keeper

func (*Keeper) GetTaskInfo

func (k *Keeper) GetTaskInfo(batchId string) (map[string]interface{}, error)

func (*Keeper) List

func (k *Keeper) List() []interface{}

func (*Keeper) Stop

func (k *Keeper) Stop()

func (*Keeper) Unwatch

func (k *Keeper) Unwatch(batchId string) error

func (*Keeper) Watch

func (k *Keeper) Watch(name, batchId, balanceEndpoint, minBalance, topupBalance, interval string, cb func(action *topup.TopupAction) error) error

Jump to

Keyboard shortcuts

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