random

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-2.0 Imports: 4 Imported by: 26

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