global

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitLock added in v1.7.9

func CommitLock()

func CommitUnlock added in v1.7.9

func CommitUnlock()

func GetGlobalHeight

func GetGlobalHeight() int64

GetGlobalHeight gets lastCommittedHeight safely.

func SetGlobalHeight

func SetGlobalHeight(height int64)

SetGlobalHeight sets lastCommittedHeight safely.

func WaitCommit added in v1.7.9

func WaitCommit()

Types

type EmptyManager added in v1.6.2

type EmptyManager struct{}

func (EmptyManager) GetSendEnabled added in v1.6.2

func (e EmptyManager) GetSendEnabled() bool

func (EmptyManager) SetSendEnabled added in v1.6.2

func (e EmptyManager) SetSendEnabled(enable bool)

type ModuleParamsManager added in v1.6.2

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