atomic

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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 Bool

type Bool int32

Bool is an atomic boolean type.

func (*Bool) Get

func (b *Bool) Get() bool

Get can be used to retrieve the set value.

func (*Bool) Set

func (b *Bool) Set(yes bool)

Set can be used to set the atomic bool to a certain value.

Jump to

Keyboard shortcuts

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