router

package
v0.0.0-...-12fcf6b Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouter

func InitRouter() *gin.Engine

func Ping

func Ping(c *gin.Context)

Ping godoc @Summary ping pong @Description return pong @ID ping-pong @Accept json @Produce json @Success 200 {object} ResponsePing @Router /ping [get]

Types

type ResponsePing

type ResponsePing struct {
	Message string `json:"message" example:"pong"`
}

Jump to

Keyboard shortcuts

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