commonm

package
v0.0.0-...-a532a67 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: LGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModule

func NewModule() app.Module

NewModule create new command module instance

Types

type Module

type Module struct{}

Module is command unit

func (*Module) InitDependencies

func (m *Module) InitDependencies(a app.App) (err error)

InitDependencies is init callback to inject dependencies inside module

func (*Module) RegisterDependencies

func (m *Module) RegisterDependencies(a app.App) error

RegisterDependencies is init callback to register module dependencies

func (*Module) Run

func (m *Module) Run(a app.App) (err error)

Run start command line loop

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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