Documentation ¶
Index ¶
- func DefaultMarshalOpts() protojson.MarshalOptions
- func EncodeJSONPB(w io.Writer, msg proto.Message, opts ...protojson.MarshalOptions) error
- func MaskedMarshalOpts() protojson.MarshalOptions
- func OutputJSON(w io.Writer, v interface{}) error
- func OutputJSONPB(w io.Writer, msg proto.Message, opts ...protojson.MarshalOptions) error
- func OutputJSONPBArray(w io.Writer, a []proto.Message) error
- func OutputJSONPBMap(w io.Writer, m map[string]proto.Message) error
- func OutputJSONStrings(results []string, writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultMarshalOpts ¶ added in v0.1.14
func DefaultMarshalOpts() protojson.MarshalOptions
func EncodeJSONPB ¶ added in v0.1.14
func MaskedMarshalOpts ¶ added in v0.1.14
func MaskedMarshalOpts() protojson.MarshalOptions
func OutputJSON ¶
func OutputJSONPB ¶
func OutputJSONPBArray ¶ added in v0.8.0
func OutputJSONPBMap ¶ added in v0.8.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.