//
pkg.gl
Category
github.com/boostgo/lite
app
gateway
package
0.0.63
Repository:
https://github.com/boostgo/lite.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
0
Files
253 SLOC
#
Functions
New
New creates [Gateway] object.
NewRequest
No description provided by the author
NewRoute
No description provided by the author
NewService
No description provided by the author
ReadServices
ReadServices reads [Service] slice from .json file.
#
Structs
Gateway
Gateway controls all services and their routes.
#
Interfaces
Request
Request is gateway request.
Response
Response is gateway response.
Route
Route description of what path need catch and what path need redirect to.
Service
Service search for need route & redirect request to match path.