github.com/moqsien/xraycore@v1.8.5/transport/internet/udp/config.go (about)

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