Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckWebSocketCount ¶
func CheckWebSocketCount(ctx context.Context, configs []ServiceConfig) (bool, error)
CheckWebSocketCount checks the web socket count and restarts the browser if the count is 0
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { Name string `json:"name"` URL string `json:"url"` Method string `json:"method,omitempty"` Body interface{} `json:"body,omitempty"` }
ServiceConfig .
Click to show internal directories.
Click to hide internal directories.