channel

package module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 0 Imported by: 1

README

go-ipld-channel

Channels for IPLD data

Install

> go get github.com/daotl/go-ipld-channel

Usage

See godoc

Contributing

PRs welcomed.

License

MIT © DAOT Labs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelsToStrings added in v0.2.1

func ChannelsToStrings(chns []Channel) []string

ChannelsToStrings converts a slice of channels to a slice of strings.

Types

type Channel

type Channel string

Channel represents an IPLD channel within which blocks can be store and exchanged, possibly with access control.

const (
	// PublicChannel represents the default public IPLD channel without access control.
	PublicChannel Channel = ""
)

func StringsToChannels added in v0.2.2

func StringsToChannels(strs []string) []Channel

StringsToChannels converts a slice of strings to a slice of Channels.

func (Channel) String added in v0.1.3

func (c Channel) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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