mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-17 05:40:27 +00:00
18 lines
398 B
Go
18 lines
398 B
Go
//go:build with_openvpn
|
|
|
|
package include
|
|
|
|
import (
|
|
"github.com/sagernet/sing-box/adapter/endpoint"
|
|
"github.com/sagernet/sing-box/dns"
|
|
"github.com/sagernet/sing-box/protocol/openvpn"
|
|
)
|
|
|
|
func registerOpenVPNEndpoints(registry *endpoint.Registry) {
|
|
openvpn.RegisterEndpoint(registry)
|
|
}
|
|
|
|
func registerOpenVPNDNSTransport(registry *dns.TransportRegistry) {
|
|
openvpn.RegisterDNSTransport(registry)
|
|
}
|