Documentation
¶
Index ¶
- type SupplyChainMiddleware
- func (m *SupplyChainMiddleware) SupplyChainAuth() gin.HandlerFunc
- func (m *SupplyChainMiddleware) SupplyChainCORS() gin.HandlerFunc
- func (m *SupplyChainMiddleware) SupplyChainHeaders() gin.HandlerFunc
- func (m *SupplyChainMiddleware) SupplyChainLogging() gin.HandlerFunc
- func (m *SupplyChainMiddleware) SupplyChainRateLimit() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SupplyChainMiddleware ¶
type SupplyChainMiddleware struct {
// contains filtered or unexported fields
}
SupplyChainMiddleware provides middleware for supply chain security endpoints
func NewSupplyChainMiddleware ¶
func NewSupplyChainMiddleware(cfg *config.Config, log *logger.Logger) *SupplyChainMiddleware
NewSupplyChainMiddleware creates a new supply chain middleware instance
func (*SupplyChainMiddleware) SupplyChainAuth ¶
func (m *SupplyChainMiddleware) SupplyChainAuth() gin.HandlerFunc
SupplyChainAuth validates supply chain specific authentication
func (*SupplyChainMiddleware) SupplyChainCORS ¶
func (m *SupplyChainMiddleware) SupplyChainCORS() gin.HandlerFunc
SupplyChainCORS handles CORS for supply chain endpoints
func (*SupplyChainMiddleware) SupplyChainHeaders ¶
func (m *SupplyChainMiddleware) SupplyChainHeaders() gin.HandlerFunc
SupplyChainHeaders adds security headers for supply chain endpoints
func (*SupplyChainMiddleware) SupplyChainLogging ¶
func (m *SupplyChainMiddleware) SupplyChainLogging() gin.HandlerFunc
SupplyChainLogging logs supply chain specific operations
func (*SupplyChainMiddleware) SupplyChainRateLimit ¶
func (m *SupplyChainMiddleware) SupplyChainRateLimit() gin.HandlerFunc
SupplyChainRateLimit implements rate limiting for supply chain endpoints
Click to show internal directories.
Click to hide internal directories.