Affected by GO-2022-1100
and 1 other vulnerabilities
GO-2022-1100 : Vela Insecure Defaults in github.com/go-vela/server
GO-2024-2648 : Server/API for Vela Insecure Variable Substitution in github.com/go-vela/server
Discover Packages
github.com/go-vela/server
router
middleware
service
package
Version:
v0.8.0-rc1
Opens a new window with list of versions in this module.
Published: May 24, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package service provides the ability for inserting
Vela service resources into or extracting Vela service
resources from the middleware chain for the API.
Usage:
import "github.com/go-vela/server/router/middleware/service"
Establish sets the service in the given context.
FromContext returns the Service associated with this context.
Retrieve gets the service in the given context.
ToContext adds the Service to this context if it supports
the Setter interface.
type Setter interface {
Set(string , interface{})
}
Setter defines a context that enables setting values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.