client

package
v0.0.0-...-35a14c9 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TIMEOUT       = 300 * time.Second
	INVALID_INDEX = -1
	// XXX The image should be stored in a DB or something similar
	DAPP_IMAGE_NAME = "/tmp/.dapp_image.png"
)

Variables

View Source
var INVALID_CONFIRMATION = millionerc20.Confirmation{false}

Functions

func AddToDappImage

func AddToDappImage(img *image.RGBA) error

func Check

func Check(inputIndex int) (*millionerc20.Confirmation, error)

func GetDappImage

func GetDappImage() *image.RGBA

func Send

func Send(input *millionerc20.MetaImage) (int, error)

func SendImageAndWait

func SendImageAndWait(pos image.Point, img *image.RGBA) (*millionerc20.Confirmation, error)

TODO Do we need to pass the confirmation over to the caller?

Types

This section is empty.

Jump to

Keyboard shortcuts

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