qwhisper

package
v0.8.6-0...-0fd6a22 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

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

func ToQMessage

func ToQMessage(msg *whisper.Message) *Message

type Watch

type Watch struct {
}

func (*Watch) Arrived

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

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

func (*Whisper) Messages

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

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