Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶ added in v0.1.6
type Logger interface {
Middleware() gin.HandlerFunc
}
type LoggerImpl ¶ added in v0.1.6
type LoggerImpl struct {
// contains filtered or unexported fields
}
func (LoggerImpl) Middleware ¶ added in v0.1.6
func (l LoggerImpl) Middleware() gin.HandlerFunc
type OIDCAuthenticator ¶
type OIDCAuthenticator interface {
Middleware() gin.HandlerFunc
}
func NewOIDCAuthenticatorMiddleware ¶ added in v0.1.6
func NewOIDCAuthenticatorMiddleware(logger logger.Logger, cfg config.Config) (OIDCAuthenticator, error)
NewOIDCAuthenticatorMiddleware creates a new OIDCAuthenticator instance
type OIDCAuthenticatorImpl ¶
type OIDCAuthenticatorImpl struct {
// contains filtered or unexported fields
}
func (*OIDCAuthenticatorImpl) Middleware ¶
func (a *OIDCAuthenticatorImpl) Middleware() gin.HandlerFunc
Middleware implementation of the OIDCAuthenticator interface
type OIDCAuthenticatorNoop ¶
type OIDCAuthenticatorNoop struct{}
func (*OIDCAuthenticatorNoop) Middleware ¶
func (a *OIDCAuthenticatorNoop) Middleware() gin.HandlerFunc
Noop implementation of the OIDCAuthenticator interface
type Telemetry ¶ added in v0.1.6
type Telemetry interface {
Middleware() gin.HandlerFunc
}
func NewTelemetryMiddleware ¶ added in v0.1.6
type TelemetryImpl ¶ added in v0.1.6
type TelemetryImpl struct {
// contains filtered or unexported fields
}
func (*TelemetryImpl) Middleware ¶ added in v0.1.6
func (t *TelemetryImpl) Middleware() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.