types

package
v0.0.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2021 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error added in v0.0.19

type Error struct {
	// Code of error.
	Code *int32 `json:"code,omitempty"`

	//Message of error.
	Message *string `json:"message,omitempty"`

	// Target
	Target *string `json:"target,omitempty"`
}

A response object that contains details about the error.

type StatusAndBodyFromResponse

type StatusAndBodyFromResponse struct {
	// StatusAndBodyFromResponse Status Code
	StatusCode int32 `src:"status"`

	// StatusAndBodyFromResponse Status Message
	Status string `src:"status"`

	// StatusAndBodyFromResponse Body Content
	RawBody string `src:"body"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL