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.