task

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "task_entry"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Broker string `yaml:"broker"`
}

type Entry

type Entry interface {
	entry.Abc
	Register(topic string, handler Handler, opts ...*Opts)
}

func New

func New(name string) Entry

type Handler

type Handler = broker.Handler

type Opts

type Opts = broker.SubOpts

Jump to

Keyboard shortcuts

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