batwing

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package batwing provides a development dashboard for BAT applications. It serves an HTTP interface with DI container visualization, pprof endpoints, build info, and other introspection tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// Listen address for batwing dev page
	HTTP         httpsrv.Config
	DisablePprof bool
	// contains filtered or unexported fields
}

func (Config) New

func (cfg Config) New(app *bat.App) *Service

func (Config) Register

func (cfg Config) Register() bat.Registrant

type Module

type Module interface {
	Method() string
	Title() string
	Href() string
	Desc() string

	httpsrv.Route
}

type Service

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

func (*Service) Init

func (s *Service) Init(cd []bat.CtxDecorator, regs ...Module) error

Jump to

Keyboard shortcuts

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