directory

package
v0.0.0-...-8be5f70 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// Path is the output base path.
	//
	// All opened streams will be written to disk relative to this directory.
	//
	// All stream metadata will be written to 'path/of/stream/.meta.name' as JSON.
	//
	// Datagram streams will be written as 'path/of/stream/.N.name' where N is the
	// index of the datagram in the stream (i.e. 0 is the first datagram, etc.)
	Path string
}

Options should be used to configure and make a directory Output (using the .New() method).

func (Options) New

func (opt Options) New(c context.Context) output.Output

New creates a new file Output from the specified Options.

Jump to

Keyboard shortcuts

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