Documentation ¶
Overview ¶
Package amqpxproto provides encoding body of the message using proto.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrProtoType = fmt.Errorf("amqpxproto: expecting a value type proto.Message") DefaultMarshalOptions = &proto.MarshalOptions{} DefaultUnmarshalOptions = &proto.UnmarshalOptions{ DiscardUnknown: true, } )
Functions ¶
This section is empty.
Types ¶
type Marshaler ¶
type Marshaler struct {
// contains filtered or unexported fields
}
func NewMarshaler ¶
func NewMarshaler(opts ...proto.MarshalOptions) *Marshaler
func (*Marshaler) ContentType ¶
type Unmarshaler ¶
type Unmarshaler struct {
// contains filtered or unexported fields
}
func NewUnmarshaler ¶
func NewUnmarshaler(opts ...proto.UnmarshalOptions) *Unmarshaler
func (*Unmarshaler) ContentType ¶
func (u *Unmarshaler) ContentType() string
Click to show internal directories.
Click to hide internal directories.