deps

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 11 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
	Node      *models.StatelessNode
	BrokerCfg *config.Broker
	Master    coordinator.MasterController

	Repo        state.Repository
	RepoFactory state.RepositoryFactory
	StateMgr    broker.StateManager

	TransportMgr  rpc.TransportManager
	TaskMgr       query.TaskManager
	CM            replica.ChannelManager
	IngestLimiter *concurrent.Limiter
	QueryLimiter  *concurrent.Limiter

	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