Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnalysisTypePvUv = iota AnalysisTypeFieldIp AnalysisTypeFieldUri AnalysisTypeFieldUserAgent AnalysisTypeFieldUserCity AnalysisTypeResponseStatus AnalysisTypeTimeMeanCostUris AnalysisTypeTimePercentCostUris )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MostFrequentStatusHandler ¶
type MostFrequentStatusHandler struct {
// contains filtered or unexported fields
}
func NewMostFrequentStatusHandler ¶
func NewMostFrequentStatusHandler() *MostFrequentStatusHandler
func (*MostFrequentStatusHandler) Input ¶
func (handler *MostFrequentStatusHandler) Input(info *parser.LogInfo)
func (*MostFrequentStatusHandler) Output ¶
func (handler *MostFrequentStatusHandler) Output(limit int)
type MostMatchFieldHandler ¶
type MostMatchFieldHandler struct {
// contains filtered or unexported fields
}
func NewMostMatchFieldHandler ¶
func NewMostMatchFieldHandler(analysisType int) *MostMatchFieldHandler
func (*MostMatchFieldHandler) Input ¶
func (handler *MostMatchFieldHandler) Input(info *parser.LogInfo)
func (*MostMatchFieldHandler) Output ¶
func (handler *MostMatchFieldHandler) Output(limit int)
type MostVisitedCities ¶
type MostVisitedCities struct {
// contains filtered or unexported fields
}
func NewMostVisitedCities ¶
func NewMostVisitedCities(dbFile string, limitSecond int) *MostVisitedCities
func (*MostVisitedCities) Input ¶
func (handler *MostVisitedCities) Input(info *parser.LogInfo)
func (*MostVisitedCities) Output ¶
func (handler *MostVisitedCities) Output(limit int)
type PvAndUvHandler ¶
type PvAndUvHandler struct {
// contains filtered or unexported fields
}
func NewPvAndUvHandler ¶
func NewPvAndUvHandler() *PvAndUvHandler
func (*PvAndUvHandler) Input ¶
func (handler *PvAndUvHandler) Input(info *parser.LogInfo)
func (*PvAndUvHandler) Output ¶
func (handler *PvAndUvHandler) Output(limit int)
type TopTimeMeanCostUrisHandler ¶
type TopTimeMeanCostUrisHandler struct {
// contains filtered or unexported fields
}
func NewTopTimeMeanCostUrisHandler ¶
func NewTopTimeMeanCostUrisHandler() *TopTimeMeanCostUrisHandler
func (*TopTimeMeanCostUrisHandler) Input ¶
func (handler *TopTimeMeanCostUrisHandler) Input(info *parser.LogInfo)
func (*TopTimeMeanCostUrisHandler) Output ¶
func (handler *TopTimeMeanCostUrisHandler) Output(limit int)
type TopTimePercentCostUrisHandler ¶
type TopTimePercentCostUrisHandler struct {
// contains filtered or unexported fields
}
func NewTopTimePercentCostUrisHandler ¶
func NewTopTimePercentCostUrisHandler(percentile float64) *TopTimePercentCostUrisHandler
func (*TopTimePercentCostUrisHandler) Input ¶
func (handler *TopTimePercentCostUrisHandler) Input(info *parser.LogInfo)
func (*TopTimePercentCostUrisHandler) Output ¶
func (handler *TopTimePercentCostUrisHandler) Output(limit int)
Click to show internal directories.
Click to hide internal directories.