github.com/v2fly/v2ray-core/v4@v4.45.2/infra/conf/loopback.go (about) 1 package conf 2 3 import ( 4 "github.com/golang/protobuf/proto" 5 6 "github.com/v2fly/v2ray-core/v4/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 }