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: 5

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