go-ipfs: github.com/ipfs/go-ipfs/core/node/helpers Index | Files

package helpers

import "github.com/ipfs/go-ipfs/core/node/helpers"

Index

Package Files

helpers.go

func LifecycleCtx Uses

func LifecycleCtx(mctx MetricsCtx, lc fx.Lifecycle) context.Context

LifecycleCtx creates a context which will be cancelled when lifecycle stops

This is a hack which we need because most of our services use contexts in a wrong way

type MetricsCtx Uses

type MetricsCtx context.Context

Package helpers imports 2 packages (graph) and is imported by 8 packages. Updated 2019-04-23. Refresh now. Tools for package owners.