All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
24 lines
253 B
Go
24 lines
253 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
|
|
Enabled bool
|
|
}
|