random

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeRequest

func MakeRequest(
	ctx context.Context,
	method string,
	url string,
	body io.Reader,
) (
	[]byte,
	error,
)

Types

type RandomGenerator

type RandomGenerator interface {
	GetRandomNumber(ctx context.Context) int
}

func NewRandomGenerator

func NewRandomGenerator(n int, seed int64, logger *zap.Logger) RandomGenerator

Jump to

Keyboard shortcuts

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