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

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