nftstorage

package
v0.0.0-...-5d479c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NftStorage

type NftStorage struct {
	// contains filtered or unexported fields
}

func NewNftStorage

func NewNftStorage(apikey string, logger *logrus.Entry) (*NftStorage, error)

func (*NftStorage) DownloadFile

func (s *NftStorage) DownloadFile(cid string, fileName string) (content []byte, err error)

func (*NftStorage) UploadFile

func (s *NftStorage) UploadFile(content []byte, path string) (cid string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL