mirror of
https://github.com/luscis/openlan.git
synced 2025-10-07 09:30:54 +08:00
fea: access in name proxy.
This commit is contained in:
@@ -12,12 +12,12 @@ type Link struct {
|
||||
StatusFile string
|
||||
}
|
||||
|
||||
func (l *Link) reload() *schema.Point {
|
||||
status := &schema.Point{}
|
||||
func (l *Link) reload() *schema.Access {
|
||||
status := &schema.Access{}
|
||||
_ = libol.UnmarshalLoad(status, l.StatusFile)
|
||||
return status
|
||||
}
|
||||
|
||||
func (l *Link) Status() *schema.Point {
|
||||
func (l *Link) Status() *schema.Access {
|
||||
return l.reload()
|
||||
}
|
||||
|
Reference in New Issue
Block a user