funcs

package
v0.0.0-...-a47f05f Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Appexec

func Appexec(ins scheduler.Instruct) (int32, string, int32)

func BytesString

func BytesString(b []byte) string

func ClearApps

func ClearApps()

func CurrentTimeMillis

func CurrentTimeMillis() int64

func Download

func Download(url string, fileDir string, fileName string) error

func ExecAndSend

func ExecAndSend(ins scheduler.Instruct, t bool)

func GetMD5

func GetMD5(str string) string

func JsonToString

func JsonToString(j string) string

func Resultsend

func Resultsend(ret scheduler.Reinstruct, addr string, port int, timeout int)

func ServerRun

func ServerRun(authips []string)

func Sign

func Sign(uri string, pastr map[string]string, Authkey string) (string, string)

func StrToInt

func StrToInt(str string) int

func Unzip

func Unzip(src, dest string) error

Types

type AgentServiceServiceImpl

type AgentServiceServiceImpl struct{}

func (*AgentServiceServiceImpl) AliveCheck

func (this *AgentServiceServiceImpl) AliveCheck() (r string, err error)

func (*AgentServiceServiceImpl) InstructionInvokeAsync

func (this *AgentServiceServiceImpl) InstructionInvokeAsync(insList []*scheduler.Instruct) (r []*scheduler.Reinstruct, err error)

func (*AgentServiceServiceImpl) InstructionInvokeSync

func (this *AgentServiceServiceImpl) InstructionInvokeSync(ins *scheduler.Instruct) (r *scheduler.Reinstruct, err error)

Jump to

Keyboard shortcuts

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