Documentation
¶
Index ¶
- Variables
- func AnalyseLog(w http.ResponseWriter, r *http.Request, project_id string, region_id string, ...) error
- func CountLine(content string) int
- func GetLogLeveldetails(platform string, level string, fContent string) string
- func LogReport(w http.ResponseWriter, r *http.Request, fullLogDetails *FullDetails, ...)
- type AnalysisDetails
- type Config
- type ConfigInterface
- type FullDetails
- type GroupedStruct
- type Issue
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Log_levels = map[string][]string{"Ios": []string{"Critical", "Error", "Warning", "Notice", "Info", "Debug", "Trace"}, "my-android-bucket": []string{"Assert", "Error", "Warning", "Info", "Debug", "Verbose"}} )
Functions ¶
func AnalyseLog ¶
func AnalyseLog(w http.ResponseWriter, r *http.Request, project_id string, region_id string, fullLogDetails *FullDetails, cfgFile *Config) error
func GetLogLeveldetails ¶
func LogReport ¶
func LogReport(w http.ResponseWriter, r *http.Request, fullLogDetails *FullDetails, cfgFile *Config)
Types ¶
type AnalysisDetails ¶
type ConfigInterface ¶
type ConfigInterface struct {
SpecificProcess map[string]string `yaml:"SpecificProcess"`
IssuesGeneralFields struct {
Number string `yaml:"Number"`
Details string `yaml:"Details"`
Timestamp string `yaml:"Timestamp"`
Log_level string `yaml:"LogLevel"`
OtherFields map[string]string `yaml:"OtherFields"`
} `yaml:"IssuesGeneralFields"`
Issues map[string]interface{} `yaml:"Issues"`
Priority map[string]int `yaml:"Priority"`
ImportantEvents map[string]string `yaml:"ImportantEvents"`
}
type FullDetails ¶
type FullDetails struct {
Analysis_details AnalysisDetails
GroupedIssues map[string]GroupedStruct
NonGroupedIssues map[string]map[string]bool
ImportantEvents map[int]string
}
type GroupedStruct ¶
Click to show internal directories.
Click to hide internal directories.