odbc_ipfs_go_shared

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMsg

func SendMsg(sh *shell.Shell, messageData MessageData)

SendMsg sends a message over pubsub given the message data

func SetupPubSub

func SetupPubSub(url string) (*shell.Shell, *shell.PubSubSubscription)

setupPubSub sets up the ipfs shell as well as subscribes to the channel

Types

type MessageData

type MessageData struct {
	Command    string
	To         string
	StringData []string
	Data       []interface{}
	Nonce      int
}

Jump to

Keyboard shortcuts

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