content

package
v0.0.0-...-714bc2e Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int8

Type content-type

const (
	// Text application/text
	Text Type = iota
	// Yaml application/yaml
	Yaml
	// Json application/json
	Json
	// Proto application/proto
	Proto
	// Bytes application/bytes
	Bytes
	// Stream application/octet-stream
	Stream
	// FromData multiparty/from-data
	FromData
	// Zip application/zip
	Zip
)
const DefaultContentType Type = Json

DefaultContentType default of content-type

func Convert

func Convert(v string) Type

Convert .

func (Type) String

func (t Type) String() string

String .

Jump to

Keyboard shortcuts

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