modules

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package modules lists what the modules (internal/modules/<name>) give the core at startup: their Wire and their files - one entry per module here, besides its manifest in manifests.All() (TestEveryModuleListed checks both lists agree); a module from outside the engine gives the same with modulekit.Register, and its interface catalogs too (the engine's modules are translated by the downloaded languages).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assets

func Assets() map[string]fs.FS

Assets - every module's embedded files (templates/, static/) by name, for paths.SetModuleAssets.

func Catalog

func Catalog(name string) fs.FS

Catalog - a module's catalogs (nil - it has none).

func Catalogs

func Catalogs() []fs.FS

Catalogs - the catalogs of the modules that have them (those from outside the engine), for the translator's chain.

func Names

func Names() []string

Names - the listed modules (the engine's and those from outside it), sorted.

Types

type Wired

type Wired struct {
	Name string
	modulekit.Parts
}

Wired - a module's name and the Parts its Wire returned.

func Wire

func Wire(d modulekit.Deps) []Wired

Wire - every registered module (entity.Modules) wired from d, in the registry's order.

Directories

Path Synopsis
ent
Package ent - the action log module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the action log module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the action log module's own ent schema: the recorded actions and the module's settings.
Package schema - the action log module's own ent schema: the recorded actions and the module's settings.
manifest
Package manifest declares the action log module (its registry entry): who did what on the site - content deleted, a role's permissions changed, settings saved, sign-ins.
Package manifest declares the action log module (its registry entry): who did what on the site - content deleted, a role's permissions changed, settings saved, sign-ins.
Package complaints - the complaints module: signed-in visitors report a content item or a comment (a reason, a note), moderators decide in the queue (Content → Complaints); enough complaints of different visitors hide the item until they do.
Package complaints - the complaints module: signed-in visitors report a content item or a comment (a reason, a note), moderators decide in the queue (Content → Complaints); enough complaints of different visitors hide the item until they do.
ent
Package ent - the complaints module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the complaints module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the complaints module's own ent schema: its tables, apart from the core's (internal/infrastructure/ent/schema).
Package schema - the complaints module's own ent schema: its tables, apart from the core's (internal/infrastructure/ent/schema).
manifest
Package manifest declares the complaints module (its registry entry).
Package manifest declares the complaints module (its registry entry).
ent
Package ent - the error reports module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the error reports module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the error reports module's own ent schema: its tables, apart from the core's (internal/infrastructure/ent/schema).
Package schema - the error reports module's own ent schema: its tables, apart from the core's (internal/infrastructure/ent/schema).
manifest
Package manifest declares the error reports module (its registry entry).
Package manifest declares the error reports module (its registry entry).
ent
Package ent - the feeds module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the feeds module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the feeds module's own ent schema: its tables, apart from the core's.
Package schema - the feeds module's own ent schema: its tables, apart from the core's.
manifest
Package manifest declares the feeds module (its registry entry).
Package manifest declares the feeds module (its registry entry).
ent
Package ent - the forms module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the forms module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the forms module's ent schema, apart from the core's.
Package schema - the forms module's ent schema, apart from the core's.
manifest
Package manifest declares the forms module (its registry entry): a "form" content type whose items have their own elements and collect submissions.
Package manifest declares the forms module (its registry entry): a "form" content type whose items have their own elements and collect submissions.
ent
Package ent - the galleries module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the galleries module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the galleries module's own ent schema: its tables, apart from the core's.
Package schema - the galleries module's own ent schema: its tables, apart from the core's.
manifest
Package manifest declares the galleries module (its registry entry).
Package manifest declares the galleries module (its registry entry).
ent
Package ent - the languages module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the languages module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the languages module's own ent schema: which content items translate which, and the module's settings.
Package schema - the languages module's own ent schema: which content items translate which, and the module's settings.
manifest
Package manifest declares the languages module (its registry entry): the site's languages besides its default one, each at its own address prefix (/en/…), the language switcher and the pages' addresses in the other languages for search engines.
Package manifest declares the languages module (its registry entry): the site's languages besides its default one, each at its own address prefix (/en/…), the language switcher and the pages' addresses in the other languages for search engines.
Package manifests registers every module of the engine (its manifest: entity.Module and install steps), then those from outside it (modulekit.Register) - the one list of the modules the binary carries.
Package manifests registers every module of the engine (its manifest: entity.Module and install steps), then those from outside it (modulekit.Register) - the one list of the modules the binary carries.
ent
Package ent - the 404 log module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the 404 log module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the 404 log module's own ent schema: the paths asked for and not found, and the module's settings.
Package schema - the 404 log module's own ent schema: the paths asked for and not found, and the module's settings.
manifest
Package manifest declares the 404 log module (its registry entry): the paths visitors asked for and the site didn't find, with a redirect made from any of them in a click.
Package manifest declares the 404 log module (its registry entry): the paths visitors asked for and the site didn't find, with a redirect made from any of them in a click.
ent
Package ent - the polls module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the polls module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the polls module's own ent schema: its tables, apart from the core's.
Package schema - the polls module's own ent schema: its tables, apart from the core's.
manifest
Package manifest declares the polls module (its registry entry).
Package manifest declares the polls module (its registry entry).
Package privatemessages - the private messages module: conversations (threads) between users, their members and messages; the profile's messages tab, the thread and new message pages, the e-mail of a new message, the unread count in the user menu.
Package privatemessages - the private messages module: conversations (threads) between users, their members and messages; the profile's messages tab, the thread and new message pages, the e-mail of a new message, the unread count in the user menu.
ent
Package ent - the private messages module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the private messages module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the private messages module's own ent schema: its tables (pm_threads, pm_thread_members, pm_messages), apart from the core's.
Package schema - the private messages module's own ent schema: its tables (pm_threads, pm_thread_members, pm_messages), apart from the core's.
manifest
Package manifest declares the private messages module (its registry entry): conversations between users, the messages tab of the profile.
Package manifest declares the private messages module (its registry entry): conversations between users, the messages tab of the profile.
Package ratings - star ratings of content: a voter's vote for a content item, its average and count on the item's page (the node_rating block) and in Views (the module's sorts, filters and field).
Package ratings - star ratings of content: a voter's vote for a content item, its average and count on the item's page (the node_rating block) and in Views (the module's sorts, filters and field).
ent
Package ent - the ratings module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the ratings module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
manifest
Package manifest declares the ratings module (its registry entry).
Package manifest declares the ratings module (its registry entry).
Package subscriptions - the subscriptions module: users follow a content item's comments or a term's new content; what happens there becomes their notifications, on the site (the profile's Notifications tab, the user menu) and by e-mail (at once, a daily digest or never).
Package subscriptions - the subscriptions module: users follow a content item's comments or a term's new content; what happens there becomes their notifications, on the site (the profile's Notifications tab, the user menu) and by e-mail (at once, a daily digest or never).
ent
Package ent - the subscriptions module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the subscriptions module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the subscriptions module's own ent schema: its tables, apart from the core's.
Package schema - the subscriptions module's own ent schema: its tables, apart from the core's.
manifest
Package manifest declares the subscriptions module (its registry entry): subscriptions to content's comments and to terms, the notifications of them on the site and by e-mail.
Package manifest declares the subscriptions module (its registry entry): subscriptions to content's comments and to terms, the notifications of them on the site and by e-mail.
ent
Package ent - the video embed module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
Package ent - the video embed module's own ent schema (schema/), its generated client (generated/, go generate) and migration files (migrations/<dialect>/, scripts/migrations_gen.sh writes them), apart from the core's: the module's set of migrations (Schema).
ent/schema
Package schema - the video embed module's own ent schema: what the video services say about the videos linked in texts, and the module's settings.
Package schema - the video embed module's own ent schema: what the video services say about the videos linked in texts, and the module's settings.
manifest
Package manifest declares the video embed module (its registry entry): a link to a video on its own line in a text shows as the video's player.
Package manifest declares the video embed module (its registry entry): a link to a video on its own line in a text shows as the video's player.

Jump to

Keyboard shortcuts

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