소스 검색

remove unused fields

Abhishek Kondur 2 년 전
부모
커밋
9b87a6b722
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      models/host.go

+ 0 - 2
models/host.go

@@ -69,8 +69,6 @@ type Host struct {
 	Interfaces       []Iface          `json:"interfaces" yaml:"interfaces"`
 	DefaultInterface string           `json:"defaultinterface" yaml:"defaultinterface"`
 	EndpointIP       net.IP           `json:"endpointip" yaml:"endpointip"`
-	ShouldUseTurn    bool             `json:"should_use_turn" yaml:"should_use_turn"`
-	TurnRelayAddr    net.PacketConn   `json:"turn_relay_addr" yaml:"turn_relay_addr"`
 	ProxyEnabled     bool             `json:"proxy_enabled" yaml:"proxy_enabled"`
 	ProxyEnabledSet  bool             `json:"proxy_enabled_updated" yaml:"proxy_enabled_updated"`
 	IsDocker         bool             `json:"isdocker" yaml:"isdocker"`