Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func Endpoint2ksf ¶
Endpoint2ksf transfer Endpoint to endpointf.EndpointF
Types ¶
type Endpoint ¶
type Endpoint struct { Host string Port int32 Timeout int32 Istcp int32 //need remove Proto string Bind string Container string Grid int32 Qos int32 Weight int32 WeightType int32 AuthType int32 SetId string Key string }
Endpoint struct is used record a remote server instance.
func Ksf2endpoint ¶
Ksf2endpoint make endpointf.EndpointF to Endpoint struct.
func Parse ¶
Parse pares string to struct Endpoint, like tcp -h 10.219.139.142 -p 19386 -t 60000
func (Endpoint) String ¶
String returns readable string for Endpoint
Click to show internal directories.
Click to hide internal directories.