Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Marshaller ¶
type Marshaller struct {
// contains filtered or unexported fields
}
func NewMarshaller ¶
func NewMarshaller(registry *proto.Registry, options ...MarshallerOption) *Marshaller
func (*Marshaller) Marshal ¶
func (m *Marshaller) Marshal(in any) error
func (*Marshaller) MarshalToString ¶
func (m *Marshaller) MarshalToString(in any) (string, error)
type MarshallerOption ¶
type MarshallerOption func(*Marshaller)
func WithBytesEncoderFunc ¶
func WithoutUnknownFields ¶
func WithoutUnknownFields() MarshallerOption
Click to show internal directories.
Click to hide internal directories.