package
0.0.0-20230613112257-1059341b5672
Repository: https://github.com/filecoin-titan/titan-sdk-go.git
Documentation: pkg.go.dev

# Functions

AddressOption set titan server address.
DefaultOption returns a default set of options.
ListenAddressOption set the listen address for titan client, default is :8863.
RangeSizeOption specifies the maximum size of each file range that can be downloaded in a single HTTP request.
TimeoutOption specifies a time limit for requests made by the http Client.
TokenOption set titan server access token.
TraversalModeOption set the download file traversal algorithm, default using DFS pre-order walk algorithm for dag.
VerboseOption Make the operation more talkative.

# Constants

TraversalModeDFS only supports retrieving CAR files and auto decodes them into the raw file format.
TraversalModeRange allows you to retrieve files of any type, but it does not decode, the files will be retrieved in their original format.

# Structs

Config is a set of titan SDK options.

# Type aliases

Option is a single titan sdk Config.
No description provided by the author