blobs: github.com/Xercoy/blobs Index | Files | Directories

package blobs

import "github.com/Xercoy/blobs"

Index

Package Files

runner.go validation.go

func Mk Uses

func Mk(r *Runner) error

Mk receives an instance of a Runner and creates blobs based on its attributes.

type Runner Uses

type Runner struct {
    Src       io.Reader
    Dest      string
    Amount    int
    Unit      string
    FormatStr string
    Content   []byte
    Random    bool
    InputType string
}

Runner contains information related to creating blobs.

func NewRunner Uses

func NewRunner(src io.Reader, dst, unit, fmtStr string, amnt int, random bool, inputType string) *Runner

NewRunner returns a pointer to a Runner and initializes most of the fields with the given args.

Directories

PathSynopsis
cmd

Package blobs imports 11 packages (graph). Updated 2016-07-15. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).