web

package
v0.0.0-...-0ee1bbb Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientIP

func GetClientIP(r *ghttp.Request) string

GetClientIP 获取用户的真是IP地址

func GetHeaderSignInfo

func GetHeaderSignInfo(r *ghttp.Request) (timestamp, sign string)

GetHeaderSignInfo 获取请求头鉴权信息

func GetHeaderToken

func GetHeaderToken(r *ghttp.Request) string

GetHeaderToken 获取头信息中的token

Types

This section is empty.

Jump to

Keyboard shortcuts

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