github.com/EagleQL/Xray-core@v1.4.3/transport/internet/grpc/config.go (about)

     1  package grpc
     2  
     3  import (
     4  	"github.com/xtls/xray-core/common"
     5  	"github.com/xtls/xray-core/transport/internet"
     6  )
     7  
     8  const protocolName = "grpc"
     9  
    10  func init() {
    11  	common.Must(internet.RegisterProtocolConfigCreator(protocolName, func() interface{} {
    12  		return new(Config)
    13  	}))
    14  }