Documentation ¶
Index ¶
- Constants
- type DmClient
- func (d *DmClient) All() ([]*config.Status, error)
- func (d *DmClient) Delete(jobId string) (int64, error)
- func (d *DmClient) DeleteAll() (int64, error)
- func (d *DmClient) StartJob(job config.Job) error
- func (d *DmClient) StartJobs(job []config.Job) error
- func (d *DmClient) Status(jobId string) (*config.Status, error)
- func (d *DmClient) StopJob(jobId string) error
- type RtuClient
- func (r *RtuClient) All() ([]*config.Status, error)
- func (r *RtuClient) Delete(jobId string) (int64, error)
- func (r *RtuClient) JobKey() string
- func (r *RtuClient) StartJob(job config.Job) error
- func (r *RtuClient) StartJobs(job []config.Job) error
- func (r *RtuClient) Status(jobId string) (*config.Status, error)
- func (r *RtuClient) StatusKey(jobID string) string
- func (r *RtuClient) StopJob(jobId string) error
- func (r *RtuClient) StopJobKey(jobID string) string
Constants ¶
View Source
const ( KeyJob = "/hera/dm/job" KeyStopJob = "/hera/dm/stop-job/" KeyStatus = "/hera/dm/status/" RtuKeyStatus = "/hera/rtu/status/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DmClient ¶
type DmClient struct {
// contains filtered or unexported fields
}
func NewDmClient ¶
type RtuClient ¶
type RtuClient struct {
// contains filtered or unexported fields
}
func NewRtuClient ¶
func (*RtuClient) StopJobKey ¶
Click to show internal directories.
Click to hide internal directories.