Versions in this module Expand all Collapse all v0 v0.1.2 Nov 22, 2022 v0.1.1 Sep 15, 2022 Changes in this version + var UiWebCmd = &cli.Command + func LoadConfig() error v0.1.0 Aug 6, 2022 Changes in this version + var BsGetCmd = &cli.Command + func PlumbAddCar(ctx *cli.Context, fpath string, fname string) (*util.ContentAddResponse, error) + func PlumbAddFile(ctx *cli.Context, fpath string, fname string) (*util.ContentAddResponse, error) v0.0.1 Jul 10, 2022 Changes in this version + var BargeAddCmd = &cli.Command + var BargeCheckCmd = &cli.Command + var BargeShareCmd = &cli.Command + var BargeStatusCmd = &cli.Command + var BargeSyncCmd = &cli.Command + var CollectionsCmd = &cli.Command + var CollectionsCreateCmd = &cli.Command + var CollectionsLsDirCmd = &cli.Command + var ConfigCmd = &cli.Command + var ConfigSetCmd = &cli.Command + var ConfigShowCmd = &cli.Command + var InitCmd = &cli.Command + var LoginCmd = &cli.Command + var PlumbCmd = &cli.Command + var PlumbPutCarCmd = &cli.Command + var PlumbPutDirCmd = &cli.Command + var PlumbPutFileCmd = &cli.Command + var PlumbSplitAddFileCmd = &cli.Command + type Config struct + Estuary EstuaryConfig + type EstClient struct + DoProgress bool + Host string + LogTimings bool + Shuttle string + Tok string + func LoadClient(cctx *cli.Context) (*EstClient, error) + func (c *EstClient) AddCar(fpath, _ string) (*util.ContentAddResponse, error) + func (c *EstClient) AddFile(fpath, filename string) (*util.ContentAddResponse, error) + func (c *EstClient) CollectionsCreate(_ context.Context, name, desc string) (*dbmgr.Collection, error) + func (c *EstClient) CollectionsList(context.Context) ([]*dbmgr.Collection, error) + func (c *EstClient) CollectionsListDir(_ context.Context, coluuid, path string) ([]collectionListResponse, error) + func (c *EstClient) PinAdd(_ context.Context, root cid.Cid, name string, origins []string, ...) (*types.IpfsPinStatusResponse, error) + func (c *EstClient) PinStatus(_ context.Context, reqid string) (*types.IpfsPinStatusResponse, error) + func (c *EstClient) PinStatusByCid(_ context.Context, cids []string) (map[string]*types.IpfsPinStatusResponse, error) + func (c *EstClient) PinStatuses(_ context.Context, reqids []string) (map[string]*types.IpfsPinStatusResponse, error) + func (c *EstClient) Viewer(context.Context) (*util.ViewerResponse, error) + type EstuaryConfig struct + Host string + PrimaryShuttle string + Token string + type File struct + Cid string + CreatedAt time.Time + ID uint + Mtime time.Time + Path string + type FileWithPin struct + Cid string + FileID uint + Path string + PinID uint + RequestID string + Status types.PinningStatus + type FilestoreFile struct + func (ff *FilestoreFile) AbsPath() string + func (ff *FilestoreFile) Read(b []byte) (int, error) + func (ff *FilestoreFile) Size() (int64, error) + func (ff *FilestoreFile) Stat() os.FileInfo + type Pin struct + Cid string + CreatedAt time.Time + File uint + ID uint + RequestID string + Status types.PinningStatus + type PinClient struct + type Repo struct + Cfg *viper.Viper + DB *gorm.DB + Dir string + Filestore *filestore.Filestore + func OpenRepo() (*Repo, error) + func (r *Repo) Close() error