Documentation ¶
Index ¶
- func GetIPAndPort(address string) ([]*net.TCPAddr, error)
- func GetTrieKey(method string, path string) string
- func IsMatchAll(key string) bool
- func IsPathVariableOrWildcard(key string) bool
- func IsWildcard(key string) bool
- func ResolveTimeStr2Time(currentV string, defaultV time.Duration) time.Duration
- func Split(path string) []string
- func VariableName(key string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTrieKey ¶
func IsMatchAll ¶
func IsPathVariableOrWildcard ¶
IsPathVariableOrWildcard return if is a PathVariable (:id, true)
func ResolveTimeStr2Time ¶
func VariableName ¶
VariableName extract VariableName (:id, name = id)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.