Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleMonitorRequest ¶
func HandleMonitorRequest(w http.ResponseWriter, r *http.Request)
HandleMonitorRequest handles the monitor http request. events are emitted to the monitor event channel.
func NewSimuHub ¶ added in v0.21.0
Types ¶
type NDJSONScanner ¶ added in v0.24.0
type NDJSONScanner struct {
// contains filtered or unexported fields
}
NDJSONScanner scans a reader line by line and writes to the writer.
func NewNDJSONScanner ¶ added in v0.24.0
func NewNDJSONScanner(sleep time.Duration, repeat int) *NDJSONScanner
NewNDJSONScanner creates a new NDJSON scanner.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewHTTPServer ¶
func NewHTTPServer() *Server
Click to show internal directories.
Click to hide internal directories.