gethbridge

package
v0.103.4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MPL-2.0 Imports: 26 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 GetGethWakuV2From added in v0.80.2

func GetGethWakuV2From(m types.Waku) *wakuv2.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 GetWakuV2FilterFrom added in v0.80.2

func GetWakuV2FilterFrom(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 NewGethPublicWakuV2APIWrapper added in v0.80.2

func NewGethPublicWakuV2APIWrapper(api *wakuv2.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 NewGethWakuV2Wrapper added in v0.80.2

func NewGethWakuV2Wrapper(w *wakuv2.Waku) types.Waku

NewGethWakuWrapper returns an object that wraps Geth's Waku 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, waku1 *waku.Waku, waku2 *wakuv2.Waku) 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 NewWakuV2EnvelopeErrorWrapper added in v0.80.2

func NewWakuV2EnvelopeErrorWrapper(envelopeError *wakuv2.EnvelopeError) *types.EnvelopeError

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

func NewWakuV2EnvelopeEventWrapper added in v0.80.2

func NewWakuV2EnvelopeEventWrapper(envelopeEvent *wakuv2common.EnvelopeEvent) *types.EnvelopeEvent

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

func NewWakuV2FilterWrapper added in v0.80.2

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

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

func NewWakuV2MailServerResponseWrapper added in v0.80.2

func NewWakuV2MailServerResponseWrapper(mailServerResponse *wakuv2.MailServerResponse) *types.MailServerResponse

NewWakuV2MailServerResponseWrapper 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