gotracker

package
v0.0.0-...-e4b44d9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoFunc

type GoFunc func(chan struct{})

type GoTracker

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

func New

func New(opts ...Option) *GoTracker

func (*GoTracker) Go

func (gt *GoTracker) Go(name string, fn GoFunc)

func (*GoTracker) Stop

func (gt *GoTracker) Stop()

func (*GoTracker) Wait

func (gt *GoTracker) Wait()

type Option

type Option func(*GoTracker)

func WithLogger

func WithLogger(logger *logger.Logger) Option

func WithName

func WithName(name string) Option

Jump to

Keyboard shortcuts

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