Versions in this module Expand all Collapse all v0 v0.2.0 May 28, 2018 v0.1.0 Jan 30, 2018 Changes in this version + type ContentType struct + Parameters map[string]string + SubType string + Suffix string + TopLevelType string + func ParseContentType(contenttype string) (ContentType, error) + func (contenttype *ContentType) Equals(other ContentType) bool + func (contenttype *ContentType) FilterParameters(parameters map[string]bool) + func (contenttype *ContentType) String() string + type Filter func(contenttype ContentType) bool + func NewFilterContains(partialMimeType string) Filter + func NewFilterEquals(TopLevelType, SubType, Suffix string) Filter + func NewFilterOr(contentTypeFilterList []Filter) Filter