Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactMiddleware ¶ added in v1.58.0
func HTTPSRedirectMiddleware ¶ added in v1.58.0
func Ratelimiter ¶ added in v1.49.0
Ratelimiter configures the ratelimiter middleware TODO: make this unexported once https://gitlab.com/gitlab-org/gitlab-pages/-/issues/670 is done
Types ¶
type Handlers ¶
Handlers take care of handling specific requests
func New ¶
New when provided the arguments defined herein, returns a pointer to an Handlers that is used to handle requests.
func (*Handlers) HandleArtifactRequest ¶
HandleArtifactRequest handles all artifact related requests, will return true if request was handled here
Click to show internal directories.
Click to hide internal directories.