benchmark

package
v0.0.0-...-489d913 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Provide(
	NewCreateApi,
)

Functions

This section is empty.

Types

type Api

type Api struct {
	ID      string
	Name    string
	Latency int64
}

func NewApi

func NewApi(
	name string,
	latency int64,
) *Api

type CreateApi

type CreateApi struct {
}

func NewCreateApi

func NewCreateApi() *CreateApi

func (*CreateApi) Execute

func (c *CreateApi) Execute(name string, latency int64) (*Api, error)

Jump to

Keyboard shortcuts

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