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

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

import (
	"context"

	"gitlab.com/gitlab-org/gitlab-pages/internal/domain"
)

// Source represents an abstract interface of a domains configuration source.
type Source interface {
	GetDomain(context.Context, string) (*domain.Domain, error)
}