Web: more SocketIO documentation
Add that the OpenAPI specs also define the structures used for SocketIO communication.
This commit is contained in:
parent
b83b929e01
commit
a5e405de16
@ -42,5 +42,9 @@ system on the Manager/backend side:
|
||||
`internal/manager/webupdates/worker_updates.go`
|
||||
: sending worker-related updates.
|
||||
|
||||
`pkg/api/flamenco-openapi.yaml`
|
||||
: the OpenAPI specification also includes the structures sent over SocketIO.
|
||||
Search for `SocketIOJobUpdate`; the rest is defined in its vicinity.
|
||||
|
||||
For a relatively simple example of a job update broadcast, see
|
||||
`func (f *Flamenco) SetJobPriority(...)` in `internal/manager/api_impl/jobs.go`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user