tools

package
v0.0.0-...-b78dded Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BadBatchRequest = errors.New("bad batch request")

Functions

func CheckGinIP

func CheckGinIP(c *gin.Context) (string, bool)

func CheckJOSNType

func CheckJOSNType(body []byte) byte

func DecodeRequestBody

func DecodeRequestBody(host string, body []byte) (resp gin.H, buildRespByAgent bool, batchCount int)

func FormatIP

func FormatIP(s string) string

func GetRpcStatus

func GetRpcStatus() int

func IsRpc

func IsRpc(host string, d map[string]struct{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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