system

package
v0.0.0-...-65546df Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Module

type Module struct {
	// api
	AuthAPI   api.AuthAPI
	UserAPI   api.UserAPI
	HealthAPI api.HealthAPI

	// handler
	AuthHandler   handler.AuthHandler
	CodeHandler   handler.CaptchaHandler
	EmailHandler  handler.EmailHandler
	UserHandler   handler.UserHandler
	HealthHandler handler.HealthHandler

	// repo
	UserRepo repo.UserRepo
}

Module is representation of system

func (Module) Close

func (m Module) Close() error

func (Module) Init

func (m Module) Init(injector types.Injector) error

func (Module) Name

func (m Module) Name() string

func (Module) RegisterRouter

func (m Module) RegisterRouter(injector types.Injector)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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