README ¶ IPFS upload golang ipAddr ipfs Init("addr").Sh.Add(strings.NewReader("hello world")) NftStorage ipfs AddStorage(strings.NewReader("today is rain"), "token") Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func AddStorage(f io.Reader, auth string) (string, error) type IPFS func Init(addr string) *IPFS func (sh *IPFS) Add(r io.Reader) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddStorage ¶ added in v1.2.9 func AddStorage(f io.Reader, auth string) (string, error) Types ¶ type IPFS ¶ type IPFS struct { Sh *shell.Shell } var sh *shell.Shell func Init ¶ func Init(addr string) *IPFS func (*IPFS) Add ¶ func (sh *IPFS) Add(r io.Reader) (string, error) Source Files ¶ View all Source files init.go nftStorage.go Click to show internal directories. Click to hide internal directories.