componenthelper

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package componenthelper assists with the creation of a new component.Component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New deprecated added in v0.24.0

func New(options ...Option) component.Component

Deprecated: [v0.48.0] embed component.StartFunc and component.ShutdownFunc directly.

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.

func WithStart deprecated added in v0.24.0

func WithStart(startFunc component.StartFunc) Option

Deprecated: [v0.48.0] embed component.StartFunc directly.

Jump to

Keyboard shortcuts

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