Documentation
¶
Index ¶
- func CopyPrivateToPublic(source, destination any)
- type ControllerMethod
- type ControllerMethods
- type DefaultAppProvider
- type FiberAppConfiguration
- type FiberAppServerConfig
- type FiberControllerBeamProvider
- type FiberControllerConfig
- type FiberListenerConfiguration
- type FiberServerConfiguration
- type FiberServersConfigurationProperties
- func (this *FiberServersConfigurationProperties) Address(name string) string
- func (this *FiberServersConfigurationProperties) Config(name string) fiber.Config
- func (this *FiberServersConfigurationProperties) Exists(name string) bool
- func (this *FiberServersConfigurationProperties) Listener(name string) fiber.ListenConfig
- type RequestMappingMethod
- type RequestMappingMethods
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 ¶
func (this FiberListenerConfiguration) Config() fiber.ListenConfig
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 (this *FiberServersConfigurationProperties) Address(name string) string
func (*FiberServersConfigurationProperties) Config ¶
func (this *FiberServersConfigurationProperties) Config(name string) fiber.Config
func (*FiberServersConfigurationProperties) Exists ¶
func (this *FiberServersConfigurationProperties) Exists(name string) bool
func (*FiberServersConfigurationProperties) Listener ¶
func (this *FiberServersConfigurationProperties) Listener(name string) fiber.ListenConfig
type RequestMappingMethod ¶
type RequestMappingMethod = Enum[RequestMappingMethods]
type RequestMappingMethods ¶
type RequestMappingMethods struct {
GET,
HEAD,
POST,
PUT,
PATCH,
DELETE,
CONNECT,
OPTIONS,
TRACE,
USE,
ALL Enum[RequestMappingMethods]
}
Click to show internal directories.
Click to hide internal directories.