Documentation ¶
Index ¶
- Constants
- Variables
- func AddToDappImage(img *image.RGBA) error
- func Check(inputIndex int) (*millionerc20.Confirmation, error)
- func GetDappImage() *image.RGBA
- func Send(input *millionerc20.MetaImage) (int, error)
- func SendImageAndWait(pos image.Point, img *image.RGBA) (*millionerc20.Confirmation, error)
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 Check ¶
func Check(inputIndex int) (*millionerc20.Confirmation, error)
func GetDappImage ¶
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.
Click to show internal directories.
Click to hide internal directories.