benchmark

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Continue

func Continue()

func Register

func Register(mux *http.ServeMux)

func SetEndHook

func SetEndHook(f func(context.Context, *Benchmark))

func Start

func Start()

Types

type Benchmark

type Benchmark struct {
	Start time.Time `json:"start"`
	End   time.Time `json:"end"`
	Score int64     `json:"score"`
}

Jump to

Keyboard shortcuts

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