Welcome to mirror list, hosted at ThFree Co, Russian Federation.

serving.go « serving « internal - gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 786ee569e15ef9994bd702c33c7583a3cfe3e1c4 (plain)
1
2
3
4
5
6
7
8
9
10
package serving

import "gitlab.com/gitlab-org/gitlab-pages/internal/config"

// Serving is an interface used to define a serving driver
type Serving interface {
	ServeFileHTTP(Handler) bool
	ServeNotFoundHTTP(Handler)
	Reconfigure(config *config.Config) error
}