Documentation ¶
Index ¶
Constants ¶
View Source
const ( CtxKeyRealIP = CtxKey("Infura-Real-IP") CtxKeyRateRegistry = CtxKey("Infura-Rate-Limit-Registry") CtxAccessToken = CtxKey("Infura-Access-Token") )
Variables ¶
This section is empty.
Functions ¶
func GetAccessToken ¶
func GetIPAddress ¶
GetIPAddress returns the remote IP address.
Types ¶
type VipStatus ¶
func GetVipStatusByBillingStatus ¶
func GetVipStatusByBillingStatus(bs *web3pay.BillingStatus) (*VipStatus, bool)
func GetVipStatusBySubscriptionStatus ¶
func GetVipStatusBySubscriptionStatus(vss *web3pay.VipSubscriptionStatus) (*VipStatus, bool)
Click to show internal directories.
Click to hide internal directories.