package
0.5.0
Repository: https://github.com/jmalloc/ax.git
Documentation: pkg.go.dev

# Functions

MarshalJSON marshals a ProtocolBuffers message to its JSON representation and returns a MIME content-type that identifies the particular message protocol.
MarshalProtobuf marshals a ProtocolBuffers message to its binary representation and returns a MIME content-type that identifies the particular message protocol.
MarshalTime marshals t to an RFC3339+Nano string.
Unmarshal unmarshals a protocol buffers message from some serialized representation.
UnmarshalJSON unmarshals a ProtocolBuffers message from its JSON representation using an unparsed MIME content-type to identify the particular message protocol.
UnmarshalJSONParams unmarshals a JSON-encoded message using a pre-parsed MIME content-type to identify the particular message protocol.
UnmarshalProtobuf unmarshals a ProtocolBuffers message from its binary representation using an unparsed MIME content-type to identify the particular message protocol.
UnmarshalProtobufParams unmarshals a ProtocolBuffers messages from its binary representation using a pre-parsed MIME content-type to identify the particular message protocol.
UnmarshalTime unmarshals an RFC3339+Nano formatted string into t.

# Constants

JSONContentType is the content-type name for JSON-encoded messages.
ProtobufContentType is the content-type name for protocol buffer messages.