Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Uses 5656 as the default HTTPPort int // Uses http.DefaultServeMux as default ServeMux *http.ServeMux // Uses "/" as default HTTPBasePath string }
Options can be used to configure a Service on startup.
type Service ¶
type Service interface { http.Handler // Start accepts 0 or 1 Options Start(opts ...Options) // Dump writes an HTML file for displaying the current state of the explorer and its entries. Dump() // Explore adds a new entry (next available row in column 0) for a value unless it cannot be explored. Explore(label string, value any) Service }
Service is an HTTP Handler to explore one or more values (structures).
func NewService ¶
NewService creates a new to explore one or more values (structures).
Click to show internal directories.
Click to hide internal directories.