routes

package
v0.0.0-...-36c16f3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GinRouting = "gin"
)

Definition of each routing method

Variables

This section is empty.

Functions

This section is empty.

Types

type GinRouter

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

func (*GinRouter) Configure

func (r *GinRouter) Configure()

func (*GinRouter) Register

func (r *GinRouter) Register()

func (*GinRouter) Run

func (r *GinRouter) Run() error

type Router

type Router interface {
	Configure()
	Register()
	Run() error
}

func GetRouter

func GetRouter(routingMethod string) Router

GetRouter allows us to implement a different routing approach.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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