Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2026 Changes in this version + var ErrInvalidComponent = errors.New("helix: invalid component") + var ErrScanRequiresComponents = errors.New("helix: scan requires runtime components") + func GetBean[T any](app *TestApp) T + func RegisterWebSetup(fn func() error) + func RegisterWireSetup(fn func(*core.Container) error) + func Run(opts ...App) error + type App struct + Components []any + Logger *slog.Logger + Mode RunMode + Scan []string + ShutdownTimeout time.Duration + Starters []starter.Entry + type Component struct + type ConfigReloadable = config.Reloadable + type Controller struct + type ErrorHandler struct + type NotFoundError struct + Message string + func (e NotFoundError) Error() string + func (e NotFoundError) ErrorCode() string + func (e NotFoundError) ErrorField() string + func (e NotFoundError) ErrorType() string + func (e NotFoundError) StatusCode() int + type Repository struct + type RunMode string + const ModeReflect + const ModeWire + type SecurityConfigurer struct + type Service struct + type TestApp = testutil.App + func NewTestApp(t testing.TB, opts ...TestOption) *TestApp + type TestOption = testutil.Option + func MockBean[T any](impl T) TestOption + func TestComponents(components ...any) TestOption + func TestConfigDefaults(values map[string]any) TestOption + func TestConfigPaths(paths ...string) TestOption + func TestContainerOptions(opts ...core.Option) TestOption + type ValidationError struct + Field string + Message string + func (e ValidationError) Error() string + func (e ValidationError) ErrorCode() string + func (e ValidationError) ErrorField() string + func (e ValidationError) ErrorType() string + func (e ValidationError) StatusCode() int