Documentation ¶
Overview ¶
Package listener provides session REST API handlers
Package main provides listener that listens to the http port for incoming messages from Admin NodeJS UI or Command Line
REST API
Package listener provides routes used for handling the REST APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShutdownRESTApi ¶
func ShutdownRESTApi()
func StartRESTApiListener ¶
func StartRESTApiListener(writeCh chan state.SessionEvent)
Starts a http listener and reports incoming messages to the caller
Types ¶
type RouteHandler ¶
type RouteHandler struct {
// contains filtered or unexported fields
}
Route Handler for using with http.Handler
func (RouteHandler) ServeHTTP ¶
func (handler RouteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.