etcd

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

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package etcd is broker use etcd

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, conf *config.Config) (iface.Broker, error)

New ..

Types

type Delivery

type Delivery interface {
	Ack()
	Nack()
	Body() []byte
	Signature() *tasks.Signature
}

Delivery task delivery with ack and nack

func NewDelivery

func NewDelivery(ctx context.Context, client *clientv3.Client, key string, node string) (Delivery, error)

NewDelivery create the task delivery

Jump to

Keyboard shortcuts

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