Documentation
¶
Index ¶
- Variables
- func BlockIP(ip string)
- func CheckGinIP(c *gin.Context) (_ string, fromCDN bool, isBaned bool)
- func CheckJOSNType(body []byte) byte
- func DecodeRequestBody(isRpc bool, host string, body []byte) (reqCount int, i interface{}, mustSend2Sentry bool, buildRespByAgent bool, ...)
- func DecodeTx(i interface{}) types.Transactions
- func EthResp(host string, i, resp interface{}) interface{}
- func FormatIP(s string) string
- func IsBanedIP(ip string) bool
- func IsRpc(host string, d map[string]struct{}) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var BadBatchRequest = errors.New("bad batch request")
Functions ¶
func CheckJOSNType ¶
func DecodeRequestBody ¶
func DecodeTx ¶
func DecodeTx(i interface{}) types.Transactions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.