Documentation ¶
Index ¶
- Constants
- type Payload
- func (p *Payload) MaybeMarshalProtoJSON(meta map[string]interface{}, enc *json.Encoder) (handled bool, err error)
- func (p *Payload) MaybeUnmarshalProtoJSON(meta map[string]interface{}, dec *json.Decoder) (handled bool, err error)
- func (*Payload) ProtoMessage()
- func (*Payload) Reset()
- func (*Payload) String() string
- type Payloads
Constants ¶
const EnablePayloadShorthandMetadataKey = "__temporal_enable_payload_shorthand"
Key on the marshaler metadata specifying whether shorthand is enabled.
WARNING: This is internal API and should not be called externally.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
func (*Payload) MaybeMarshalProtoJSON ¶ added in v1.26.1
func (p *Payload) MaybeMarshalProtoJSON(meta map[string]interface{}, enc *json.Encoder) (handled bool, err error)
MaybeMarshalProtoJSON implements go.temporal.io/api/internal/temporaljsonpb.ProtoJSONMaybeMarshaler.MaybeMarshalProtoJSON.
WARNING: This is internal API and should not be called externally.
func (*Payload) MaybeUnmarshalProtoJSON ¶ added in v1.26.1
func (p *Payload) MaybeUnmarshalProtoJSON(meta map[string]interface{}, dec *json.Decoder) (handled bool, err error)
MaybeUnmarshalProtoJSON implements go.temporal.io/api/internal/temporaljsonpb.ProtoJSONMaybeUnmarshaler.MaybeUnmarshalProtoJSON.
WARNING: This is internal API and should not be called externally.
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
type Payloads ¶
type Payloads struct {
Payloads []*Payload
}
func (*Payloads) MaybeMarshalProtoJSON ¶ added in v1.26.1
func (p *Payloads) MaybeMarshalProtoJSON(meta map[string]interface{}, enc *json.Encoder) (handled bool, err error)
MaybeMarshalProtoJSON implements go.temporal.io/api/internal/temporaljsonpb.ProtoJSONMaybeMarshaler.MaybeMarshalProtoJSON.
WARNING: This is internal API and should not be called externally.
func (*Payloads) MaybeUnmarshalProtoJSON ¶ added in v1.26.1
func (p *Payloads) MaybeUnmarshalProtoJSON(meta map[string]interface{}, dec *json.Decoder) (handled bool, err error)
MaybeUnmarshalProtoJSON implements go.temporal.io/api/internal/temporaljsonpb.ProtoJSONMaybeUnmarshaler.MaybeUnmarshalProtoJSON.
WARNING: This is internal API and should not be called externally.