package vt100

import "github.com/jaguilar/vt100/export"

Index

Functions

func Export

func Export(pattern string, v *vt100.VT100, l sync.Locker)

Export displays a status page showing the state of v under the given path. This page is added to the DefaultMux in the http package. You must provide a mutex we can lock while doing the export. You must not modify v without holding the mutex yourself, or else you could have a data race on your hands.

Source Files

export.go

Version
v0.0.0-20201024211400-81de19cb81a4 (latest)
Published
Oct 24, 2020
Platform
linux/amd64
Imports
4 packages
Last checked
1 month ago

Tools for package owners.