global

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGlobalHeight

func GetGlobalHeight() int64

GetGlobalHeight gets lastCommittedHeight safely.

func SetGlobalHeight

func SetGlobalHeight(height int64)

SetGlobalHeight sets lastCommittedHeight safely.

Types

type EmptyManager

type EmptyManager struct{}

func (EmptyManager) GetSendEnabled

func (e EmptyManager) GetSendEnabled() bool

func (EmptyManager) SetSendEnabled

func (e EmptyManager) SetSendEnabled(enable bool)

type ModuleParamsManager

type ModuleParamsManager interface {
	SetSendEnabled(enable bool)
	GetSendEnabled() bool
}

Manager sets module params to watchDB and avoids golang import cycle

Jump to

Keyboard shortcuts

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