position

package
v0.0.0-...-f553f25 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EVENTIDENTITY_SEGMENT = 3
	EVENTIDENTITY_SPLIT   = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryPosition

type EntryPosition struct {
	TimePosition
	Included    bool
	JournalName string
	Position    int64
	ServerId    int64
}

func NewEntryPosition

func NewEntryPosition(journalName string, position int64, timestamp int64, serverId int64, Included bool) *EntryPosition

type LogIdentity

type LogIdentity struct {
	SourceAddress string
	SlaveId       int64
}

type LogPosition

type LogPosition struct {
	Identity LogIdentity
	Postion  EntryPosition
}

type MetaqPosition

type MetaqPosition struct {
	Topic    string
	MsgNewId string
	Offset   int64
}

type Position

type Position interface {
}

type TimePosition

type TimePosition struct {
	Timestamp int64
}

func NewTimePosition

func NewTimePosition(timestamp int64) *TimePosition

Jump to

Keyboard shortcuts

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