gethbridge

package
v0.79.11 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MPL-2.0 Imports: 21 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGethWakuFrom

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

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 NewGethPublicWakuAPIWrapper

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

NewGethPublicWakuAPIWrapper returns an object that wraps Geth's PublicWakuAPI 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 NewGethWakuWrapper

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

NewGethWakuWrapper returns an object that wraps Geth's Waku 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 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