fea: access in name proxy.

This commit is contained in:
Daniel Ding
2025-04-21 10:42:51 +08:00
parent 84c638ffe8
commit d8a24744d7
40 changed files with 243 additions and 213 deletions

View File

@@ -5,10 +5,10 @@ import (
"github.com/luscis/openlan/pkg/schema"
)
func NewPointSchema(p *Point) schema.Point {
func NewAccessSchema(p *Access) schema.Access {
client, dev := p.Client, p.Device
sts := client.Statistics()
return schema.Point{
return schema.Access{
Uptime: p.Uptime,
UUID: p.UUID,
Alias: p.Alias,