Documentation ¶
Index ¶
- func CreateDir(path string) error
- func Empty(ip string) bool
- func GetConfig(envK string, defaultK string) string
- func GetQPS() (float64, int64)
- func GetRabbitmqAddress() string
- func GetRegistry() registry.Registry
- func GetRegistryAddress() string
- func GetTraceAddress() string
- func IsExist(f string) bool
- func IsNil(value interface{}) bool
- func IsOpenDebug() (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Empty ¶
The len built-in function returns the length of v, according to its type:
Array: the number of elements in v. Pointer to array: the number of elements in *v (even if v is nil). Slice, or map: the number of elements in v; if v is nil, len(v) is zero. String: the number of bytes in v. Channel: the number of elements queued (unread) in the channel buffer; if v is nil, len(v) is zero.
func GetRegistryAddress ¶
func GetRegistryAddress() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.