manager

package
v1.3.19 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager fetch settings and dispatch profile tasks to drivers

func NewManager

func NewManager(service string, settingAddrCfg SettingAddrConfig, taskChan chan *common.Task, monitor *res_monitor.Monitor, l logger.Logger) *Manager

func (*Manager) HandlerProfileTasks

func (m *Manager) HandlerProfileTasks(s *settings_models.Settings)

func (*Manager) Start

func (m *Manager) Start()

func (*Manager) Stop

func (m *Manager) Stop()

type SettingAddrConfig

type SettingAddrConfig struct {
	Sock string

	Schema  string
	Host    string
	Timeout time.Duration

	Logger logger.Logger
}

Jump to

Keyboard shortcuts

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