1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 09:17:32 -05:00
v2fly/infra/conf/v4/loopback.go
2022-01-02 15:16:23 +00:00

16 lines
296 B
Go

package v4
import (
"github.com/golang/protobuf/proto"
"github.com/v2fly/v2ray-core/v5/proxy/loopback"
)
type LoopbackConfig struct {
InboundTag string `json:"inboundTag"`
}
func (l LoopbackConfig) Build() (proto.Message, error) {
return &loopback.Config{InboundTag: l.InboundTag}, nil
}