Documentation ¶
Index ¶
- type L5pbserver
- func (l *L5pbserver) GetPort() uint32
- func (l *L5pbserver) GetProtocol() string
- func (l *L5pbserver) Initialize(_ context.Context, option map[string]interface{}, ...) error
- func (l *L5pbserver) PostProcess(req *cl5Request)
- func (l *L5pbserver) PreProcess(req *cl5Request) bool
- func (l *L5pbserver) Restart(_ map[string]interface{}, _ map[string]apiserver.APIConfig, _ chan error) error
- func (l *L5pbserver) Run(errCh chan error)
- func (l *L5pbserver) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type L5pbserver ¶
type L5pbserver struct {
// contains filtered or unexported fields
}
L5pbserver CL5 API服务器
func (*L5pbserver) Initialize ¶
func (l *L5pbserver) Initialize(_ context.Context, option map[string]interface{}, _ map[string]apiserver.APIConfig) error
Initialize 初始化CL5 API服务器
func (*L5pbserver) PostProcess ¶
func (l *L5pbserver) PostProcess(req *cl5Request)
PostProcess 请求后处理:统计/告警
func (*L5pbserver) PreProcess ¶
func (l *L5pbserver) PreProcess(req *cl5Request) bool
PreProcess 请求预处理:限频/鉴权
Click to show internal directories.
Click to hide internal directories.