message

package
v0.0.0-...-43c0f45 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	Principal string
	IP        string
}

type BaseCommand

type BaseCommand struct {
	Counters    map[string]int64
	Duration    int64
	Exception   string
	Namespace   string
	PlanSummary []PlanSummary
}

func BaseFromMessage

func BaseFromMessage(msg Message) (*BaseCommand, bool)

type BuildInfo

type BuildInfo struct {
	BuildInfo string
}

type CRUD

type CRUD struct {
	Message

	Comment  string
	CursorId int64
	Filter   Filter
	N        int64
	Project  Project
	Sort     Sort
	Update   Update
}

type Command

type Command struct {
	BaseCommand

	Agent    string
	Command  string
	Locks    map[string]interface{}
	Payload  Payload
	Protocol string
	Storage  map[string]interface{}
}

func MakeCommand

func MakeCommand() Command

type CommandLegacy

type CommandLegacy struct {
	BaseCommand

	Command string
	Locks   map[string]int64
	Payload Payload
}

func MakeCommandLegacy

func MakeCommandLegacy() CommandLegacy

type Connection

type Connection struct {
	Address net.IP
	Conn    int
	Port    uint16
	Opened  bool

	Exception string
}

type ConnectionMeta

type ConnectionMeta struct {
	Connection
	Meta interface{}
}

type Empty

type Empty struct{}

type Filter

type Filter map[string]interface{}

type Journal

type Journal string

type Listening

type Listening struct{}

type Message

type Message interface {
}

type OpenSSL

type OpenSSL struct {
	String string
}

type Operation

type Operation struct {
	BaseCommand

	Agent     string
	Locks     map[string]interface{}
	Operation string
	Payload   Payload
	Storage   map[string]interface{}
}

remove, update, query, insert

func MakeOperation

func MakeOperation() Operation

type OperationLegacy

type OperationLegacy struct {
	BaseCommand

	Locks     map[string]int64
	Operation string
	Payload   Payload
}

func MakeOperationLegacy

func MakeOperationLegacy() OperationLegacy

type Payload

type Payload map[string]interface{}

func PayloadFromMessage

func PayloadFromMessage(msg Message) (*Payload, bool)

type PlanSummary

type PlanSummary struct {
	Type string
	Key  interface{}
}

type Project

type Project map[string]interface{}

type Shutdown

type Shutdown struct {
	String string
}

type Signal

type Signal struct {
	String string
}

type Sort

type Sort map[string]interface{}

type StartupInfo

type StartupInfo struct {
	DbPath   string
	Hostname string
	Pid      int
	Port     int
}

type StartupInfoLegacy

type StartupInfoLegacy struct {
	StartupInfo
	Version
}

type StartupOptions

type StartupOptions struct {
	String  string
	Options interface{}
}

type Update

type Update map[string]interface{}

type Version

type Version struct {
	Binary   string
	Major    int
	Minor    int
	Revision int
}

func (Version) String

func (m Version) String() string

type WiredTigerConfig

type WiredTigerConfig struct {
	String string
}

Jump to

Keyboard shortcuts

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