protocol

package
v0.0.0-...-bb1a4e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

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

Directories

Path Synopsis
xml

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL