switchs

package
v1.2.85 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Switch

type Switch struct {
	// contains filtered or unexported fields
}

func (*Switch) Confirm

func (s *Switch) Confirm()

func (*Switch) IsOff

func (s *Switch) IsOff() (ok bool, confirmed bool)

func (*Switch) IsOn

func (s *Switch) IsOn() (ok bool, confirmed bool)

func (*Switch) Off

func (s *Switch) Off()

func (*Switch) On

func (s *Switch) On()

Jump to

Keyboard shortcuts

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