CommonDatabaseModels

package
v0.0.0-...-e608a80 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlBlock

type ControlBlock struct {
	ShardAddr      string
	ReplicasetName string
	LastTimestamp  primitive.Timestamp
	Call           uint8
}

type LastOperation

type LastOperation map[string]primitive.Timestamp

type OplogMessage

type OplogMessage struct {
	ID         string
	Operation  string
	Collection string
	Source     string
	Timestamp  primitive.Timestamp
	Data       map[string]interface{}
	Retry      int
}

func (OplogMessage) IsAnyNil

func (oplogMessage OplogMessage) IsAnyNil() bool

Jump to

Keyboard shortcuts

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