bouncer/internal/store/layer.go

26 lines
284 B
Go

package store
import "time"
type (
LayerName Name
LayerType string
)
type LayerHeader struct {
Proxy ProxyName
Name LayerName
Type LayerType
CreatedAt time.Time
UpdatedAt time.Time
}
type Layer struct {
LayerHeader
Weight int
Enabled bool
Options map[string]any
}