eventclient

package
v0.0.0-...-be0592b Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventWithHeader

func NewEventWithHeader(header http.Header) *metadata.EventInst

Types

type Client

type Client interface {
	Push(context.Context, ...*metadata.EventInst) error
}

type ClientViaRedis

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

func NewClientViaRedis

func NewClientViaRedis(cache *redis.Client, rdb dal.RDB) *ClientViaRedis

func (*ClientViaRedis) Push

func (c *ClientViaRedis) Push(ctx context.Context, events ...*metadata.EventInst) error

Jump to

Keyboard shortcuts

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