qwhisper

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

Documentation

Overview

QWhisper package. This package is temporarily on hold until QML DApp dev will reemerge.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message added in v0.8.4

type Message struct {
	Flags   int32  `json:"flags"`
	Payload string `json:"payload"`
	From    string `json:"from"`
	// contains filtered or unexported fields
}

func ToQMessage added in v0.8.4

func ToQMessage(msg *whisper.Message) *Message

type Watch added in v0.8.4

type Watch struct {
}

func (*Watch) Arrived added in v0.8.4

func (self *Watch) Arrived(v unsafe.Pointer)

type Whisper

type Whisper struct {
	*whisper.Whisper
	// contains filtered or unexported fields
}

func New

func New(w *whisper.Whisper) *Whisper

func (*Whisper) HasIdentity added in v0.8.4

func (self *Whisper) HasIdentity(key string) bool

func (*Whisper) Messages added in v0.8.4

func (self *Whisper) Messages(id int) (messages *ethutil.List)

func (*Whisper) NewIdentity

func (self *Whisper) NewIdentity() string

func (*Whisper) Post

func (self *Whisper) Post(payload []string, to, from string, topics []string, priority, ttl uint32)

func (*Whisper) SetView added in v0.8.4

func (self *Whisper) SetView(view qml.Object)

func (*Whisper) Watch

func (self *Whisper) Watch(opts map[string]interface{}, view *qml.Common) int

Jump to

Keyboard shortcuts

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