Add windows apply code

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2019-08-05 15:05:22 +00:00
parent f867401c69
commit 134d3c8159
3 changed files with 33 additions and 31 deletions

View File

@@ -188,9 +188,7 @@ func BinaryHandler(id, returnsMediaType string, mediaTypes []string, path string
}
}
const (
mediaTypeEnvVar = "STEAM_PROCESSOR_MEDIATYPE"
)
const mediaTypeEnvVar = "STREAM_PROCESSOR_MEDIATYPE"
// NewBinaryProcessor returns a binary processor for use with processing content streams
func NewBinaryProcessor(ctx context.Context, imt, rmt string, stream StreamProcessor, name string, args []string, payload *types.Any) (StreamProcessor, error) {