Documentation
¶
Index ¶
Constants ¶
View Source
const ( PackageFormat_TARGZ = "tar.gz" PackageFormat_TAR = "tar" )
Variables ¶
This section is empty.
Functions ¶
func ExistString ¶
ExistString to find if exist string
Types ¶
type EndPointStatus ¶
type EndPointStatus int
const ( EndPointStatus_Valid EndPointStatus = iota EndPointStatus_Connectable EndPointStatus_Refused EndPointStatus_Timeout EndPointStatus_NotFound )
func GetEndpointStatus ¶
func GetEndpointStatus(address string) EndPointStatus
GetEndpointStatus to get status of the peer endpoint. The result must not be EndpointStatus_Valid, since that is determined by peer query, instead of this network method,
type Set ¶
type Set []interface{}
Set an easy Set TODO performance TODO change interface{} key to string, for json.Marshal issue. Not routine safe
func (*Set) StringList ¶
StringList get list as strings TODO performance
Click to show internal directories.
Click to hide internal directories.