listener

package
v0.0.0-...-d5e8507 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL