mirror of
https://github.com/containous/traefik.git
synced 2025-03-16 06:50:13 +03:00
Split a bit traefik into package. The idea behind this refactor is to start move inter-dependencies away and do some DRY or SRP. - Adds a `provider` package, with providers except `web.go` - Adds a `types` package with common struct. - Move `gen.go` to an `autogen` package Signed-off-by: Vincent Demeester <vincent@sbr.pm>
8 lines
153 B
Go
8 lines
153 B
Go
package provider
|
|
|
|
import "github.com/emilevauge/traefik/types"
|
|
|
|
type Provider interface {
|
|
Provide(configurationChan chan<- types.ConfigMessage) error
|
|
}
|