aboutsummaryrefslogtreecommitdiff
path: root/entry.go
blob: de7c1e3345d74a9ea11beaa41621857b871557e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package goxy

// Entry holds routing settings
type Entry struct {
	Host     string // HostName
	Upstream string // URL
	Cert     []byte // PEM
	Key      []byte // PEM
}

func (e Entry) String() string {
	return e.Host + " → " + e.Upstream
}