gethbridge

package
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MPL-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGethSyncMailRequestFrom

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

GetGethSyncMailRequestFrom converts a whisper SyncMailRequest struct from a SyncMailRequest struct

func GetGethWakuFrom

func GetGethWakuFrom(m types.Waku) *waku.Waku

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

func GetGethWhisperFrom

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

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

func GetWakuFilterFrom

func GetWakuFilterFrom(f types.Filter) *wakucommon.Filter

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

func GetWhisperFilterFrom

func GetWhisperFilterFrom(f types.Filter) *whisper.Filter

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

func NewGethPublicWakuAPIWrapper

func NewGethPublicWakuAPIWrapper(api *waku.PublicWakuAPI) types.PublicWakuAPI

NewGethPublicWakuAPIWrapper returns an object that wraps Geth's PublicWakuAPI in a types interface

func NewGethPublicWhisperAPIWrapper

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

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

func NewGethSubscriptionWrapper

func NewGethSubscriptionWrapper(subscription event.Subscription) types.Subscription

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

func NewGethSyncEventResponseWrapper

func NewGethSyncEventResponseWrapper(syncEventResponse whisper.SyncEventResponse) types.SyncEventResponse

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

func NewGethWakuWrapper

func NewGethWakuWrapper(w *waku.Waku) types.Waku

NewGethWakuWrapper returns an object that wraps Geth's Waku in a types interface

func NewGethWhisperWrapper

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

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

func NewNodeBridge

func NewNodeBridge(stack *node.Node) types.Node

func NewWakuEnvelope

func NewWakuEnvelope(e *waku.Envelope) types.Envelope

NewWakuEnvelope returns an object that wraps Geth's Waku Envelope in a types interface.

func NewWakuEnvelopeErrorWrapper

func NewWakuEnvelopeErrorWrapper(envelopeError *waku.EnvelopeError) *types.EnvelopeError

NewWakuEnvelopeErrorWrapper returns a types.EnvelopeError object that mimics Geth's EnvelopeError

func NewWakuEnvelopeEventWrapper

func NewWakuEnvelopeEventWrapper(envelopeEvent *wakucommon.EnvelopeEvent) *types.EnvelopeEvent

NewWakuEnvelopeEventWrapper returns a types.EnvelopeEvent object that mimics Geth's EnvelopeEvent

func NewWakuFilterWrapper

func NewWakuFilterWrapper(f *wakucommon.Filter, id string) types.Filter

NewWakuFilterWrapper returns an object that wraps Geth's Filter in a types interface

func NewWakuMailServerResponseWrapper

func NewWakuMailServerResponseWrapper(mailServerResponse *waku.MailServerResponse) *types.MailServerResponse

NewWakuMailServerResponseWrapper returns a types.MailServerResponse object that mimics Geth's MailServerResponse

func NewWhisperEnvelope

func NewWhisperEnvelope(e *whisper.Envelope) types.Envelope

NewWhisperEnvelope returns an object that wraps Geth's Whisper Envelope in a types interface.

func NewWhisperEnvelopeErrorWrapper

func NewWhisperEnvelopeErrorWrapper(envelopeError *whisper.EnvelopeError) *types.EnvelopeError

NewWhisperEnvelopeErrorWrapper returns a types.EnvelopeError object that mimics Geth's EnvelopeError

func NewWhisperEnvelopeEventWrapper

func NewWhisperEnvelopeEventWrapper(envelopeEvent *whisper.EnvelopeEvent) *types.EnvelopeEvent

NewWhisperEnvelopeEventWrapper returns a types.EnvelopeEvent object that mimics Geth's EnvelopeEvent

func NewWhisperFilterWrapper

func NewWhisperFilterWrapper(f *whisper.Filter, id string) types.Filter

NewWhisperFilterWrapper returns an object that wraps Geth's Filter in a types interface

func NewWhisperMailServerResponseWrapper

func NewWhisperMailServerResponseWrapper(mailServerResponse *whisper.MailServerResponse) *types.MailServerResponse

NewWhisperMailServerResponseWrapper returns a types.MailServerResponse object that mimics Geth's MailServerResponse

func WrapKeyStore

func WrapKeyStore(keystore *keystore.KeyStore) types.KeyStore

WrapKeyStore creates a types.KeyStore wrapper over a keystore.KeyStore object

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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