random

package
v0.0.0-...-d3bc976 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeSeed

func InitializeSeed()

Types

type Source

type Source struct {
	io.Reader
}

func (Source) Int63

func (s Source) Int63() int64

func (Source) Int64

func (s Source) Int64() int64

func (Source) Seed

func (s Source) Seed(int64)

func (Source) Uint64

func (s Source) Uint64() uint64

type SyncReader

type SyncReader struct {
	io.Reader
	sync.Mutex
}

func (*SyncReader) Read

func (r *SyncReader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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