Documentation ¶
Overview ¶
Package serve
@author: xwc1125
Package server ¶
@author: xwc1125
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchRoute ¶
func MatchRoute(ctx *fasthttp.RequestCtx, route *entity.Route) bool
Types ¶
type ProxyServe ¶
type ProxyServe struct {
// contains filtered or unexported fields
}
func NewProxyServe ¶
func NewProxyServe() (*ProxyServe, error)
func (*ProxyServe) ProxyHandler ¶
func (p *ProxyServe) ProxyHandler(ctx *fasthttp.RequestCtx)
ProxyHandler ...
type WatchRoute ¶
type WatchRoute struct {
// contains filtered or unexported fields
}
func NewWatchRoute ¶
func NewWatchRoute(confCache *plugins.ConfCache) *WatchRoute
func (*WatchRoute) WatchEventDelete ¶
func (w *WatchRoute) WatchEventDelete(key string)
func (*WatchRoute) WatchEventPut ¶
func (w *WatchRoute) WatchEventPut(key string, objPtr interface{})
Click to show internal directories.
Click to hide internal directories.