package
0.20.14
Repository: https://github.com/lack-io/vine.git
Documentation: pkg.go.dev

# Functions

AssumeColonVerbOpt indicates whether a path suffix after a final colon may only be interpreted as a verb.
MustPattern is a helper function which makes it easier to call NewPattern in variable initialization.
NewPattern returns a new Pattern from the given definition values.
Parse parses the string representation of path template.

# Constants

OpCapture pops an item and binds it to the variable.
OpConcatN pops N items from stack, concatenates them and pushes it back to stack.
OpEnd is the least positive invalid opcode.
OpLitPush pushes a component to stack if it matches to the literal.
OpNop does nothing.
OpPush pushes a component to stack.
OpPushM concatenates the remaining components and pushes it to stack.

# Variables

ErrInvalidPattern indicates that the given definition of Pattern is not valid.
ErrNotMatch indicates that the given HTTP request path does not match to the pattern.

# Structs

InvalidTemplateError indicates that the path template is not valid.
Pattern is a template pattern of http request paths defined in github.com/googleapis/googleapis/google/api/http.proto.
Template is a compiled representation of path templates.

# Interfaces

Compiler compiles utilities representation of path templates into marshallable operations.

# Type aliases

An OpCode is a opcode of compiled path patterns.
PatternOpt is an option for creating Patterns.