Module RsCors
Provides classes for modeling the github.com/rs/cors package.
Import path
import semmle.go.frameworks.RsCorsPredicates
| packagePath | Gets the package name |
Classes
| AllowAllOriginsWrite | A write to the value of Access-Control-Allow-Origins of value “*”, overriding |
| AllowCredentialsWrite | A write to the value of Access-Control-Allow-Credentials header. |
| AllowOriginsWrite | A write to the value of Access-Control-Allow-Origins header. |
| New | The |
| RsOptions | A variable of type Options that holds the headers to be set. |