MCPcopy
hub / github.com/v2rayA/v2rayA / ServerObj

Interface ServerObj

service/kernel/serverObj/serverObj.go:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12var ErrInvalidParameter = fmt.Errorf("invalid parameters")
13
14type ServerObj interface {
15 Configuration(info PriorInfo) (c Configuration, err error)
16 ExportToURL() string
17 NeedPluginPort() bool
18 ProtoToShow() string
19 GetProtocol() string
20 GetHostname() string
21 GetPort() int
22 GetName() string
23 SetName(name string)
24}
25
26type Configuration struct {
27 CoreOutbound coreObj.OutboundObject

Callers 29

resolveOutboundsMethod · 0.65
InsertMappingOutboundMethod · 0.65
GetSharingAddressFunction · 0.65
UpdateSubscriptionFunction · 0.65
NewServerDataFunction · 0.65
FillLinksMethod · 0.65
TestHttpLatencyFunction · 0.65
findAvailablePluginPortsFunction · 0.65
serverRawsToServersFunction · 0.65
resolveEffectiveBackendFunction · 0.65
genSecretFunction · 0.65
ImportFunction · 0.65

Implementers 12

WireGuardservice/kernel/serverObj/wireguard.go
Tuicservice/kernel/serverObj/tuic.go
HTTPservice/kernel/serverObj/http.go
Hysteria2service/kernel/serverObj/hysteria2.go
ShadowsocksRservice/kernel/serverObj/shadowsocksr.
SOCKSservice/kernel/serverObj/socks.go
V2Rayservice/kernel/serverObj/v2ray.go
Juicityservice/kernel/serverObj/juicity.go
Pluginservice/kernel/serverObj/plugin.go
Trojanservice/kernel/serverObj/trojan.go
AnyTLSservice/kernel/serverObj/anytls.go
Shadowsocksservice/kernel/serverObj/shadowsocks.g

Calls

no outgoing calls

Tested by

no test coverage detected