httputil

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 3 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	UserHeader                 = "User-ID"
	OrgHeader                  = "Org-ID"
	InternalHeader             = "Internal-Client"        // 内部服务间调用时使用
	InternalActionHeader       = "Internal-Action-Client" // action calls the api header
	RequestIDHeader            = "RequestID"
	UserInfoDesensitizedHeader = "Openapi-Userinfo-Desensitized"

	ClientIDHeader   = "Client-ID"
	ClientNameHeader = "Client-Name"
)

dice 公共 Header

Variables

This section is empty.

Functions

func JoinPath

func JoinPath(appendRoot bool, segments ...string) string

JoinPath .

func JoinPathR

func JoinPathR(segments ...string) string

JoinPathR .

Types

type ContentType added in v1.3.0

type ContentType string
const (
	ApplicationJson    ContentType = "application/json"
	URLEncodedFormMime ContentType = "application/x-www-form-urlencoded"
)

Jump to

Keyboard shortcuts

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