Files
sing-box-extended-mirror/include/openvpn.go
T

18 lines
398 B
Go
Raw Normal View History

2026-07-17 16:21:03 +08:00
//go:build with_openvpn
package include
import (
"github.com/sagernet/sing-box/adapter/endpoint"
"github.com/sagernet/sing-box/dns"
2026-07-17 16:21:03 +08:00
"github.com/sagernet/sing-box/protocol/openvpn"
)
func registerOpenVPNEndpoints(registry *endpoint.Registry) {
openvpn.RegisterEndpoint(registry)
}
func registerOpenVPNDNSTransport(registry *dns.TransportRegistry) {
openvpn.RegisterDNSTransport(registry)
}