random

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	//Len how many random bytes will contain []byte
	Len int
}

Options to customize Ramdom generator

type Random

type Random struct {
	// contains filtered or unexported fields
}

Random generate random []byte slices

func NewRandom

func NewRandom(opts Options) *Random

NewRandom create a new Random worker that generate random byte slices

func (*Random) Process

func (r *Random) Process(ctx context.Context, args selina.ProcessArgs) error

Process implements Worker interface

Jump to

Keyboard shortcuts

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