Documentation
¶
Index ¶
- Variables
- type CoreModule
- func (*CoreModule) Category() modules.ModuleCategory
- func (*CoreModule) Deps() []string
- func (*CoreModule) HasUi() bool
- func (*CoreModule) Init() error
- func (*CoreModule) IsInternal() bool
- func (*CoreModule) LabelKey() string
- func (*CoreModule) ModelPrefixes() []string
- func (*CoreModule) Name() string
- func (*CoreModule) RegisterModels() error
- func (*CoreModule) Version() semver.SemVer
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) HasUi ¶
func (*CoreModule) HasUi() bool
func (*CoreModule) IsInternal ¶
func (*CoreModule) IsInternal() bool
IsInternal implements InCodeModule.
func (*CoreModule) ModelPrefixes ¶
func (*CoreModule) ModelPrefixes() []string
ModelPrefixes implements DynamicModule.
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. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.