Documentation
¶
Index ¶
- Variables
- func Marshal(data any) ([]byte, error)
- func ReplyMessageSubject(agentID, msgID string) string
- func StartWorkerSubject(agentID, workerID string) string
- func StopWorkerSubject(agentID, workerID string) string
- func Unmarshal(b []byte) (any, error)
- func UpdateClientInfoSubject(agentID string) string
- func UpdateWorkerStatusSubject(agentID, workerID string) string
- func WriteWorkerStdinSubject(agentID, workerID string) string
- func WriteWorkerStdoutSubject(agentID, workerID string) string
- type StartWorkerRequest
- type StartWorkerResponse
- type StopWorkerRequest
- type StopWorkerResponse
- type UpdateClientInfo
- type UpdateWorkerStatus
- type UpdateWorkerStdio
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownMessage = errors.New("unknown message")
)
Functions ¶
func ReplyMessageSubject ¶ added in v0.4.0
func StartWorkerSubject ¶ added in v0.4.0
func StopWorkerSubject ¶ added in v0.4.0
func UpdateClientInfoSubject ¶ added in v0.4.0
func UpdateWorkerStatusSubject ¶ added in v0.4.0
func WriteWorkerStdinSubject ¶ added in v0.4.0
func WriteWorkerStdoutSubject ¶ added in v0.4.0
Types ¶
type StartWorkerRequest ¶ added in v0.4.0
type StartWorkerResponse ¶ added in v0.4.0
type StartWorkerResponse struct {
Error error
}
type StopWorkerRequest ¶ added in v0.4.0
type StopWorkerRequest struct{}
type StopWorkerResponse ¶ added in v0.4.0
type StopWorkerResponse struct {
Error error
}
type UpdateClientInfo ¶ added in v0.4.0
type UpdateWorkerStatus ¶ added in v0.4.0
type UpdateWorkerStatus struct {
Status int64
}
type UpdateWorkerStdio ¶ added in v0.4.0
type UpdateWorkerStdio struct {
Data []byte
}
Click to show internal directories.
Click to hide internal directories.