facade

package module
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Request

func Request(method string, reqUrl string, params map[string]interface{}, headers []http.HeaderOption, req, resp interface{}) vo.Err

func RequestWithCommonHeader

func RequestWithCommonHeader(orgId int64, userId int64, method string, reqUrl string, params map[string]interface{}, headers []http.HeaderOption, req, resp interface{}) vo.Err

func RequestWithCommonHeaderGrpc

func RequestWithCommonHeaderGrpc(orgId int64, userId int64, method string, reqUrl string, params map[string]interface{}, headers []http.HeaderOption, req interface{}, resp proto.Message) vo.Err

func ToJsonString

func ToJsonString(obj interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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