Versions in this module Expand all Collapse all v1 v1.2.0 Nov 3, 2022 Changes in this version + type HTTPBodyMarshaler struct + func (h *HTTPBodyMarshaler) ContentType() string + func (h *HTTPBodyMarshaler) ContentTypeFromMessage(v interface{}) string + func (h *HTTPBodyMarshaler) Marshal(v interface{}) ([]byte, error) + type JSONPb jsonpb.Marshaler + func (*JSONPb) ContentType() string + func (j *JSONPb) Delimiter() []byte + func (j *JSONPb) Marshal(v interface{}) ([]byte, error) + func (j *JSONPb) NewDecoder(r io.Reader) runtime.Decoder + func (j *JSONPb) NewEncoder(w io.Writer) runtime.Encoder + func (j *JSONPb) Unmarshal(data []byte, v interface{}) error + type Proto struct + CustomContentType string + func (*Proto) Marshal(value interface{}) ([]byte, error) + func (*Proto) Unmarshal(data []byte, value interface{}) error + func (p *Proto) ContentType() string + func (p *Proto) NewDecoder(reader io.Reader) runtime.Decoder + func (p *Proto) NewEncoder(writer io.Writer) runtime.Encoder Other modules containing this package github.com/cosmos/gogogateway/v2