package
1.0.2
Repository: https://github.com/pingcap/tiunimanager.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
HandleJsonRequestFromBody @Description: handle common json request from body build request using c.ShouldBindBodyWith(req, binding.JSON) validate request using validator.New().Struct(req) serialize request using json.Marshal(req) @Parameter c @Parameter req @Parameter appenders append request data out of http body, such as id in path @return err @return requestBody.
HandleJsonRequestFromQuery @Description: handle common json request from query build request using c.ShouldBindQuery(req, binding.JSON) validate request using validator.New().Struct(req) serialize request using json.Marshal(req) @Parameter c @Parameter req @Parameter appenders append request data out of http body, such as id in path @return ok @return requestBody.
HandleJsonRequestWithBuiltReq @Description: handle common json request with a built request validate request using validator.New().Struct(req) serialize request using json.Marshal(req) @Parameter c @Parameter req @Parameter appenders append request data out of http body, such as id in path @return bool @return requestBody.
HandleRequest @Description: handle request @Parameter c @Parameter req @Parameter builder build request from gin.Context @Parameter validator validate request @Parameter serializer serialize request to string @return err @return requestBody.
InvokeRpcMethod @Description: invoke cluster service from api @Parameter ctx context generated by gin framework, which contains traceId and operator info @Parameter rpcMethod the rpc method that defined in cluster service @Parameter requestBody thr request body in the rpc request @Parameter opts.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
DefaultTimeout todo adjust timeout for async flow task.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author