feat: initial commit
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
This commit is contained in:
22
internal/store/proxy.go
Normal file
22
internal/store/proxy.go
Normal file
@ -0,0 +1,22 @@
|
||||
package store
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type ProxyName Name
|
||||
|
||||
type ProxyHeader struct {
|
||||
Name ProxyName `json:"name"`
|
||||
|
||||
Weight int `json:"weight"`
|
||||
Enabled bool `json:"enabled"`
|
||||
}
|
||||
|
||||
type Proxy struct {
|
||||
ProxyHeader
|
||||
To string `json:"to"`
|
||||
From []string `json:"from"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
Reference in New Issue
Block a user