Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements writing and reading content
func New ¶
func New(casClient dcasclient.DCAS) *Client
New returns a new client for managing content
func (*Client) Read ¶
Read reads the content of the given content ID (CID) in DCAS. returns the content for the given CID. The CID must be encoded in the proper format, according to https://docs.ipfs.io/concepts/content-addressing/#identifier-formats
Click to show internal directories.
Click to hide internal directories.