Documentation
¶
Index ¶
Constants ¶
View Source
const ( SuccessCode = 200 FailCode = 500 )
View Source
const ( EmptyString = "" UrlRegister = "api/registry" UrlRegistryRemove = "api/registryRemove" UrlCallback = "api/callback" XxlJobAccessToken = "XXL-JOB-ACCESS-TOKEN" )
View Source
const ( EXECUTOR = iota ADMIN )
RegistryConfig
View Source
const LoopFrequency = time.Second * 30
Variables ¶
This section is empty.
Functions ¶
func GetGroupName ¶
Types ¶
type AdmApi ¶
type AdmApi struct {
// contains filtered or unexported fields
}
func (*AdmApi) Callback ¶
func (adm *AdmApi) Callback(call []HandleCallbackParams)
func (*AdmApi) RegistryRemove ¶
func (adm *AdmApi) RegistryRemove()
type HandleCallbackParams ¶
type Option ¶
type Option func(o *Options)
func SetAccessToken ¶
func SetAdmAddresses ¶
func SetRegistryGroup ¶
func SetRegistryKey ¶
func SetRegistryValue ¶
func SetTimeout ¶
Click to show internal directories.
Click to hide internal directories.