vegvisir/pkg/cache/route.go
Piotr Biernat d651571a55
Some checks failed
continuous-integration/drone/push Build is failing
tmp goroutines cache
2021-11-12 20:11:56 +01:00

23 lines
589 B
Go

// ___ ____ ___ ___
// \ \ / / | _ | __| \ \ / / || | __ || || _ |
// \ \/ / |___ | |__ \ \/ / || |___ || ||___|
// \ / | _ | _ | \ / || __ | || ||\\
// \/ |___ |___ | \/ || ____| || || \\
//
// Copyright (c) 2021 Piotr Biernat. https://pbiernat.dev. MIT License
// Repo: https://git.pbiernat.dev/golang/vegvisir
package cache
type RouteCache struct {
SourceURL string
TargetURL string
}
func NewRouteCache(source, target string) *RouteCache {
return &RouteCache{
SourceURL: source,
TargetURL: target,
}
}