Documentation ¶
Overview ¶
Package componenthelper assists with the creation of a new component.Component.
Index ¶
- func New(options ...Option) component.Componentdeprecated
- type Optiondeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option
deprecated
added in
v0.24.0
type Option func(*baseComponent)
Deprecated: [v0.48.0] will be removed.
func WithShutdown
deprecated
added in
v0.24.0
func WithShutdown(shutdownFunc component.ShutdownFunc) Option
Deprecated: [v0.48.0] embed component.ShutdownFunc directly.
Click to show internal directories.
Click to hide internal directories.