bouncer/internal/store/proxy.go

24 lines
257 B
Go

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