package
1.7.0-dev-20191021
Repository: https://github.com/google/gapid.git
Documentation: pkg.go.dev

# Functions

NewCaptureLog returns a Transformer that will log all commands passed through it to the capture file at path.
NewCmdAndIDList takes a mix of CmdWithIDs and Cmds with an ID property and returns a CmdAndIDList.
NewEarlyTerminator returns a Terminator that will consume all commands of the given API type that come after the last command passed to Add.
NewFileLog returns a Transformer that will log all commands passed through it to the text file at path.
Transform is a helper for building simple Transformers that are implemented by function f.

# Structs

CmdAndID is a pair of api.Cmd and api.CmdID.
Injector is an implementation of Transformer that can inject commands into the stream.
Recorder is a Writer that record all commands that pass through it.
Tasks is a Transformer that calls functions when the specified command is reached or passed.
TransformWriter implements the Writer interface, transforming each command that is written with T, before writing the result to O.

# Interfaces

CmdWithID is a api.Cmd that embeds its own ID.
Terminator is an Transformer that prevents commands passing-through it after a certain point in the stream.
Transformer is the interface that wraps the basic Transform method.
Writer is the interface which consumes the output of an Transformer.

# Type aliases

CmdAndIDList is a list of CmdAndIDs.
Transforms is a list of Transformer objects.