utils

package
v3.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	WalExt            = ".wal"
	CommitLogFileName = "commitlog.id"
)

Variables

This section is empty.

Functions

func LoadIncrFiles

func LoadIncrFiles(srcDir string, commitLogId, lastLogId int64) ([]string, error)

LoadIncrFiles load incremental wal file and commitlog.id file

func ParseAddr

func ParseAddr(host string) (*nebula.HostAddr, error)

ParseAddr parse "xx.xx.xx.xx:xx" to nebula.HostAddr

func StringifyAddr

func StringifyAddr(addr *nebula.HostAddr) string

func StringifyService

func StringifyService(s *meta.ServiceInfo) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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