directory
Version:
v0.7.2
Opens a new window with list of versions in this module.
Published: Nov 20, 2025
License: Apache-2.0, MIT
Opens a new window with license information.
README
¶
Retrieval Server Example
This example demonstrates how a retrieval server works. You can use the client to fetch the following hashes:
zQmWvQxTqbG2Z9HPJgG57jjwR154cKhbtJenbyYTWkjgF3e
zQmY7Bpsk9Qvorkx1R47bnFwWFtTTVanL1gELhq31siJVJT
zQmTpxKkDpsHrEKwSVN4WteuWPmHehswVRww7zvyfotopzo
Getting started
Start the server:
go run ./server
Retrieve some data:
go run ./client zQmWvQxTqbG2Z9HPJgG57jjwR154cKhbtJenbyYTWkjgF3e
You can make a byte range request like:
go run ./client zQmWvQxTqbG2Z9HPJgG57jjwR154cKhbtJenbyYTWkjgF3e 0 4
Directories
¶
capabilities
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.