monitor

package
v0.0.0-...-3dd0aef Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMonitorTask

func NewMonitorTask(conn redis.Conn, topics []string, callback func(channel string, data []byte) error) worker.Task

NewMonitorTask

Types

type Monitor

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

Monitor :nodoc:

func (*Monitor) Do

func (t *Monitor) Do(ctx context.Context) error

Do run monitor task

Jump to

Keyboard shortcuts

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