core

package
v0.0.0-...-d09923a Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: LGPL-2.1 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModuleSingleton modules.InCodeModule = &CoreModule{}

ModuleSingleton is the exported symbol that will be looked up by the plugin loader

Functions

This section is empty.

Types

type CoreModule

type CoreModule struct {
}

func (*CoreModule) Category

func (*CoreModule) Category() modules.ModuleCategory

func (*CoreModule) Deps

func (*CoreModule) Deps() []string

Deps implements NikkiModule.

func (*CoreModule) HasUi

func (*CoreModule) HasUi() bool

func (*CoreModule) Init

func (*CoreModule) Init() error

Init implements NikkiModule.

func (*CoreModule) IsInternal

func (*CoreModule) IsInternal() bool

IsInternal implements InCodeModule.

func (*CoreModule) LabelKey

func (*CoreModule) LabelKey() string

LabelKey implements NikkiModule.

func (*CoreModule) ModelPrefixes

func (*CoreModule) ModelPrefixes() []string

ModelPrefixes implements DynamicModule.

func (*CoreModule) Name

func (*CoreModule) Name() string

Name implements NikkiModule.

func (*CoreModule) RegisterModels

func (*CoreModule) RegisterModels() error

RegisterModels implements DynamicModule.

This runs in the model-registration phase, which completes for every module before any module's Init(). Registering the base schemas here is what makes them resolvable by name when other modules parse JSON models that extend them.

func (*CoreModule) Version

func (*CoreModule) Version() semver.SemVer

Version implements NikkiModule.

Directories

Path Synopsis
Package audit is the core port through which the platform records who did what to which record.
Package audit is the core port through which the platform records who did what to which record.
httpclienttest
Package httpclienttest holds test helpers for code that calls out through the shared HTTP client: an in-memory tracer, a traced request context, and a server that records headers.
Package httpclienttest holds test helpers for code that calls out through the shared HTTP client: an in-memory tracer, a traced request context, and a server that records headers.
app
Package orglifecycle lets every module write its defaults for a new organization and remove everything it holds for a deleted one.
Package orglifecycle lets every module write its defaults for a new organization and remove everything it holds for a deleted one.
defaults
Package defaults reads a module's org defaults: one `<schema_name>.json` file per resource, holding an array of rows that the module writes through its domain services.
Package defaults reads a module's org defaults: one `<schema_name>.json` file per resource, holding an array of rows that the module writes through its domain services.
Package resourceaccess is the core port through which a module asks whether the caller may read a record of another module's resource, without importing that module.
Package resourceaccess is the core port through which a module asks whether the caller may read a record of another module's resource, without importing that module.
Package settings is the shared contract every feature module writes its settings through.
Package settings is the shared contract every feature module writes its settings through.
Package storage is the core port through which any module tells the storage module which files its records use.
Package storage is the core port through which any module tells the storage module which files its records use.
tag
Package usagecheck asks the modules that reference a resource whether it is still in use, before the module owning it deletes it.
Package usagecheck asks the modules that reference a resource whether it is still in use, before the module owning it deletes it.

Jump to

Keyboard shortcuts

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