orcdebug

package
v0.0.0-...-b5a46b0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 10 Imported by: 0

README

orc-debug: an Orc module for serving debug information

Documentation

Index

Constants

This section is empty.

Variables

View Source
var M = &Module{}

Functions

This section is empty.

Types

type Module

type Module struct {
	Status *Status
}

func (*Module) ModuleName

func (m *Module) ModuleName() string

func (*Module) OnRegister

func (m *Module) OnRegister(hooks orc.ModuleHooks)

func (*Module) RedirectMainToStatus

func (m *Module) RedirectMainToStatus() error

type Row

type Row struct {
	Key   string
	Value string
}

type Status

type Status struct {
	// contains filtered or unexported fields
}

func NewStatus

func NewStatus() *Status

func (*Status) AddTable

func (s *Status) AddTable(table func() Table)

func (*Status) ServeHTTP

func (s *Status) ServeHTTP(w http.ResponseWriter, req *http.Request)

type Table

type Table struct {
	TableName string
	Rows      []Row
}

Jump to

Keyboard shortcuts

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