Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType int32
const ( NilContent ContentType = iota // nil JsonContent // application/json XmlContent // application/xml FormUrlEncode // application/x-www-form-urlencoded FormMulit // multipart/form-data )
func ConvertToContentType ¶ added in v1.2.0
func ConvertToContentType(v string) ContentType
func (ContentType) ToCode ¶
func (c ContentType) ToCode() string
Click to show internal directories.
Click to hide internal directories.