package
2.4.1+incompatible
Repository: https://github.com/duanqy/community.git
Documentation: pkg.go.dev

# Functions

Add an endpoint to those that will be processed when Serve() is called.
AddPrivate endpoint.
AddPublic endpoint.
BuildRoutes returns all matching routes for specified scope.
RegisterEndpoints register routes for serving API endpoints.
Remove an endpoint.

# Constants

RoutePrefixPrivate used for secured api (requiring api).
RoutePrefixPublic used for the unsecured api.
RoutePrefixRoot used for unsecured endpoints at root (e.g.
RoutePrefixTesting used for isolated testing of routes with custom middleware.

# Type aliases

RouteFunc describes end-point functions.