github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/udp/config.go (about)

     1  package udp
     2  
     3  import (
     4  	"github.com/v2fly/v2ray-core/v5/common"
     5  	"github.com/v2fly/v2ray-core/v5/transport/internet"
     6  )
     7  
     8  func init() {
     9  	common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
    10  		return new(Config)
    11  	}))
    12  }