web

package
v0.0.0-...-b9c356b Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: AGPL-3.0 Imports: 3 Imported by: 3

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