router

package
v0.0.0-...-26dc8d3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	*minikit.Base
	// contains filtered or unexported fields
}

Router AFAIRE.

func New

func New(components *components.Components) *Router

New AFAIRE.

func (*Router) Get

func (cr *Router) Get(path string, handler http.Handler)

Get AFAIRE.

func (*Router) Handler

func (cr *Router) Handler() http.Handler

ServeHTTP AFAIRE.

func (*Router) Post

func (cr *Router) Post(path string, handler http.Handler)

Post AFAIRE.

Jump to

Keyboard shortcuts

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