Documentation
¶
Index ¶
Constants ¶
View Source
const (
EXPIRE_KEY = "%s:expire_at"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICache ¶ added in v0.0.3
type IJwtParser ¶ added in v0.0.3
type IJwtParser interface {
ParseJwtToken(string, jwt.Claims, ...jwt.ParserOption) (*jwt.Token, error)
}
func NewJwtParse ¶ added in v0.0.3
func NewJwtParse(jwksUrl string, client IRequestClient, cache ICache) IJwtParser
type IRequestClient ¶ added in v0.0.3
var DefaultClient IRequestClient = http.DefaultClient
type WrapResponseWriter ¶
type WrapResponseWriter struct {
gin.ResponseWriter
ByteBuffer *bbpool.ByteBuffer
}
Click to show internal directories.
Click to hide internal directories.