Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2020 Changes in this version + const ApiOption + const ConfigOption + const DebugOption + const LocalOption + const OfflineOption + const P2PProtoPrefix + var ActiveReqsCmd = &cmds.Command + var AddCmd = &cmds.Command + var BitswapCmd = &cmds.Command + var BlockCmd = &cmds.Command + var BootstrapCmd = &cmds.Command + var CatCmd = &cmds.Command + var CidCmd = &cmds.Command + var CommandsDaemonCmd = CommandsCmd(Root) + var CommandsDaemonROCmd = CommandsCmd(RootRO) + var ConfigCmd = &cmds.Command + var DNSCmd = &cmds.Command + var DefaultBufSize = 1048576 + var DhtCmd = &cmds.Command + var DiagCmd = &cmds.Command + var ErrDepthLimitExceeded = fmt.Errorf("depth limit exceeded") + var ErrInvalidCompressionLevel = errors.New("compression level must be between 1 and 9") + var ErrNotDHT = errors.New("routing service is not a DHT") + var ErrNotOnline = errors.New("this command must be run in online mode. Try running 'ipfs daemon' first") + var ErrPingSelf = errors.New("error: can't ping self") + var FileStoreCmd = &cmds.Command + var FilesCmd = &cmds.Command + var GetCmd = &cmds.Command + var IDCmd = &cmds.Command + var KeyCmd = &cmds.Command + var LogCmd = &cmds.Command + var LsCmd = &cmds.Command + var MountCmd = &cmds.Command + var P2PCmd = &cmds.Command + var PinCmd = &cmds.Command + var PingCmd = &cmds.Command + var PubsubCmd = &cmds.Command + var PubsubLsCmd = &cmds.Command + var PubsubPeersCmd = &cmds.Command + var PubsubPubCmd = &cmds.Command + var PubsubSubCmd = &cmds.Command + var RefsCmd = &cmds.Command + var RefsLocalCmd = &cmds.Command + var RefsROCmd = &cmds.Command + var RepoCmd = &cmds.Command + var ResolveCmd = &cmds.Command + var Root = &cmds.Command + var RootRO = &cmds.Command + var StatsCmd = &cmds.Command + var SwarmCmd = &cmds.Command + var TarCmd = &cmds.Command + var VersionCmd = &cmds.Command + var VersionROCmd = &cmds.Command + func CommandsCmd(root *cmds.Command) *cmds.Command + func ExternalBinary(instructions string) *cmds.Command + func ParsePeerParam(text string) (ma.Multiaddr, peer.ID, error) + type AddEvent struct + Bytes int64 + Hash string + Name string + Size string + type AddPinOutput struct + Pins []string + Progress int + type BadNode struct + Cid string + Err string + type BlockStat struct + Key string + Size int + func (bs BlockStat) String() string + type BootstrapOutput struct + Peers []string + type CidFormatRes struct + CidStr string + ErrorMsg string + Formatted string + type CodeAndName struct + Code int + Name string + type Command struct + Name string + Options []Option + Subcommands []Command + type ConfigField struct + Key string + Value interface{} + type ConfigUpdateOutput struct + NewCfg map[string]interface{} + OldCfg map[string]interface{} + type Dependency struct + Path string + ReplacedBy string + Sum string + Version string + type GcResult struct + Error string + Key cid.Cid + type IdOutput struct + Addresses []string + AgentVersion string + ID string + ProtocolVersion string + PublicKey string + type KeyList struct + Keys []cid.Cid + type KeyOutput struct + Id string + Name string + type KeyOutputList struct + Keys []KeyOutput + type KeyRenameOutput struct + Id string + Now string + Overwrite bool + Was string + type LsLink struct + Hash string + Name string + Size uint64 + Target string + Type unixfs_pb.Data_DataType + type LsObject struct + Hash string + Links []LsLink + type LsOutput struct + Objects []LsObject + type MessageOutput struct + Message string + type Option struct + Names []string + type P2PListenerInfoOutput struct + ListenAddress string + Protocol string + TargetAddress string + type P2PLsOutput struct + Listeners []P2PListenerInfoOutput + type P2PStreamInfoOutput struct + HandlerID string + OriginAddress string + Protocol string + TargetAddress string + type P2PStreamsOutput struct + Streams []P2PStreamInfoOutput + type PinLsList struct + Keys map[string]PinLsType + type PinLsObject struct + Cid string + Type string + type PinLsOutputWrapper struct + type PinLsType struct + Type string + type PinOutput struct + Pins []string + type PinStatus struct + BadNodes []BadNode + Ok bool + type PinVerifyRes struct + Cid string + func (r PinVerifyRes) Format(out io.Writer) + type PingResult struct + Success bool + Text string + Time time.Duration + type RefWrapper struct + Err string + Ref string + type RefWriter struct + Ctx context.Context + DAG ipld.NodeGetter + MaxDepth int + PrintFmt string + Unique bool + func (rw *RefWriter) WriteEdge(from, to cid.Cid, linkname string, enc cidenc.Encoder) error + func (rw *RefWriter) WriteRefs(c cid.Cid, enc cidenc.Encoder) (int, error) + type RepoVersion struct + Version string + type VerifyProgress struct + Msg string + Progress int + type VersionOutput struct + Commit string + Golang string + Repo string + System string + Version string