controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyPrivateToPublic

func CopyPrivateToPublic(source, destination any)

Types

type ControllerMethod

type ControllerMethod struct {
	Enum[ControllerMethods]
	// contains filtered or unexported fields
}

func (ControllerMethod) FromMethod

func (this ControllerMethod) FromMethod(method *reflect.Method) (*ControllerMethod, bool)

func (*ControllerMethod) Handler

func (this *ControllerMethod) Handler(defaults []reflect.Value, instance any) any

func (*ControllerMethod) Method

func (this *ControllerMethod) Method() *reflect.Method

type ControllerMethods

type ControllerMethods struct {
	CANONICAL,
	CANONICAL_VOID,
	EXPR,
	EXPR_VOID,
	EXPR_NT,
	EXPR_NT_VOID,
	EXPR_NT_NO,
	EXPR_NT_NO_VOID,
	EXPR_NT_ERR,
	EXPR_NT_ERR_VOID,
	EXPR_NT_ERR_NO,
	EXPR_NT_ERR_NO_VOID,
	HTTP_HANDLER_FUNC,
	HTTP_HANDLER,
	HTTP_FUNC,
	FASTHTTP,
	FASTHTTP_ERR Enum[ControllerMethods]
}

type DefaultAppProvider

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

func (*DefaultAppProvider) Default

func (this *DefaultAppProvider) Default() *fiber.App

func (*DefaultAppProvider) PostConstruct

func (this *DefaultAppProvider) PostConstruct() Error

func (*DefaultAppProvider) Provide

func (this *DefaultAppProvider) Provide(name string) *fiber.App

func (*DefaultAppProvider) Run

func (this *DefaultAppProvider) Run(wg *sync.WaitGroup)

func (*DefaultAppProvider) Shutdown

func (this *DefaultAppProvider) Shutdown()

type FiberAppConfiguration

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

func (FiberAppConfiguration) Config

func (this FiberAppConfiguration) Config() fiber.Config

TODO: simplify this

type FiberAppServerConfig

type FiberAppServerConfig struct {
	Component
	// contains filtered or unexported fields
}

func (*FiberAppServerConfig) Address

func (this *FiberAppServerConfig) Address(name string) string

func (*FiberAppServerConfig) Config

func (this *FiberAppServerConfig) Config(name string) fiber.Config

func (*FiberAppServerConfig) Exists

func (this *FiberAppServerConfig) Exists(name string) bool

func (*FiberAppServerConfig) Listener

func (this *FiberAppServerConfig) Listener(name string) fiber.ListenConfig

type FiberControllerBeamProvider

type FiberControllerBeamProvider struct {
	FiberController
}

func (*FiberControllerBeamProvider) ProvideBeam

func (this *FiberControllerBeamProvider) ProvideBeam(instance reflect.Type, container InitializingContext) (parent Beam, controller []Beam)

ProvideBeam implements [core.BeamProvider].

type FiberControllerConfig

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

func (FiberControllerConfig) New

func (this FiberControllerConfig) New(parent Beam, container InitializingContext) *FiberControllerConfig

func (*FiberControllerConfig) PostConstruct

func (this *FiberControllerConfig) PostConstruct() Error

type FiberListenerConfiguration

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

func (FiberListenerConfiguration) Config

type FiberServerConfiguration

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

type FiberServersConfigurationProperties

type FiberServersConfigurationProperties struct {
	ConfigurationProperties `Name:"rays.fiber"`
	// contains filtered or unexported fields
}

func (*FiberServersConfigurationProperties) Address

func (*FiberServersConfigurationProperties) Config

func (*FiberServersConfigurationProperties) Exists

func (this *FiberServersConfigurationProperties) Exists(name string) bool

func (*FiberServersConfigurationProperties) Listener

type RequestMappingMethod

type RequestMappingMethod = Enum[RequestMappingMethods]

type RequestMappingMethods

type RequestMappingMethods struct {
	GET,
	HEAD,
	POST,
	PUT,
	PATCH,
	DELETE,
	CONNECT,
	OPTIONS,
	TRACE,
	USE,
	ALL Enum[RequestMappingMethods]
}

Jump to

Keyboard shortcuts

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