Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContentTypeAll = "*/*" ContentTypeHtml = "text/html" ContentTypeJson = "application/json" ContentTypeXml = "application/xml" ContentTypeMsgPack = "application/x-msgpack" ContentTypeProtoBuf = "application/protobuf" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentTypeMode ¶
type ContentTypeMode uint8
const ( ModeAll ContentTypeMode = iota ModeHtml ModeJson ModeXML ModeMsgPack ModeProtoBuff )
func (ContentTypeMode) String ¶
func (m ContentTypeMode) String() string
type RequestScheme ¶
type RequestScheme uint8
const ( Http RequestScheme = iota Https Unix Websocket Other )
func (RequestScheme) String ¶
func (s RequestScheme) String() string
Click to show internal directories.
Click to hide internal directories.