Versions in this module Expand all Collapse all v1 v1.0.2 Apr 20, 2023 v1.0.1 Apr 14, 2023 v1.0.0 Apr 8, 2023 Changes in this version + var OsSignal chan os.Signal + func ConfigureGatewayRouter(e *echo.Group, node *core.LightNode) + func ConfigureHealthCheckRouter(healthCheckApiGroup *echo.Group, node *core.LightNode) + func ConfigureNodeInfoRouter(e *echo.Group, node *core.LightNode) + func ConfigurePinningRouter(e *echo.Group, node *core.LightNode) + func ConfigureRetrieveRouter(e *echo.Group, node *core.LightNode) + func ConfigureStatsRouter(e *echo.Group, node *core.LightNode) + func ConfigureStatusCheckRouter(e *echo.Group, node *core.LightNode) + func ErrorHandler(err error, c echo.Context) + func GatewayContentResolverCheckHandler(c echo.Context) error + func GatewayResolverCheckHandlerDirectPath(c echo.Context) error + func InitializeEchoRouterConfig(ln *core.LightNode) + func LoopForever() + func RetrieveSplitHandler(c echo.Context, node *core.LightNode) error + func ServeDir(ctx context.Context, n mdagipld.Node, w http.ResponseWriter, req *http.Request) error + func SniffMimeType(w http.ResponseWriter, dr uio.DagReader) error + type AuthResponse struct + Result struct{ ... } + func GetAuthResponse(resp *http.Response) (AuthResponse, error) + type CidRequest struct + Cids []string + type Context struct + CustomLinks []CustomLinks + type CustomLinks struct + Href string + HrefCid string + LinkName string + Size string + type DealE2EUploadRequest struct + AutoRetry bool + Cid string + ConnectionMode string + DealVerifyState string + Duration int64 + DurationInDays int64 + Label string + Miner string + RemoveUnsealedCopy bool + Replication int + Size int64 + SkipIPNIAnnounce bool + StartEpoch int64 + StartEpochInDays int64 + type DealE2EUploadResponse struct + ContentId int64 + DealProposalParameterRequest interface{} + DealRequest interface{} + Message string + ReplicatedContents interface{} + Status string + type GatewayHandler struct + func (gw *GatewayHandler) GatewayDirResolverCheckHandler(c echo.Context) error + func (gw *GatewayHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type HttpError struct + Code int + Details string + Reason string + func (he HttpError) Error() string + type HttpErrorResponse struct + Error HttpError + type Stats struct + TotalContentCount int + TotalSize int + type StatusCheckResponse struct + Content struct{ ... } + type UploadResponse struct + Cid string + ContentUrl string + DeltaContent interface{} + ID int64 + Message string + Status string + type UploadSplitResponse struct + Message string + RootCid string + RootContentId int64 + Splits []core.UploadSplits + Status string