sing-box/include/openvpn.go

17 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)
}