imps

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinImp

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

func NewGinImp

func NewGinImp(r *gin.Engine) *GinImp

func (*GinImp) HandleFunc

func (r *GinImp) HandleFunc(path string, f func(http.ResponseWriter, *http.Request)) xx.MethodsFace

func (*GinImp) Methods

func (r *GinImp) Methods(methods ...string)

type GorillaMuxImp

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

func NewGorillaMuxImp

func NewGorillaMuxImp(r *mux.Router) *GorillaMuxImp

func (*GorillaMuxImp) HandleFunc

func (r *GorillaMuxImp) HandleFunc(path string, f func(http.ResponseWriter, *http.Request)) xx.MethodsFace

func (*GorillaMuxImp) Methods

func (r *GorillaMuxImp) Methods(methods ...string)

Jump to

Keyboard shortcuts

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