luci: go.chromium.org/luci/logdog/client/butler/output/directory Index | Files

package directory

import "go.chromium.org/luci/logdog/client/butler/output/directory"

Index

Package Files

output.go stream.go

type Options Uses

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 Uses

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

New creates a new file Output from the specified Options.

Package directory imports 11 packages (graph) and is imported by 1 packages. Updated 2019-12-09. Refresh now. Tools for package owners.