package
1.0.2
Repository: https://github.com/wangyysde/sysadm.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
BuildApiUrl: building the url for a API request.
BuildResponseDataForSuccess build response data for string with error */.
BuildResponseDataForMap: build response data for data sets ApiResponseData.Status is true ApiResponseData.ErrorCode is zero ApiResponseData.Message is the result sets */.
BuildResponseDataForString: build response data for error message and successful message ApiResponseData.Status is false if this is a error response, otherwise Status is true ApiResponseData.ErrorCode is zero if this is a successful response, otherwise Errorcode is nonzero ApiResponseData.Message is the result sets if this is a successful ,otherwise Message is []map[string]interface For success: Message is the data sets like []map[string]interface{} */.
BuildResponseDataForSuccess build response data for string with successful */.
No description provided by the author
No description provided by the author
BuildApiUrl: building the url for a API request.
NewBuildResponseDataForMap: build response data for data sets ApiResponseData.Message is the result sets */.
No description provided by the author
NewSendResponseForErrorMessage: build response data using msg ,value ,errorCode then send the response data to the client with specified format.
NewSendResponseForSuccessMessage: build response data using msg and value then send the response data to the client with specified format.
ParseResponseBody: parses the body content response from api server return ApiResponseData and []sysadmerror.Sysadmerror ApiResponseData.Status is ture and ApiResponseData.Errorcode is zero for successful response ApiResponseData.DataSet is the set of response like map[string]string if */.
passProxy: 1.
SendResponseForErrorMessage: build response data using errorCode and msg.
SendResponseForMap: build response data using map.
SendResponseForSuccessMessage: build response data using msg.

# 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

# Interfaces

No description provided by the author