Documentation ¶
Index ¶
Constants ¶
View Source
const ( UDP int32 = 0 TCP int32 = 1 SSL int32 = 2 )
Variables ¶
This section is empty.
Functions ¶
func Endpoint2tars ¶
Endpoint2tars transfer Endpoint to endpointf.EndpointF
Types ¶
type Endpoint ¶
type Endpoint struct { Host string Port int32 Timeout int32 Istcp int32 //need remove Grid int32 Qos int32 Weight int32 WeightType int32 AuthType int32 Proto string Bind string Container string SetId string Key string }
Endpoint struct is used record a remote server instance.
func Tars2endpoint ¶
Tars2endpoint make endpointf.EndpointF to Endpoint struct.
Click to show internal directories.
Click to hide internal directories.