random

package
v0.6.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-2.0 Imports: 4 Imported by: 28

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