server

package
v0.0.0-...-56da1e2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterComponent

func RegisterComponent[S lib.Categorizable, T lib.Typeable]() []any

func RegisterControllerComponent

func RegisterControllerComponent[S lib.Categorizable, T lib.Typeable]() any

func RegisterRepositoryComponent

func RegisterRepositoryComponent[S lib.Categorizable, T lib.Typeable]() any

func RegisterServiceComponent

func RegisterServiceComponent[S lib.Categorizable, T lib.Typeable]() any

Types

type Instance

type Instance interface {
	Run()
	Register(i any)
	RegisterAll(i []any)
}

func NewLambdaAPI

func NewLambdaAPI() Instance

type LambdaAPI

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

func (*LambdaAPI) Register

func (s *LambdaAPI) Register(i any)

func (*LambdaAPI) RegisterAll

func (s *LambdaAPI) RegisterAll(i []any)

func (*LambdaAPI) Run

func (s *LambdaAPI) Run()

Jump to

Keyboard shortcuts

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