github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/infra/conf/v4/loopback.go (about) 1 package v4 2 3 import ( 4 "github.com/golang/protobuf/proto" 5 6 "github.com/v2fly/v2ray-core/v5/proxy/loopback" 7 ) 8 9 type LoopbackConfig struct { 10 InboundTag string `json:"inboundTag"` 11 } 12 13 func (l LoopbackConfig) Build() (proto.Message, error) { 14 return &loopback.Config{InboundTag: l.InboundTag}, nil 15 }