Documentation
¶
Overview ¶
Package executeapi parses API Gateway invoke URLs that carry the API id in the host or an internal path prefix.
Index ¶
Constants ¶
View Source
const NoBasePath = "(none)"
NoBasePath is the wire value AWS uses for a mapping at the domain root.
Variables ¶
This section is empty.
Functions ¶
func MatchBasePath ¶
MatchBasePath picks the longest key that is a whole-segment prefix of path and returns it with the remaining path (always starting with "/"). The empty key and "(none)" match any path as the lowest-precedence fallback.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.