Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct { Engine *gin.Engine Cached *gin.RouterGroup Uncached *gin.RouterGroup }
Router contains bindings for gin's router engine
func (*Router) SetAllowCors ¶
SetAllowCors allows all origins
func (*Router) SetLevelDBCache ¶
SetLevelDBCache sets a LevelDB backed cache
func (*Router) SetRateLimiter ¶
SetRateLimiter sets the rate limiter
Click to show internal directories.
Click to hide internal directories.