Documentation ¶
Overview ¶
Package compression is a horrible hack & should be replaced as soon as humanly possible
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Codes = map[string]Type{ "": None, }
Codes maps a hash code to it's name
Names maps the name of a hash to codes
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type int
Type represents a type of byte compression
func ParseTypeString ¶
ParseTypeString returns a compression type for a given string
func (Type) MarshalJSON ¶
MarshalJSON satisfies the json.Marshaler interface
func (*Type) UnmarshalJSON ¶
UnmarshalJSON satisfies the json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.