package
Version:
v1.43.0-fastdelta
Opens a new window with list of versions in this module.
Published: Oct 7, 2022
License: Apache-2.0, BSD-3-Clause, Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
An Endpoint is an API endpoint associated with a (host, method, path)
String returns a constructor without field names.
A Tree is a prefix tree for matching endpoints based on http requests.
NewTree creates a new Tree. You can optionally pass endpoints to add to the
tree.
Add adds zero or more endpoints to the tree.
Get attempts to find the endpoints associated with the given hostname, http
http method and http path. It returns false if no endpoints matched.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.