Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CallImageProcessing ¶
func (c *Client) CallImageProcessing( req *RequestImageProcessing, payload []byte) (*ResponseImageProcessing, error)
type RequestImageProcessing ¶
type RequestImageProcessing struct { MessageId string `cbor:"1,keyasint"` // cbor:"message_id"` Left uint32 `cbor:"2,keyasint"` // cbor:"left"` Top uint32 `cbor:"3,keyasint"` // cbor:"top"` Right uint32 `cbor:"4,keyasint"` // cbor:"right"` Bottom uint32 `cbor:"5,keyasint"` // cbor:"bottom"` Quality uint32 `cbor:"6,keyasint"` // cbor:"quality"` }
func (*RequestImageProcessing) MarshalCborWithPayload ¶
func (r *RequestImageProcessing) MarshalCborWithPayload(payload []byte) ([]byte, error)
func (*RequestImageProcessing) UnmarshalCborWithPayload ¶
func (r *RequestImageProcessing) UnmarshalCborWithPayload(msg []byte) ([]byte, error)
type ResponseImageProcessing ¶
type ResponseImageProcessing struct { ReqMessageId string `cbor:"1,keyasint"` // `cbor:"req_message_id"` Success bool `cbor:"2,keyasint"` // `cbor:"success"` SrcWidth uint32 `cbor:"3,keyasint"` // `cbor:"src_width"` SrcHeight uint32 `cbor:"4,keyasint"` // `cbor:"src_height"` DstWidth uint32 `cbor:"5,keyasint"` // `cbor:"dst_width"` DstHeight uint32 `cbor:"6,keyasint"` // `cbor:"dst_height"` Message *string `cbor:"7,keyasint"` // `cbor:"message"` }
func (*ResponseImageProcessing) MarshalCborWithPayload ¶
func (r *ResponseImageProcessing) MarshalCborWithPayload(payload []byte) ([]byte, error)
func (*ResponseImageProcessing) UnmarshalCborWithPayload ¶
func (r *ResponseImageProcessing) UnmarshalCborWithPayload(msg []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.