Documentation
¶
Overview ¶
Package web is pogi's console: server-rendered HTML with htmx, mounted at /_pogi/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Favicon = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "image/svg+xml") w.Header().Set("Cache-Control", "max-age=86400") io.WriteString(w, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="8" fill="#ff8cc6"/><text x="16" y="23" font-size="20" text-anchor="middle" fill="#3d0a26" font-family="sans-serif" font-weight="700">p</text></svg>`) })
Favicon answers browsers' automatic /favicon.ico so it never reaches S3.
Functions ¶
func ServiceCount ¶ added in v0.2.0
func ServiceCount(running []core.ServiceStatus) int
ServiceCount is serviceCount for all three clouds, for the start banner, so the banner and the console show the same number.
Types ¶
Source Files
¶
- bulk.go
- catalog.go
- cli.go
- cost.go
- cost_api.go
- cost_prices.go
- crypto.go
- ddb_items.go
- explore.go
- flows.go
- form.go
- forms.go
- forms_aws.go
- forms_azure.go
- forms_gcp.go
- forms_special.go
- home.go
- iam.go
- iam_azure.go
- iam_gcp.go
- kinesis_recs.go
- kube.go
- logq.go
- map.go
- mime.go
- nav.go
- network.go
- notes.go
- pubsub_msgs.go
- query.go
- scope.go
- services.go
- sfn.go
- sql.go
- svcicons_table.go
- tasks.go
- tf.go
- tfdiagram.go
- tfflow.go
- tficons.go
- tfmodel.go
- web.go
Click to show internal directories.
Click to hide internal directories.