supranim/core/autolink

Search:
Group by:

Types

Autolinked = tuple[handleName, regexPath, path: string,
                   params: Option[seq[(string, bool)]]]
RoutePattern = tuple[key: string, reKey: string, isOptional: bool]
RoutePatternsTable = OrderedTableRef[string, RoutePattern]

Procs

proc autolinkController(routePath: string; httpMethod: HttpMethod;
                        isWebSocket = false): Autolinked {.compileTime,
    ...raises: [KeyError], tags: [], forbids: [].}