controlcenter

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 7 Imported by: 0 modules, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

Module implements the event system using Watermill

func New

func New(app coreApp) *Module

New creates a new event module

func (*Module) Configure

func (m *Module) Configure(config any) error

Configure implements module.Module.

func (*Module) Dependencies

func (m *Module) Dependencies() []string

Dependencies implements module.Module.

func (*Module) GetMigrationSources

func (m *Module) GetMigrationSources(projectRoot string) []migration_runner.Source

GetMigrationSources implements module.Module.

func (*Module) Initialize

func (m *Module) Initialize(
	ctx context.Context,
	db *gorm.DB,
	router *gin.Engine,
) error

Initialize implements core.Module interface

func (*Module) MigrationsDir

func (m *Module) MigrationsDir() string

MigrationsDir implements module.Module.

func (*Module) Name

func (m *Module) Name() string

Name returns the module name

func (*Module) Namespace

func (m *Module) Namespace() module.ModuleNamespace

Namespace implements module.Module.

func (*Module) NewConfig

func (m *Module) NewConfig() any

NewConfig implements module.Module.

func (*Module) ProvidesMigrations

func (m *Module) ProvidesMigrations() bool

ProvidesMigrations implements module.Module.

func (*Module) Shutdown

func (m *Module) Shutdown(ctx context.Context) error

Shutdown implements core.Module interface

func (*Module) Version

func (m *Module) Version() string

Version implements module.Module.

Jump to

Keyboard shortcuts

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