backend

package
v0.0.0-...-c2758d2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	proximo.AsyncSinkSourceFactory
	io.Closer
}

Backend is an extension of proximo.AsyncSinkSourceFactory that implements the broximo messaging layer logic.

func New

func New(c Config) (Backend, error)

New creates new Backend instance from the provided config.

type Config

type Config struct {
	Logger             *logrus.Logger
	BadgerDBPath       string
	BadgerMaxCacheSize int64
}

Config is a configuration of the backend layer.

Jump to

Keyboard shortcuts

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