randproxy

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package randproxy is a package that provides a rand proxy for the app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rand

type Rand interface {
	Intn(n int) int
}

Rand is an interface for rand.

func New

func New() Rand

New is a constructor for RandProxy.

type RandProxy

type RandProxy struct{}

RandProxy is a struct that implements Rand.

func (*RandProxy) Intn

func (*RandProxy) Intn(n int) int

Intn is a proxy for rand.Intn.

Jump to

Keyboard shortcuts

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