# Functions
BuildQuery converts the fields of a config object to a delimited query string.
BuildQueryWithCustomFields converts the fields of a config object to a delimited query string, escaping any custom fields that share the same key as a config prop using a "__" prefix.
ColorFormatTree returns a color highlighted string representation of a node tree.
ColorizeToken colorizes the value according to the tokenType.
ColorizeValue colorizes the input string according to what type appears to be.
CreateEnumFormatter creates a EnumFormatter struct.
EscapeKey adds the KeyPrefix to custom URL query keys that conflict with service config prop keys.
GetConfigFieldString serializes the config field value to a string representation.
GetConfigFormat returns type and field information about a ServiceConfig.
GetConfigPropFromString deserializes a config property from a string representation using the ConfigProp interface.
GetConfigPropString serializes a config property to a string representation using the ConfigProp interface.
GetConfigQueryResolver returns the config itself if it implements ConfigQueryResolver otherwise it creates and returns a PropKeyResolver that implements it.
GetServiceConfig returns the inner config of a service.
GetServiceConfigFormat returns type and field information about a ServiceConfig, resolved from it's Service.
IsNumber returns whether the specified string is number-like.
NewPropKeyResolver creates a new PropKeyResolver and initializes it using the provided config.
ParseBool returns true for "1","true","yes" or false for "0","false","no" or defaultValue for any other value.
ParseURLPart returns the URLPart that matches the supplied string.
ParseURLParts returns the URLParts that matches the supplied string.
PrintBool returns "Yes" if value is true, otherwise returns "No".
SetConfigField deserializes the inputValue and sets the field of a config to that value.
SetConfigPropsFromQuery iterates over all the config prop keys and sets the config prop to the corresponding query value based on the key.
UnescapeKey removes the KeyPrefix from custom URL query keys that conflict with service config prop keys.
# Constants
ContainerToken is used for Array/Slice and Map tokens.
EnumInvalid is the constant value that an enum gets assigned when it could not be parsed.
EnumToken represents enum values.
ErrorToken represent a value that was not serializable or otherwise invalid.
FalseToken represent boolean false.
KeyPrefix is the prefix prepended to custom URL query keys that conflict with service config prop keys, consisting of two underscore characters ("__").
NumberToken represents all numbers.
PropToken represent a serializable struct prop.
StringToken represents strings and keys.
TrueToken represent boolean true.
UnknownToken represents all unknown/unspecified tokens.
indicator as to what part of an URL a field is serialized to.
indicator as to what part of an URL a field is serialized to.
indicator as to what part of an URL a field is serialized to.
indicator as to what part of an URL a field is serialized to.
indicator as to what part of an URL a field is serialized to.
indicator as to what part of an URL a field is serialized to.
# Variables
ColorizeContainer colorizes the input string as "Container".
ColorizeDesc colorizes the input string as "Description".
ColorizeEnum colorizes the input string as "Enum".
ColorizeError colorizes the input string as "Error".
ColorizeFalse colorizes the input string as "False".
ColorizeLink colorizes the input string as "Link".
ColorizeNumber colorizes the input string as "Number".
ColorizeProp colorizes the input string as "Prop".
ColorizeString colorizes the input string as "String".
ColorizeTrue colorizes the input string as "True".
# Structs
ConsoleTreeRenderer renders a ContainerNode tree into a ansi-colored console string.
ContainerNode is a Node with child items.
EnumFormatter is the helper methods for enum-like types.
FieldInfo is the meta data about a config field.
MarkdownTreeRenderer renders a ContainerNode tree into a markdown documentation string.
PropKeyResolver implements the ConfigQueryResolver interface for services that uses key tags for query props.
ValueNode is a Node without any child items.
# Interfaces
Node is the generic config tree item.
TreeRenderer renders a ContainerNode tree into a string.
# Type aliases
NodeTokenType is used to represent the type of value that a node has for syntax highlighting.
URLPart is an indicator as to what part of an URL a field is serialized to.