Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URLClusterAnalyzer ¶
type URLClusterAnalyzer struct {
// contains filtered or unexported fields
}
URLClusterAnalyzer is url cluster analyzer.
func (*URLClusterAnalyzer) GetPattern ¶
func (u *URLClusterAnalyzer) GetPattern(urlPath string) string
GetPattern extracts the pattern of a Restful url path. A field of the path occurs more than 20 distinct values will be considered as a variables. e.g. input: /com/megaease/users/123/friends/456 output: /com/megaease/users/*/friends/*
Click to show internal directories.
Click to hide internal directories.