bouncer/internal/store/proxy.go

22 lines
240 B
Go

package store
import (
"net/url"
"time"
)
type ProxyName Name
type ProxyHeader struct {
Name ProxyName
CreatedAt time.Time
UpdatedAt time.Time
}
type Proxy struct {
ProxyHeader
To *url.URL
From []string
Weight int
}