Skip to content

xconnio/spooled-temporary-file-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spooled-temporary-file-go

this library may be used by projects that parse large payloads as well as small ones, so if the payload size is larger than the specificed size, it will be written to a temporary file, otherwise kept in memory. This essentially reduces the memory footprint of a cloud proxy dealing with large payloads.

Inspired by https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile but for Go

About

Keeps a buffer in memory unless it exceeds the specified size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •