Documentation

Overview

Package rdb provides serialization of NIFCLOUD RDB requests and responses.

Index

Constants

This section is empty.

Variables

View Source
var BuildHandler = request.NamedHandler{Name: "nifcloudsdk.rdb.Build", Fn: Build}

BuildHandler is a named request handler for building rdb protocol requests

View Source
var UnmarshalErrorHandler = request.NamedHandler{Name: "nifcloudsdk.rdb.UnmarshalError", Fn: UnmarshalError}

UnmarshalErrorHandler is a named request handler for unmarshaling rdb protocol request errors

View Source
var UnmarshalHandler = request.NamedHandler{Name: "nifcloudsdk.rdb.Unmarshal", Fn: Unmarshal}

UnmarshalHandler is a named request handler for unmarshaling rdb protocol requests

View Source
var UnmarshalMetaHandler = request.NamedHandler{Name: "nifcloudsdk.rdb.UnmarshalMeta", Fn: UnmarshalMeta}

UnmarshalMetaHandler is a named request handler for unmarshaling rdb protocol request metadata

Functions

func Build

func Build(r *request.Request)

Build builds a request for the rdb protocol.

func ConvertTime

func ConvertTime(operationTime string) string

ConvertTime from %Y-%m-%dT%H:%M:%SZ to %Y-%m-%d %H:%M

func Unmarshal

func Unmarshal(r *request.Request)

Unmarshal unmarshals a response body for the RDB protocol.

func UnmarshalError

func UnmarshalError(r *request.Request)

UnmarshalError unmarshals a response error for the RDB protocol.

func UnmarshalMeta

func UnmarshalMeta(r *request.Request)

UnmarshalMeta unmarshals response headers for the RDB protocol.

Types

This section is empty.