Documentation ¶
Index ¶
- Variables
- func MarshalAny(message *any.Any) (interface{}, error)
- func UnmarshalAny(instance interface{}, message *any.Any) error
- type CeteMarshaler
- func (*CeteMarshaler) ContentType() string
- func (j *CeteMarshaler) Delimiter() []byte
- func (j *CeteMarshaler) Marshal(v interface{}) ([]byte, error)
- func (j *CeteMarshaler) NewDecoder(r io.Reader) runtime.Decoder
- func (j *CeteMarshaler) NewEncoder(w io.Writer) runtime.Encoder
- func (j *CeteMarshaler) Unmarshal(data []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultContentType = "application/json"
)
Functions ¶
func MarshalAny ¶
func UnmarshalAny ¶
Types ¶
type CeteMarshaler ¶
type CeteMarshaler struct{}
func (*CeteMarshaler) ContentType ¶
func (*CeteMarshaler) ContentType() string
func (*CeteMarshaler) Delimiter ¶
func (j *CeteMarshaler) Delimiter() []byte
func (*CeteMarshaler) Marshal ¶
func (j *CeteMarshaler) Marshal(v interface{}) ([]byte, error)
func (*CeteMarshaler) NewDecoder ¶
func (j *CeteMarshaler) NewDecoder(r io.Reader) runtime.Decoder
func (*CeteMarshaler) NewEncoder ¶
func (j *CeteMarshaler) NewEncoder(w io.Writer) runtime.Encoder
func (*CeteMarshaler) Unmarshal ¶
func (j *CeteMarshaler) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.