github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/common/environment/connection.go (about)

     1  package environment
     2  
     3  import "github.com/v2fly/v2ray-core/v5/common/log"
     4  
     5  type ConnectionCapabilitySet interface {
     6  	ConnectionLogCapabilitySet
     7  }
     8  
     9  type ConnectionEnvironment interface {
    10  	ConnectionCapabilitySet
    11  	doNotImpl()
    12  }
    13  
    14  type ConnectionLogCapabilitySet interface {
    15  	RecordConnectionLog(msg log.Message)
    16  }