nosql

package
v0.0.0-...-d376067 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info

func Info(ip, pw string, db int) (string, error)

Types

type Status

type Status struct {
	Host            string                 `bson:"host"`
	Version         string                 `bson:"version"`
	Process         string                 `bson:"process"`
	Pid             int64                  `bson:"pid"`
	Uptime          int64                  `bson:"uptime"`
	UptimeMillis    int64                  `bson:"uptimeMillis"`
	UptimeEstimate  int64                  `bson:"uptimeEstimate"`
	Asserts         map[string]int64       `bson:"asserts"`
	ShardCursorType map[string]interface{} `bson:"shardCursorType"`
	StorageEngine   map[string]string      `bson:"storageEngine"`
}

func ServerStatus

func ServerStatus(ip string) (*Status, error)

Jump to

Keyboard shortcuts

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