models

package
v0.0.0-...-86c6960 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadStat

type LoadStat struct {
	CmdStat OpsStat `json:"commands"`
	TxnStat OpsStat `json:"transactions"`
}

func NewLoadStat

func NewLoadStat() *LoadStat

func (*LoadStat) GetError

func (ls *LoadStat) GetError() error

type OpsStat

type OpsStat struct {
	Success map[string]int     `json:"succeeded"`
	Fail    map[string]int     `json:"failed"`
	Docs    map[string]int     `json:"docs"`
	Errors  map[string][]error `json:"errors"`
}

Jump to

Keyboard shortcuts

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