Categorygithub.com/things-go/encoding
modulepackage
1.2.0
Repository: https://github.com/things-go/encoding.git
Documentation: pkg.go.dev

# README

encoding

http encoding toolkit

Go.Dev reference codecov Tests Go Report Card Licence Tag

Usage

encoding是一个http编解码器.

Installation

Use go get.

    go get github.com/things-go/encoding

Then import the package into your own code.

    import "github.com/things-go/encoding"

Example

References

License

This project is under MIT License. See the LICENSE file for the full license text.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

New encoding with default Marshalers Default: MIMEPOSTForm: form.Codec MIMEMultipartPOSTForm: form.MultipartCodec MIMEJSON: json.Codec mimeQuery: form.QueryCodec mimeUri: form.UriCodec mimeWildcard: json.Codec you can manually register your custom Marshaler.

# Constants

Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
MIMEURI is special form query.
Content-Type MIME of the most common data formats.
MIMEURI is special form uri.
MIMEWildcard is the fallback special MIME type used for requests which do not match a registered MIME type.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.
Content-Type MIME of the most common data formats.

# Structs

Encoding is a mapping from MIME types to Marshalers.