github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/protocol/minify.go (about)

     1  /* For license and copyright information please see LEGAL file in repository */
     2  
     3  package protocol
     4  
     5  // Minify replace given data with minify of them if possible.
     6  type Minifier interface {
     7  	Minify(data Codec) (err Error)
     8  	MinifyBytes(data []byte) (minified []byte, err Error)
     9  }