http

package
v0.0.0-...-2a0aeb0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const EMBEDDED_UI_DIR = "ui"

*

  • Name of the top level directory for embedded UI files. *
  • UI files are embedded in the footle binary. To access this embedded file
  • system, we need to know the name of the top level directory.

Variables

This section is empty.

Functions

func Listen

func Listen(out chan string, conf config.Config)

*

  • Setup HTTP server. *
  • Five handlers are used:
  • - HTTP interface for Footle.
  • - A file browser for selecting files that will be debugged.
  • - File content rendered as HTML.
  • - Debugging command receiver. This is supposed to be called over Ajax.
  • - Debugging output sender. This is supposed to be consumed using
  • Server sent events. *
  • Uses global variable "clientList."

func TellBrowsers

func TellBrowsers(in <-chan message.Message, config config.Config)

*

  • Pass on DBGp command output to HTTP clients. *
  • Uses global variable "clientList."

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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