Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderName = "RPC-Authorization"
HeaderName is the HTTP header name for the rpcproxy authorization token
Variables ¶
View Source
var ErrInvalidCountryCode = errors.New("invalid country code")
ErrInvalidCountryCode is returned when the country code is invalid
View Source
var ErrTokenCorrupted = errors.New("token is corrupt")
ErrTokenCorrupted is returned when a token has been tampered with
View Source
var ErrTokenExpired = errors.New("token has expired")
ErrTokenExpired is returned when a token has expired
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.