Documentation
¶
Index ¶
- func APILabel() string
- func Accent(text string) string
- func AccentPanel(title, content string) string
- func Banner(version string) string
- func Bold(text string) string
- func Bullet(label, value string) string
- func CfgLabel() string
- func DBLabel() string
- func Dashboard(cfg DashboardConfig) string
- func DepStatus(name string, installed bool, purpose string) string
- func Dim(text string) string
- func Error(text string) string
- func GRPCLabel() string
- func HTTPMethod(method string) string
- func Hint(text string) string
- func KeyValue(label, value string) string
- func LogLabel() string
- func MakeLabel() string
- func NumberedList(items []string) string
- func Panel(title, content string) string
- func RunLabel() string
- func Section(title string) string
- func Step(num int, label string) string
- func StepDone(num int, label string) string
- func Success(text string) string
- func Table(headers []string, rows [][]string) string
- func Warning(text string) string
- type DashboardConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccentPanel ¶ added in v0.9.0
func Dashboard ¶ added in v0.9.0
func Dashboard(cfg DashboardConfig) string
Dashboard renders the main dashboard view.
func HTTPMethod ¶ added in v0.9.0
func NumberedList ¶ added in v0.9.0
Types ¶
type DashboardConfig ¶ added in v0.19.0
type DashboardConfig struct {
ProjectDir string
HasDB bool
DBInfo string // e.g. "SQLite • apartment.db" or "Postgres • localhost:5432/mydb"
HasAPI bool
APIInfo string // e.g. "localhost:8080"
HasGRPC bool
GRPCInfo string // e.g. "localhost:50051"
HasLog bool
MissingDeps int
Version string
}
DashboardConfig holds all parameters for rendering the dashboard.
Click to show internal directories.
Click to hide internal directories.