package
Version:
v0.68.1
Opens a new window with list of versions in this module.
Published: Mar 25, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package fake implements a fake button.
func NewButton(
ctx context.Context, deps resource.Dependencies, conf resource.Config, logger logging.Logger,
) (button.Button, error)
NewButton instantiates a new button of the fake model type.
type Button struct {
resource.Named
resource.TriviallyCloseable
resource.AlwaysRebuild
}
Button is a fake button that logs when it is pressed.
func (b *Button) Push(ctx context.Context, extra map[string]interface{}) error
Push logs the push.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.