api

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2023 License: Apache-2.0, MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIV2

func NewAPIV2(
	cfg *config.Estuary,
	db *gorm.DB,
	nd *node.Node,
	fc *filclient.FilClient,
	gwApi api.Gateway,
	sbm *stagingbs.StagingBSMgr,
	cm content.IManager,
	cacher *explru.ExpirableLRU,
	minerManager miner.IMinerManager,
	extendedCacher *explru.ExpirableLRU,
	pinMgr pinner.IEstuaryPinManager,
	log *zap.SugaredLogger,
	trc trace.Tracer,
) *apiV2

Types

type BatchedPinRequest added in v0.3.9

type BatchedPinRequest struct {
	ContentIdToPin string `json:"content_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL