Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPFSClient ¶
type IPFSClientWrapper ¶
type IPFSClientWrapper struct {
// contains filtered or unexported fields
}
func NewIPFSClientWrapper ¶
func NewIPFSClientWrapper(client *shell.Shell) *IPFSClientWrapper
func (*IPFSClientWrapper) Cat ¶
func (i *IPFSClientWrapper) Cat(path string) (io.ReadCloser, error)
type IpfsStorageRepository ¶
type IpfsStorageRepository struct {
// contains filtered or unexported fields
}
func NewStorageRepository ¶
func NewStorageRepository(client IPFSClient) (i *IpfsStorageRepository)
func (*IpfsStorageRepository) GetById ¶
func (i *IpfsStorageRepository) GetById(id string) string
func (*IpfsStorageRepository) Save ¶
func (i *IpfsStorageRepository) Save(data string) (id string)
Click to show internal directories.
Click to hide internal directories.