Documentation ¶
Index ¶
- func Init(ctx context.Context, webSocket *melody.Melody, workspace *workspace.Workspace, ...)
- func StartAPI(ctx context.Context, webSocket *melody.Melody)
- type AvailableReportsPayload
- type ClientRequest
- type ClientRequestPayload
- type ClientRequestReportPayload
- type ErrorPayload
- type ExecutionPayload
- type ReportClientInfo
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AvailableReportsPayload ¶
type ClientRequest ¶
type ClientRequest struct { Action string `json:"action"` Payload ClientRequestPayload `json:"payload"` }
type ClientRequestPayload ¶
type ClientRequestPayload struct {
Report ClientRequestReportPayload `json:"report"`
}
type ClientRequestReportPayload ¶
type ClientRequestReportPayload struct {
FullName string `json:"full_name"`
}
type ErrorPayload ¶
type ExecutionPayload ¶
type ExecutionPayload struct { Action string `json:"action"` ReportNode reportinterfaces.ReportNodeRun `json:"report_node"` }
type ReportClientInfo ¶
type ReportClientInfo struct {
Report *string
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleWorkspaceUpdate ¶
func (s *Server) HandleWorkspaceUpdate(event reportevents.ReportEvent)
Click to show internal directories.
Click to hide internal directories.