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