mirror of
https://github.com/luscis/openlan.git
synced 2025-10-05 08:36:59 +08:00
19 lines
273 B
Go
Executable File
19 lines
273 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"github.com/luscis/openlan/pkg/access"
|
|
"github.com/luscis/openlan/pkg/config"
|
|
"github.com/luscis/openlan/pkg/libol"
|
|
)
|
|
|
|
func main() {
|
|
c := config.NewAccess()
|
|
p := access.NewAccess(c)
|
|
|
|
p.Initialize()
|
|
libol.Go(p.Start)
|
|
|
|
libol.Wait()
|
|
p.Stop()
|
|
}
|