logz

package
v3.0.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logz provides an infrastructure to expose a list of entries as a sortable table on a webpage.

It is used by many internal vttablet pages e.g. /queryz, /querylogz, /schemaz /streamqueryz or /txlogz.

See tabletserver/querylogz.go for an example how to use it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndHTMLTable

func EndHTMLTable(w http.ResponseWriter)

EndHTMLTable writes the end of a logz-style table to an HTTP response.

func StartHTMLTable

func StartHTMLTable(w http.ResponseWriter)

StartHTMLTable writes the start of a logz-style table to an HTTP response.

func Wrappable

func Wrappable(in string) string

Wrappable inserts zero-width whitespaces to make the string wrappable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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