util

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomicBool

type AtomicBool interface {
	Set(bool) bool
	Get() bool
}

func NewAtomicBool

func NewAtomicBool(val bool) AtomicBool

type ScheduledExecutor

type ScheduledExecutor interface {
	Start()
	Stop()
}

func NewScheduledExecutor

func NewScheduledExecutor(period time.Duration, cb func()) ScheduledExecutor

Jump to

Keyboard shortcuts

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