module

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	contracts.Application
	// contains filtered or unexported fields
}

func (*Module) App

func (m *Module) App() contracts.Application

func (*Module) Name

func (m *Module) Name() string

type Provider

type Provider[T any] func(mod contracts.Module) (T, error)

type Service

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

func NewService

func NewService(application contracts.Application, logger contracts.LoggingService) *Service

func (*Service) Register

func (s *Service) Register(name string, entrypoint contracts.ModuleEntrypoint)

Jump to

Keyboard shortcuts

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