Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_IPFS_PIN_LIMIT = 10 // https://github.com/ipfs/pinning-services-api-spec/blob/main/ipfs-pinning-service.yaml#L610 IPFS_PIN_LIMIT_MIN = 1 IPFS_PIN_LIMIT_MAX = 1000 )
View Source
const (
ColDir string = "dir"
)
View Source
const TOKEN_LABEL_ON_LOGIN = "on-login"
View Source
const TOKEN_LABEL_ON_REGISTER = "on-register"
Variables ¶
This section is empty.
Functions ¶
func NewAPIV1 ¶
func NewAPIV1( cfg *config.Estuary, db *gorm.DB, nd *node.Node, fc *filclient.FilClient, gwApi api.Gateway, sbm *stagingbs.StagingBSMgr, cm content.IManager, cacher *explru.ExpirableLRU, extendedCacher *explru.ExpirableLRU, mm miner.IMinerManager, pinMgr pinner.IEstuaryPinManager, log *zap.SugaredLogger, trc trace.Tracer, shuttleMgr shuttle.IManager, transferMgr transfer.IManager, dealMgr deal.IManager, stgZoneMgr stagingzone.IManager, ) *apiV1
Types ¶
type ChannelIDParam ¶
from datatransfer.ChannelID and used for swagger docs if we don't redefine this here, we'll need to enable parse dependences for swagger and it will take a really long time
type DataExport ¶
type DataExport struct { Version string Date time.Time Version1 ExportVersion1 }
type ExportVersion1 ¶
type ExportVersion1 struct { Contents []util.Content Deals []model.ContentDeal }
Click to show internal directories.
Click to hide internal directories.