dispatch

package
v0.0.0-...-5823538 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeStructAsHandlerFunc

func MakeStructAsHandlerFunc(view interface{}) gin.HandlerFunc

Types

type MapRequestDispatcher

type MapRequestDispatcher map[string]gin.HandlerFunc

func (MapRequestDispatcher) DispatchRequest

func (r MapRequestDispatcher) DispatchRequest(context *gin.Context)

type RequestDispatcher

type RequestDispatcher interface {
	DispatchRequest(context *gin.Context)
}

Jump to

Keyboard shortcuts

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