pkg/

directory
v0.1.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2021 License: Apache-2.0

Directories

Path Synopsis
Package backend contains some code for serving API endpoints (refer to the logrange/api package)
Package backend contains some code for serving API endpoints (refer to the logrange/api package)
lql package contains parser's functions and structures for working with Logrange Query Language (LQL) The LQL supports the following constructions so far: SELECT [<format string>] [FROM ({<tags>}|<tags expression)] [RANGE <time range>] [WHERE <fields expression>] [POSITION (head|tail|<specific pos>)] [OFFSET <number>][LIMIT <number>] SHOW PARTITIONS [({<tags>}|<tags expression)][OFFSET <number>][LIMIT <number>] SHOW PIPES [OFFSET <number>][LIMIT <number>] DESCRIBE PARTITION {<tags>} DESCRIBE PIPE <pipe name> TRUNCATE [({<tags>}|<tags expression)][MINSIZE <size>][MAXSIZE <size>][BEFORE <timestamp>][MAXDBSIZE <size>] CREATE PIPE <pipe name> [FROM ({<tags>}|<tags expression)] [WHERE <fields expression>] DELETE PIPE <pipe name> This file is copied from github.com/alecthomas/participle/lexer and modified to provide choosing longest match regexp functionality
lql package contains parser's functions and structures for working with Logrange Query Language (LQL) The LQL supports the following constructions so far: SELECT [<format string>] [FROM ({<tags>}|<tags expression)] [RANGE <time range>] [WHERE <fields expression>] [POSITION (head|tail|<specific pos>)] [OFFSET <number>][LIMIT <number>] SHOW PARTITIONS [({<tags>}|<tags expression)][OFFSET <number>][LIMIT <number>] SHOW PIPES [OFFSET <number>][LIMIT <number>] DESCRIBE PARTITION {<tags>} DESCRIBE PIPE <pipe name> TRUNCATE [({<tags>}|<tags expression)][MINSIZE <size>][MAXSIZE <size>][BEFORE <timestamp>][MAXDBSIZE <size>] CREATE PIPE <pipe name> [FROM ({<tags>}|<tags expression)] [WHERE <fields expression>] DELETE PIPE <pipe name> This file is copied from github.com/alecthomas/participle/lexer and modified to provide choosing longest match regexp functionality
tag
Package tag provides functions for working with tags.
Package tag provides functions for working with tags.
kvstring
kvstring package contains functions for representing string key:value pairs as one string and converting such strings to maps etc.
kvstring package contains functions for representing string key:value pairs as one string and converting such strings to maps etc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL