gethbridge

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGethEnvelopeFrom

func GetGethEnvelopeFrom(f whispertypes.Envelope) *whisper.Envelope

GetGethEnvelopeFrom retrieves the underlying whisper Envelope struct from a wrapped Envelope interface

func GetGethFilterFrom

func GetGethFilterFrom(f whispertypes.Filter) *whisper.Filter

GetGethFilterFrom retrieves the underlying whisper Filter struct from a wrapped Filter interface

func GetGethSyncMailRequestFrom

func GetGethSyncMailRequestFrom(r *whispertypes.SyncMailRequest) *whisper.SyncMailRequest

GetGethSyncMailRequestFrom converts a whisper SyncMailRequest struct from a SyncMailRequest struct

func GetGethWhisperFrom

func GetGethWhisperFrom(m whispertypes.Whisper) *whisper.Whisper

GetGethWhisperFrom retrieves the underlying whisper Whisper struct from a wrapped Whisper interface

func NewGethEnvelopeErrorWrapper

func NewGethEnvelopeErrorWrapper(envelopeError *whisper.EnvelopeError) *whispertypes.EnvelopeError

NewGethEnvelopeErrorWrapper returns a whispertypes.EnvelopeError object that mimics Geth's EnvelopeError

func NewGethEnvelopeEventWrapper

func NewGethEnvelopeEventWrapper(envelopeEvent *whisper.EnvelopeEvent) *whispertypes.EnvelopeEvent

NewGethEnvelopeEventWrapper returns a whispertypes.EnvelopeEvent object that mimics Geth's EnvelopeEvent

func NewGethEnvelopeWrapper

func NewGethEnvelopeWrapper(e *whisper.Envelope) whispertypes.Envelope

NewGethEnvelopeWrapper returns an object that wraps Geth's Envelope in a whispertypes interface

func NewGethFilterWrapper

func NewGethFilterWrapper(f *whisper.Filter, id string) whispertypes.Filter

NewGethFilterWrapper returns an object that wraps Geth's Filter in a whispertypes interface

func NewGethMailServerResponseWrapper

func NewGethMailServerResponseWrapper(mailServerResponse *whisper.MailServerResponse) *whispertypes.MailServerResponse

NewGethMailServerResponseWrapper returns a whispertypes.MailServerResponse object that mimics Geth's MailServerResponse

func NewGethPublicWhisperAPIWrapper

func NewGethPublicWhisperAPIWrapper(publicWhisperAPI *whisper.PublicWhisperAPI) whispertypes.PublicWhisperAPI

NewGethPublicWhisperAPIWrapper returns an object that wraps Geth's PublicWhisperAPI in a whispertypes interface

func NewGethSubscriptionWrapper

func NewGethSubscriptionWrapper(subscription event.Subscription) whispertypes.Subscription

NewGethSubscriptionWrapper returns an object that wraps Geth's Subscription in a whispertypes interface

func NewGethSyncEventResponseWrapper

func NewGethSyncEventResponseWrapper(syncEventResponse whisper.SyncEventResponse) whispertypes.SyncEventResponse

NewGethSyncEventResponseWrapper returns a whispertypes.SyncEventResponse object that mimics Geth's SyncEventResponse

func NewGethWhisperWrapper

func NewGethWhisperWrapper(w *whisper.Whisper) whispertypes.Whisper

NewGethWhisperWrapper returns an object that wraps Geth's Whisper in a whispertypes interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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