package
0.29.0
Repository: https://github.com/ipfs/kubo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BootstrapPeerStrings formats a list of AddrInfos as a bootstrap peer list suitable for serialization.
ConvertAuthSecret converts the given secret in the format "type:value" into an HTTP Authorization header value.
CreateIdentity initializes a new identity.
DataStorePath returns the default data store path given a configuration root (set an empty string to have the default configuration root).
DefaultBootstrapPeers returns the (parsed) set of default bootstrap peers.
DefaultDatastoreConfig is an internal function exported to aid in testing.
Filename returns the configuration file path given a configuration root directory and a user-provided configuration file path argument with the following rules: - If the user-provided configuration file path is empty, use the default one.
No description provided by the author
HumanOutput gets a config value ready for printing.
No description provided by the author
No description provided by the author
Marshal configuration with JSON.
NewOptionalDuration returns an OptionalDuration from a string.
NewOptionalInteger returns an OptionalInteger from a int64.
NewOptionalString returns an OptionalString from a string.
ParseBootstrapPeer parses a bootstrap list into a list of AddrInfos.
Path returns the path `extension` relative to the configuration root.
PathRoot returns the default configuration root directory.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
AutoNATServiceDisabled indicates that the user has disabled the AutoNATService.
AutoNATServiceEnabled indicates that the user has enabled the AutoNATService.
AutoNATServiceUnset indicates that the user has not set the AutoNATService mode.
No description provided by the author
No description provided by the author
DefaultConfigFile is the filename of the configuration file.
DefaultConnMgrGracePeriod is the default value for the connection managers grace period.
DefaultConnMgrHighWater is the default value for the connection managers 'high water' mark.
DefaultConnMgrLowWater is the default value for the connection managers 'low water' mark.
DefaultConnMgrType is the default value for the connection managers type.
DefaultDataStoreDirectory is the directory to store all the local IPFS data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultPathName is the default config dir name.
DefaultPathRoot is the path to the default config dir location.
No description provided by the author
https://github.com/ipfs/kubo/pull/9326.
No description provided by the author
DefaultResourceMgrMinInboundConns is a MAGIC number that probably a good enough number of inbound conns to be a good network citizen.
DefaultSeenMessagesStrategy is the strategy that is used by default if no Pubsub.SeenMessagesStrategy is specified.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnvDir is the environment variable used to change the path root.
No description provided by the author
FirstSeenMessagesStrategy is a strategy that calculates the TTL countdown based on the first time a Pubsub message is seen.
No description provided by the author
LastSeenMessagesStrategy is a strategy that calculates the TTL countdown based on the last time a Pubsub message is seen.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DHT router.
HTTP JSON API for delegated routing systems (IPIP-337).
Router helper to execute several routers in parallel.
Router helper to execute several routers sequentially.
No description provided by the author

# Variables

No description provided by the author
DefaultBootstrapAddresses are the hardcoded bootstrap addresses for IPFS.
No description provided by the author
No description provided by the author
ErrInvalidPeerAddr signals an address is not a valid peer address.
No description provided by the author
No description provided by the author
Profiles is a map holding configuration transformers.
No description provided by the author

# Structs

Addresses stores the (string) multiaddr addresses for the node.
No description provided by the author
AutoNATConfig configures the node's AutoNAT subsystem.
AutoNATThrottleConfig configures the throttle limites.
No description provided by the author
Config is used to load ipfs config files.
No description provided by the author
ConnMgr defines configuration options for the libp2p connection manager.
Datastore tracks the configuration of the datastore.
No description provided by the author
No description provided by the author
DNS specifies DNS resolution rules using custom resolvers.
No description provided by the author
No description provided by the author
Gateway contains options for the HTTP gateway server.
No description provided by the author
No description provided by the author
Identity tracks the configuration of the local node's identity.
Import configures the default options for ingesting data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Migration configures how migrations are downloaded and if the downloads are added to IPFS locally.
Mounts stores the (string) mount points.
OptionalDuration wraps time.Duration to provide json serialization and deserialization.
OptionalInteger represents an integer that has a default value When encoded in json, Default is encoded as "null".
OptionalString represents a string that has a default value When encoded in json, Default is encoded as "null".
Peering configures the peering service.
No description provided by the author
No description provided by the author
No description provided by the author
Profile contains the profile transformer the description of the profile.
No description provided by the author
No description provided by the author
No description provided by the author
RelayService configures the resources of the circuit v2 relay.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResourceMgr defines configuration options for the libp2p Network Resource Manager <https://github.com/libp2p/go-libp2p/tree/master/p2p/host/resource-manager#readme>.
No description provided by the author
No description provided by the author
Routing defines configuration options for libp2p routing.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

AutoNATServiceMode configures the ipfs node's AutoNAT service.
No description provided by the author
Flag represents a ternary value: false (-1), default (0), or true (+1).
No description provided by the author
No description provided by the author
Priority represents a value with a priority where 0 means "default" and -1 means "disabled".
No description provided by the author
Type is the routing type.
Strings is a helper type that (un)marshals a single string to/from a single JSON string and a slice of strings to/from a JSON array of strings.
Transformer is a function which takes configuration and applies some filter to it.