ipfsshell

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusinessEvent

type BusinessEvent struct {
	Type    string  `json:"type"`
	Payload string  `json:"payload"`
	Version float64 `json:"version"`
}

type Shell

type Shell struct {
	// contains filtered or unexported fields
}

func NewShell

func NewShell(shellConfiguration ShellConfiguration) (*Shell, error)

func (*Shell) GetBusinessEvent

func (s *Shell) GetBusinessEvent(cid string) (BusinessEvent, error)

func (*Shell) PublishBusinessEvent

func (s *Shell) PublishBusinessEvent(event BusinessEvent) (string, error)

type ShellConfiguration

type ShellConfiguration struct {
	IpfsNodeUrl string
}

Jump to

Keyboard shortcuts

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