deps

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPDeps

type HTTPDeps struct {
	Ctx          context.Context
	Cfg          *config.Root
	Node         *models.StatelessNode
	QueryLimiter *concurrent.Limiter
	Repo         state.Repository
	RepoFactory  state.RepositoryFactory
	StateMgr     root.StateManager
	TransportMgr rpc.TransportManager
	TaskMgr      query.TaskManager

	GlobalKeyValues tag.Tags
}

HTTPDeps represents http server handler's dependency.

func (*HTTPDeps) WithTimeout

func (deps *HTTPDeps) WithTimeout() (context.Context, context.CancelFunc)

Jump to

Keyboard shortcuts

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