taskconfig

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCodeTaskConfig

func AddCodeTaskConfig(name, srvType, path string, retry int64)

AddCodeTaskConfig add task

Types

type CodeTaskConfig

type CodeTaskConfig struct {
	//  task name,
	Name string
	// service name, apiserver, host, topo, proc etc
	SvrType string
	// url path
	Path string
	// http request error. max retry
	Retry int64
}

func GetCodeTaskConfig

func GetCodeTaskConfig() []CodeTaskConfig

GetCodeTaskConfig return code task config

Jump to

Keyboard shortcuts

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