Documentation ¶
Index ¶
- func DefaultMarshalOpts() protojson.MarshalOptions
- func EncodeJSONPB(w io.Writer, msg proto.Message, opts ...protojson.MarshalOptions) error
- func MarshalOpts(multiline bool) protojson.MarshalOptions
- 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 ¶
func DefaultMarshalOpts() protojson.MarshalOptions
func EncodeJSONPB ¶
func MarshalOpts ¶ added in v0.32.6
func MarshalOpts(multiline bool) protojson.MarshalOptions
func MaskedMarshalOpts ¶
func MaskedMarshalOpts() protojson.MarshalOptions
func OutputJSON ¶
func OutputJSONPB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.