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