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: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址