Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FORMPb ¶
type FORMPb struct { protojson.MarshalOptions protojson.UnmarshalOptions }
func (*FORMPb) ContentType ¶
ContentType always returns "application/x-www-form-urlencoded".
func (*FORMPb) Marshal ¶
Marshal marshals "v" into JSON Currently it can marshal only proto.Message.
func (*FORMPb) NewDecoder ¶
NewDecoder returns a Decoder which reads form data stream from "r".
func (*FORMPb) NewEncoder ¶
NewEncoder returns an Encoder which writes JSON stream into "w".
Click to show internal directories.
Click to hide internal directories.