mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 05:00:25 +08:00
25 lines
502 B
Go
25 lines
502 B
Go
package dns
|
|
|
|
import (
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/dns/providers"
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
|
|
"github.com/iwind/TeaGo"
|
|
)
|
|
|
|
func init() {
|
|
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
|
server.
|
|
Helper(new(helpers.UserMustAuth)).
|
|
Helper(new(Helper)).
|
|
Prefix("/dns").
|
|
Get("", new(IndexAction)).
|
|
|
|
Prefix("/dns/providers").
|
|
Data("teaSubMenu", "provider").
|
|
Get("", new(providers.IndexAction)).
|
|
EndData().
|
|
|
|
EndAll()
|
|
})
|
|
}
|