Versions in this module Expand all Collapse all v1 v1.0.0 Feb 7, 2025 Changes in this version + const ResultTypeMatrix + const ResultTypeVector + func Exist(eles []interface{}, ele interface{}) bool + func FileExists(path string) bool + func GenerateLevelRegex(level string) string + func GetExpr(label string, value string) string + func GetLogLevelExpr(level string) string + func GetShellColor(colorNo string) string + func InitSplitDateTime(limit int) map[string][]int + func LogLevel(message string) string + func RegexHighlightShow(message string, filter string) string + func ShellHighlightShow(message string) string + func SplitDateTime(start string, end string, limit int) ([]int, int) + func TimeInPart(splitDateTime []int, timestamp string, step int) int + type Info struct + Animation string + Index string + Level string + Message string + Timestamp string + Timestampstr string + type LabelParam struct + End string + Label string + Start string + func (l *LabelParam) ToMap() map[string]string + type LabelResponse struct + Data []string + Status string + type LokiMessage struct + Message string + Timestamp string + type LokiMessages []LokiMessage + func (msg LokiMessages) Len() int + func (msg LokiMessages) Less(i, j int) bool + func (msg LokiMessages) Swap(i, j int) + type LokiPromeRuleResp struct + Data v1.RulesResult + Error string + ErrorType v1.ErrorType + Status string + Warnings []string + type Matrix []SampleStream + type QueryRangeParam struct + Direction string + End string + Interval string + Limit string + Query string + Start string + Step string + func (q *QueryRangeParam) ToMap() map[string]string + type QueryResponse struct + Data QueryResponseData + Status string + type QueryResponseData struct + Result []interface{} + ResultType string + type QueryResult struct + Info Info + Stream map[string]string + type SampleStream struct + Metric map[string]string + Values [][]interface{} + func (q *SampleStream) ToStruct(m map[string]interface{}) SampleStream + type SeriesForm struct + End string + Label string + Match string + Start string + func (l *SeriesForm) ToMap() map[string]string + type SeriesResponse struct + Data interface{} + Status string + type Stream struct + Entries [][]string + Labels map[string]string + func (q *Stream) ToStruct(m map[string]interface{}) Stream + type Streams []Stream + type TailParam struct + Delay_For string + Filter string + Level string + Limit string + Query string + Start string + func (q *TailParam) ToMap() map[string]string