testutil

package
v0.0.0-...-c310c2d Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConf

func ReadConf() (conf.App, error)

func ReadDBConf

func ReadDBConf() (conf.DB, error)

ReadDBConf returns the test configuration

Types

type Round

type Round struct {
	// contains filtered or unexported fields
}

func NewRound

func NewRound() *Round

func (*Round) Reset

func (r *Round) Reset()

func (*Round) Round

func (r *Round) Round() int64

type Timer

type Timer struct {
	// contains filtered or unexported fields
}

Timer is helper to calculate cost-time

func NewTimer

func NewTimer() *Timer

func (*Timer) Reset

func (t *Timer) Reset()

func (*Timer) Start

func (t *Timer) Start()

func (*Timer) Stop

func (t *Timer) Stop() time.Duration

Jump to

Keyboard shortcuts

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