Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType struct { TopLevelType string SubType string Suffix string Parameters map[string]string }
func ParseContentType ¶
func ParseContentType(contenttype string) (ContentType, error)
func (*ContentType) Equals ¶
func (contenttype *ContentType) Equals(other ContentType) bool
func (*ContentType) FilterParameters ¶
func (contenttype *ContentType) FilterParameters(parameters map[string]bool)
func (*ContentType) String ¶
func (contenttype *ContentType) String() string
type Filter ¶
type Filter func(contenttype ContentType) bool
func NewFilterContains ¶
func NewFilterEquals ¶
func NewFilterOr ¶
Click to show internal directories.
Click to hide internal directories.