request

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rest

func Rest(method string, url string, headers map[string]string, payload string) ([]byte, error)

func RestLRAPI added in v0.3.3

func RestLRAPI(method string, url string, headers map[string]string, payload string) ([]byte, error)

Types

type APIErr added in v0.2.0

type APIErr struct {
	Xtoken           *string `json:"xtoken"`
	Xsign            *string `json:"xsign"`
	Errorcode        *int    `json:"ErrorCode"`
	Errormessage     *string `json:"ErrorMessage"`
	Errordescription *string `json:"ErrorDescription"`
	Message          *string `json:"Message"`
}

Jump to

Keyboard shortcuts

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