routing

package
v0.0.0-...-2fd3ad3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPingRoute

func GetPingRoute(ctx *gin.Context)

GetPingRoute - simple string with current time.

func InitRouter

func InitRouter() error

InitRouter - initializes Gin router and runs it.

func PostPingRoute

func PostPingRoute(ctx *gin.Context)

PostPingRoute - simple JSON with current time.

func SetupRouter

func SetupRouter() *gin.Engine

SetupRouter - initializes Gin router, configures CORS, along with all routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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