register

package
v0.0.0-...-7064c7c Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Signature   string
	Description string
	Args        string
}

type CommandRegister

type CommandRegister map[string]interface{}

type ControllerRegister

type ControllerRegister []ControllerRegisterItem

type ControllerRegisterItem

type ControllerRegisterItem struct {
	Controller interface{}
	Modules    []DIModule
}

type DIModule

type DIModule struct {
	Provides []interface{}
	Name     string
}

type Group

type Group struct {
	Name       string
	Prefix     string
	Routes     []Route
	Middleware []Middleware
}

type HTTPRouter

type HTTPRouter struct {
	Route  []Route
	Groups []Group
}

type Middleware

type Middleware interface {
	Handle(next http.Handler) http.Handler
	GetName() string
	GetDescription() string
}

type MiddlewareRegister

type MiddlewareRegister []interface{}

type ModelRegister

type ModelRegister []interface{}

type Route

type Route struct {
	Name        string
	Path        string
	Action      string
	Method      string
	Description string
	Validation  interface{}
	Middleware  []Middleware
}

type ServiceRegister

type ServiceRegister []interface{}

Jump to

Keyboard shortcuts

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