package
0.14.5
Repository: https://github.com/ipfs/ipfs-cluster.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckErrs returns nil if all the errors in a slice are nil, otherwise it returns a single error formed by joining the error messages existing in the slice with a line-break.
CopyEmptyStructToIfaces converts an empty struct slice to an empty interface slice using pointers to each elements of the original slice.
CopyIDSliceToIfaces converts an api.ID slice of slices to an empty interface slice using pointers to each elements of the original slice.
CopyIDsToIfaces converts an api.ID slice to an empty interface slice using pointers to each elements of the original slice.
CopyPIDsToIfaces converts a peer.ID slice to an empty interface slice using pointers to each elements of the original slice.
CopyPinInfoSliceToIfaces converts an api.PinInfo slice of slices to an empty interface slice using pointers to each elements of the original slice.
CopyPinInfoToIfaces converts an api.PinInfo slice to an empty interface slice using pointers to each elements of the original slice.
CopyRepoGCSliceToIfaces converts an api.RepoGC slice to an empty interface slice using pointers to each elements of the original slice.
CtxsWithCancel returns n cancellable contexts, derived from the given parent.
CtxsWithTimeout returns n contexts, derived from the given parent using the given timeout.
MultiCancel calls all the provided CancelFuncs.
RPCDiscardReplies returns a []interface{} slice made from a []struct{} slice of then given length.