Documentation ¶
Index ¶
- func ErrorCode(err error) int
- type CallByUpstreamID
- type Controller
- func (ctrl *Controller) AddUpstream(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) DeleteUpstream(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) DownstreamInfo(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) Downstreams(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) Info(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) Pause(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) PauseUpstream(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) PopRequest(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) ProcessMemory(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) Queues(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) RedisInfo(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) Resume(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) ResumeUpstream(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) UpstreamInfo(c *gin.Context) (sth.Result, error)
- func (ctrl *Controller) Upstreams(c *gin.Context) (result sth.Result, err error)
- func (ctrl *Controller) UpstreamsInfo(c *gin.Context) (sth.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallByUpstreamID ¶
type CallByUpstreamID func(core.UpstreamID) (sth.Result, error)
CallByUpstreamID TODO
type Controller ¶ added in v0.1.0
Controller TODO
func (*Controller) AddUpstream ¶ added in v0.1.0
AddUpstream TODO
func (*Controller) DeleteUpstream ¶ added in v0.1.0
DeleteUpstream TODO
func (*Controller) DownstreamInfo ¶ added in v0.1.0
DownstreamInfo TODO
func (*Controller) Downstreams ¶ added in v0.1.0
Downstreams TODO
func (*Controller) PauseUpstream ¶ added in v0.1.0
PauseUpstream TODO
func (*Controller) PopRequest ¶ added in v0.1.0
PopRequest TODO
func (*Controller) ProcessMemory ¶ added in v0.1.0
ProcessMemory TODO
func (*Controller) ResumeUpstream ¶ added in v0.1.0
ResumeUpstream TODO
func (*Controller) UpstreamInfo ¶ added in v0.1.0
UpstreamInfo TODO
func (*Controller) UpstreamsInfo ¶ added in v0.1.1
UpstreamsInfo TODO
Click to show internal directories.
Click to hide internal directories.