synchronizer

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

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

Go to latest
Published: Feb 8, 2021 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscriber

type Subscriber func(key string, value interface{}, createdAt time.Time, option gocache.Option)

type Synchronizer

type Synchronizer interface {
	Start(ctx context.Context) error
	Stop() error
	AddSubscriber(subscriber *Subscriber)
	RemoveSubscriber(subscriber *Subscriber)
	Publish(ctx context.Context, key string, value interface{}, createdAt time.Time, option gocache.Option) error
}

Directories

Path Synopsis
cloudpubsub module
redis module

Jump to

Keyboard shortcuts

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