notify

package
v0.0.0-...-dac20d5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	Notify(uint64, []metapb.Notify, *rpcpb.Condition, ...[]byte) error
}

Notifier service notify

func NewQueueBasedNotifier

func NewQueueBasedNotifier(store storage.Storage) Notifier

NewQueueBasedNotifier create a notify based on raft queue

func NewQueueBasedNotifierWithGroup

func NewQueueBasedNotifierWithGroup(store storage.Storage, group metapb.Group) Notifier

NewQueueBasedNotifierWithGroup create a notify based on raft queue

Jump to

Keyboard shortcuts

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