api

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(ctx context.Context, serverEndpoint string, logger logging.Logger) *Handler

func (*Handler) List

func (h *Handler) List() []interface{}

func (*Handler) SetBot

func (h *Handler) SetBot(b bot.Bot)

func (*Handler) StartWatchingAll

func (h *Handler) StartWatchingAll() error

func (*Handler) Unwatch

func (h *Handler) Unwatch(batchId string) error

func (*Handler) Watch

func (h *Handler) Watch(name, batchId, balanceEndpoint, minBalance, topupBalance, interval string) error

Jump to

Keyboard shortcuts

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