Piotr Biernat
f474a549c5
All checks were successful
continuous-integration/drone/push Build is passing
23 lines
589 B
Go
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,
|
|
}
|
|
}
|