Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJobex ¶
LoadJobex loads jobex csv which corresponds to name. LoadJobex returns empty jobex array if csv is not exists.
func MasterErrorResult ¶
MasterErrorResult generates master error result message as JSON.
func RealtimeErrorResult ¶
RealtimeErrorResult generates realtime error result message as JSON.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command represents a master command which executes realtime network.
func NewCommand ¶
NewCommand creates Command object with unique network name. Network name is generate from realtimeName and current timestamp.
func (*Command) GetNetworkName ¶
GetNetworkName returns network name.
type Job ¶
type Job struct {
Name string
Node string
Port int
Path string
Param string
Env string
Work string
WRC int
WPtn string
ERC int
EPtn string
Timeout int
SNode string
SPort int
}
func (*Job) UnmarshalJSON ¶
UnmarshalJSON create job object from data(JSON format). Use jobex value loaded by LoadJobex function if the parameter is null.
Click to show internal directories.
Click to hide internal directories.