Documentation ¶
Index ¶
- func NewZConClient() (*zcon.Client, error)
- func NewZccClient() (*zcc.Client, error)
- func NewZdxClient() (*zdx.Client, error)
- func NewZiaClient() (*zia.Client, error)
- func NewZpaClient() (*zpa.Client, error)
- func NewZpaClientMock() (*zpa.Client, *http.ServeMux, *httptest.Server)
- func ParseJSONRequest(t *testing.T, r *http.Request, v interface{}) error
- func TestPassword(length int) string
- func WriteJSONResponse(t *testing.T, w http.ResponseWriter, statusCode int, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewZConClient ¶ added in v2.2.9
func NewZccClient ¶ added in v2.61.7
func NewZdxClient ¶ added in v2.61.7
func NewZiaClient ¶
func NewZpaClient ¶
func ParseJSONRequest ¶
ParseJSONRequest parses the JSON request body from the given HTTP request.
func TestPassword ¶ added in v2.3.8
func WriteJSONResponse ¶
WriteJSONResponse writes the JSON response with the given status code and data to the HTTP response writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.