gethbridge

package module
v0.0.0-...-4ff3029 Latest Latest
Warning

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

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

README

status-transport-geth

This is the wrapper for the Go Ethereum node to be consumed by Status Protocol-enabled apps.

TBD

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 GetGethMessageStoreFrom

func GetGethMessageStoreFrom(m whispertypes.MessageStore) whisper.MessageStore

GetGethMessageStoreFrom retrieves the underlying whisper MessageStore interface from a wrapped MessageStore interface

func GetGethReceivedMessageFrom

func GetGethReceivedMessageFrom(m whispertypes.ReceivedMessage) *whisper.ReceivedMessage

GetGethReceivedMessageFrom retrieves the underlying whisper ReceivedMessage struct from a wrapped ReceivedMessage 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) 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 NewGethMessageStoreWrapper

func NewGethMessageStoreWrapper(messageStore whisper.MessageStore) whispertypes.MessageStore

NewGethMessageStoreWrapper returns an object that wraps Geth's MessageStore in a whispertypes interface

func NewGethPublicWhisperAPIWrapper

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

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

func NewGethReceivedMessageWrapper

func NewGethReceivedMessageWrapper(receivedMessage *whisper.ReceivedMessage) whispertypes.ReceivedMessage

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