serve

package
v0.0.0-...-ae88a46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

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{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL