journal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

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

func NewListener

func NewListener(config *ListenerConfig) (*Listener, error)

func (*Listener) RunAsSecondary

func (l *Listener) RunAsSecondary() error

type ListenerConfig

type ListenerConfig struct {
	NodeID      string
	Elector     *election.Elector
	KafkaServer string
	KafkaTopic  string
	FileManager *filemgr.FileManager
	DB          *gorm.DB
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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