mirror of https://github.com/v2ray/v2ray-core
15 lines
245 B
Go
15 lines
245 B
Go
![]() |
// +build json
|
||
|
|
||
|
package blackhole
|
||
|
|
||
|
import (
|
||
|
"github.com/v2ray/v2ray-core/proxy/internal/config"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
config.RegisterOutboundConnectionConfig("blackhole",
|
||
|
func(data []byte) (interface{}, error) {
|
||
|
return new(Config), nil
|
||
|
})
|
||
|
}
|