# Functions
Define new template.
IntervalString converts a sign and string into a number of seconds.
No description provided by the author
IsNameChar checks if specified char is actually a valid (from graphite's protocol point of view).
NewConstExpr Creates new Constant expression.
NewExpr creates a new expression with specified target and arguments.
NewExprTyped creates a new expression with specified target and arguments.
NewNameExpr Creates new expression with specified name only.
NewTargetExpr Creates new expression with specified target only.
NewValueExpr Creates new Value expression.
Parse parses string as an expression.
ParseExpr actually do all the parsing.
No description provided by the author
No description provided by the author
# Variables
ErrBadType is an eval error returned when a argument has wrong type.
ErrInvalidArg is eval error for invalid or mismatch function arg.
ErrInvalidInterval is an eval error returned when an interval is set to 0.
ErrMissingArgument is an eval error returned when a argument is missing.
ErrMissingComma is a parse error returned when an expression is missing a comma.
ErrMissingExpr is a parse error returned when an expression is missing.
ErrMissingQuote is a parse error returned when an expression is missing a quote.
ErrMissingTimeseries is an eval error returned when a time series argument is missing.
ErrMissingValues is an eval error returned when an empty time series is returned but is expected to be non-empty.
ErrUnexpectedCharacter is a parse error returned when an expression contains an unexpected character.
ErrUnknownTimeUnits is an eval error returned when a time unit is unknown to system.
RangeTables is an array of *unicode.RangeTable.
# Structs
IntOrInf is either positive infinity or an integer value.
MetricRequest contains all necessary data to request a metric.
NodeOrTag structure contains either Node (=integer) or Tag (=string) They are distinguished by "IsTag" = true in case it's tag.
# Interfaces
Expr defines an interface to talk with expressions.