Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.49 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.49 KB

Pretree

GitHub release Released API docs Build Go Report Card Lines of code Languages GitHub go.mod Go version (subdirectory of monorepo) GPL3 licensed

pretree is a package for storing and querying routing rules with prefix tree .

pretree 是一个用于存储和查询路由规则的包。它用前缀树存储路由规则,支持包含变量的路由。

pretree is a package for storing and querying routing rules. It uses prefix tree to store routing rules and supports routing with variables.

Doc

See this document at GoDoc

Install

go get -u github.com/obity/pretree@latest

ToDo

  • Query返回路由中的变量vars存在一个map中.