ui

package
v0.8.5-2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2015 License: LGPL-2.1-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTopics added in v0.8.4

func MakeTopics(v interface{}) (d [][]byte)

data can come in in the following formats: ["aabbccdd", {id: "ccddee", at: "11223344"}], "aabbcc", {id: "ccddee", at: "1122"}

func NewFilterFromMap

func NewFilterFromMap(object map[string]interface{}, eth core.Backend) *core.Filter

Types

type Frontend

type Frontend interface {
	// Checks whether a specific method is implemented
	Supports(method string) bool
	// Call calls the given method on interface it implements. This will return
	// an error with errNotImplemented if the method hasn't been implemented
	// and will return a ReturnInterface if it does.
	Call(method string) (ReturnInterface, error)
}

Frontend is the basic interface for calling arbitrary methods on something that implements a front end (GUI, CLI, etc)

type ReturnInterface

type ReturnInterface interface {
	Get(i int) (interface{}, error)
	Size() int
}

ReturnInterface is returned by the Intercom interface when a method is called

Directories

Path Synopsis
qt
qwhisper
QWhisper package.
QWhisper package.

Jump to

Keyboard shortcuts

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