routes

package
v0.0.0-...-643a650 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter() *mux.Router

NewRouter creates the routes for GET and POST

Types

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc web.Handler
}

Route struct holds attributes to declare routes

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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