Documentation ¶
Index ¶
- func GetGethSyncMailRequestFrom(r *types.SyncMailRequest) *whisper.SyncMailRequest
- func GetGethWakuFrom(m types.Waku) *waku.Waku
- func GetGethWhisperFrom(m types.Whisper) *whisper.Whisper
- func GetWakuFilterFrom(f types.Filter) *wakucommon.Filter
- func GetWhisperFilterFrom(f types.Filter) *whisper.Filter
- func NewGethPublicWakuAPIWrapper(api *waku.PublicWakuAPI) types.PublicWakuAPI
- func NewGethPublicWhisperAPIWrapper(publicWhisperAPI *whisper.PublicWhisperAPI) types.PublicWhisperAPI
- func NewGethSubscriptionWrapper(subscription event.Subscription) types.Subscription
- func NewGethSyncEventResponseWrapper(syncEventResponse whisper.SyncEventResponse) types.SyncEventResponse
- func NewGethWakuWrapper(w *waku.Waku) types.Waku
- func NewGethWhisperWrapper(w *whisper.Whisper) types.Whisper
- func NewNodeBridge(stack *node.Node) types.Node
- func NewWakuEnvelope(e *waku.Envelope) types.Envelope
- func NewWakuEnvelopeErrorWrapper(envelopeError *waku.EnvelopeError) *types.EnvelopeError
- func NewWakuEnvelopeEventWrapper(envelopeEvent *wakucommon.EnvelopeEvent) *types.EnvelopeEvent
- func NewWakuFilterWrapper(f *wakucommon.Filter, id string) types.Filter
- func NewWakuMailServerResponseWrapper(mailServerResponse *waku.MailServerResponse) *types.MailServerResponse
- func NewWhisperEnvelope(e *whisper.Envelope) types.Envelope
- func NewWhisperEnvelopeErrorWrapper(envelopeError *whisper.EnvelopeError) *types.EnvelopeError
- func NewWhisperEnvelopeEventWrapper(envelopeEvent *whisper.EnvelopeEvent) *types.EnvelopeEvent
- func NewWhisperFilterWrapper(f *whisper.Filter, id string) types.Filter
- func NewWhisperMailServerResponseWrapper(mailServerResponse *whisper.MailServerResponse) *types.MailServerResponse
- func WrapKeyStore(keystore *keystore.KeyStore) types.KeyStore
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 ¶
GetGethWhisperFrom retrieves the underlying whisper Whisper struct from a wrapped Whisper interface
func GetGethWhisperFrom ¶
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 ¶
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 ¶
NewGethWakuWrapper returns an object that wraps Geth's Waku in a types interface
func NewGethWhisperWrapper ¶
NewGethWhisperWrapper returns an object that wraps Geth's Whisper in a types interface
func NewWakuEnvelope ¶
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 ¶
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 ¶
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
Types ¶
This section is empty.