utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RandPortMin = 4000
	RandPortMax = 10000
)

Variables

This section is empty.

Functions

func CRC8code added in v0.0.6

func CRC8code(k string) uint8

func HeadFileNode added in v0.0.6

func HeadFileNode(ctx context.Context, tcid cid.Cid, dagServ format.DAGService, p string, cb func(string, cid.Cid, error))

func RandPort

func RandPort() string

func TailFileNode added in v0.0.6

func TailFileNode(ctx context.Context, tcid cid.Cid, dagServ format.DAGService, p string, cb func(string, cid.Cid, error))

Types

This section is empty.

Jump to

Keyboard shortcuts

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