home

package
v0.0.0-...-4c003e4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 19 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package home is OhMyServer's own module: an overview across every other module. It follows the module contract like any module, reads each module's state through its public Go API, and the modules know nothing about it. Being part of the shell, its UI reuses the shell's Preact and components instead of bundling its own.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

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

Home is the overview module.

func New

func New(src Sources) *Home

New returns the overview module.

func (*Home) Assets

func (h *Home) Assets() fs.FS

Assets returns the overview UI.

func (*Home) Handler

func (h *Home) Handler() http.Handler

Handler serves the overview API.

type Sources

type Sources struct {
	Docker  *dockerweb.Docker
	Certs   *acmeapi.Service
	Gateway *yabber.Server
	DNS     *dnsweb.DNS
	Forward *forwardapi.Service
	SSH     *sshapi.Service
	Cron    *cronapi.Service
	Monitor *monitorapi.Service
	CI      *ciapi.Service
	// Notifications says what is wrong right now.
	Notifications *notifyapi.Service
}

Sources are the modules the overview reports on. Nil ones are omitted.

Jump to

Keyboard shortcuts

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