# Packages
No description provided by the author
No description provided by the author
Package query provides serialization of BYTEPLUS byteplusquery requests, and responses.
Package rest provides RESTFUL serialization of BYTEPLUS requests and responses.
No description provided by the author
# Functions
CanSetIdempotencyToken returns true if the struct field should be automatically populated with a Idempotency token.
DecodeJSONValue will attempt to decode the string input as a JSONValue.
EncodeJSONValue marshals the value into a JSON string, and optionally base64 encodes the string before returning it.
FormatTime returns a string value of the time.
GetIdempotencyToken returns a randomly generated idempotency token.
IsKnownTimestampFormat returns if the timestamp format name is know to the SDK's protocols.
NewHostPrefixHandler constructs a build handler.
ParseTime attempts to parse the time given the format.
SetIdempotencyToken will set the value provided with a Idempotency Token.
UnmarshalDiscardBody is a request handler to empty a response's byteplusbody and closing it.
UUIDVersion4 returns a Version 4 random UUID from the byte slice provided.
ValidateEndpointHost validates that the host string passed in is a valid RFC 3986 host.
ValidHostLabel returns if the label is a valid RFC 3986 host label.
# Constants
The modes for escaping a value before it is marshaled, and unmarshaled.
HostPrefixHandlerName is the handler name for the host prefix request handler.
This format is used for output time without seconds precision.
RFC3339 a subset of the ISO8601 timestamp format.
Names of time formats supported by the SDK.
The modes for escaping a value before it is marshaled, and unmarshaled.
The modes for escaping a value before it is marshaled, and unmarshaled.
This format is used for output time without seconds precision.
RFC 7231#section-7.1.1.1 timetamp format.
Names of time formats supported by the SDK.
Names of time formats supported by the SDK.
# Variables
RandReader is the random reader the protocol package will use to read random bytes from.
UnmarshalDiscardBodyHandler is a named request handler to empty and close a response's byteplusbody.
ValidateEndpointHostHandler is a request handler that will validate the request endpoint's hosts is a valid RFC 3986 host.
# Structs
HandlerPayloadMarshal implements the PayloadMarshaler from a HandlerList.
HandlerPayloadUnmarshal implements the PayloadUnmarshaler from a HandlerList.
HostPrefixBuilder provides the request handler to expand and prepend the host prefix into the operation's request endpoint host.
# Interfaces
PayloadMarshaler provides the interface for marshaling a SDK shape into and io.Writer.
PayloadUnmarshaler provides the interface for unmarshaling a payload's reader into a SDK shape.
# Type aliases
EscapeMode is the mode that should be use for escaping a value.