middleware

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminMiddleWare

type AdminMiddleWare struct {
}

func (*AdminMiddleWare) Process_request

func (w *AdminMiddleWare) Process_request(ctx *utils.Ctx, write *utils.Reponse, r *http.Request)

func (*AdminMiddleWare) Process_response

func (w *AdminMiddleWare) Process_response(ctx *utils.Ctx, write *utils.Reponse, r *http.Request)

type HealthMiddleWare

type HealthMiddleWare struct {
	// contains filtered or unexported fields
}

func (*HealthMiddleWare) Process_request

func (w *HealthMiddleWare) Process_request(ctx *utils.Ctx, write *utils.Reponse, r *http.Request)

func (*HealthMiddleWare) Process_response

func (w *HealthMiddleWare) Process_response(ctx *utils.Ctx, write *utils.Reponse, r *http.Request)

type MiddleWare

type MiddleWare interface {
	Process_request(ctx *utils.Ctx, w *utils.Reponse, r *http.Request)

	Process_response(ctx *utils.Ctx, w *utils.Reponse, r *http.Request)
}

type ResourceMiddleWare

type ResourceMiddleWare struct {
}

func (*ResourceMiddleWare) Process_request

func (w *ResourceMiddleWare) Process_request(ctx *utils.Ctx, write *utils.Reponse, r *http.Request)

func (*ResourceMiddleWare) Process_response

func (w *ResourceMiddleWare) Process_response(ctx *utils.Ctx, write *utils.Reponse, r *http.Request)

Jump to

Keyboard shortcuts

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