Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type IPFSClient ¶ added in v0.1.0
func NewIPFSClient ¶ added in v0.1.0
func NewIPFSClient(endpoint string, options ...Option) (*IPFSClient, error)
endpoint must be in MultiAddr Format as specified under https://github.com/multiformats/multiaddr#encoding
func (*IPFSClient) GetImageFromIPFS ¶ added in v0.1.0
func (c *IPFSClient) GetImageFromIPFS(imagePath string) (image.Image, error)
type Option ¶
type Option = func(c Client)
func WithJPEGDecoder ¶
func WithJPEGDecoder() Option
func WithPNGDecoder ¶
func WithPNGDecoder() Option
type WebClient ¶ added in v0.1.0
func NewWebClient ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.