Documentation ¶
Index ¶
- func Get(ctx context.Context, cidStr string, filename string, key []byte) ([]byte, error)
- func GetByW3sClient(ctx context.Context, cidStr string, key []byte) (data []byte, err error)
- func GetByW3sLink(cid string, filename string, key []byte) ([]byte, error)
- func Init(cfg *config.Web3) (err error)
- func Put(ctx context.Context, data interface{}, filename string, key []byte) (cid string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByW3sClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.