mirror of
https://github.com/luscis/openlan.git
synced 2025-10-19 15:24:35 +08:00
fea: access in name proxy.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user