taskmanager

package
v0.0.0-...-8093761 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaskManagerChan chan OperType

Functions

This section is empty.

Types

type OperType

type OperType int
const (
	ServerReload OperType = iota
	ResCollectorReload
	ConfReload
)

type TaskManager

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

func (*TaskManager) Run

Run 고루틴 작업 관리자

Parameters:

  • ctx: 종료 컨텍스트
  • gm: 고루틴 작업 정보 구조체

type TaskStrType

type TaskStrType string
const (
	TaskManagerStr       TaskStrType = "taskManager"
	ServerStr            TaskStrType = "server"
	ResourceCollectorStr TaskStrType = "resourceCollector"
)

func (TaskStrType) Int

func (t TaskStrType) Int() int

Int TaskStrType을 정수로 반환

Returns:

  • int: 정수로 변환된 TaskStrType

type TaskType

type TaskType int
const (
	TaskManagerType TaskType = iota
	ServerType
	ResourceCollectorType
)

func (TaskType) String

func (t TaskType) String() string

String TaskType을 문자열로 반환

Returns:

  • string: 문자열로 변환된 TaskType

Jump to

Keyboard shortcuts

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