package
1.1.4
Repository: https://github.com/kotlin2019/gin.git
Documentation: pkg.go.dev

# README

#Gin Default Server

This is API experiment for Gin.

package main

import (
	"github.com/gin-gonic/gin"
	"github.com/gin-gonic/gin/ginS"
)

func main() {
	ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
	ginS.Run()
}

# Functions

No description provided by the author
DELETE is a shortcut for router.Handle("DELETE", path, handle).
GET is a shortcut for router.Handle("GET", path, handle).
Group creates a new router group.
No description provided by the author
HEAD is a shortcut for router.Handle("HEAD", path, handle).
No description provided by the author
No description provided by the author
NoMethod sets the handlers called when..
NoRoute adds handlers for NoRoute.
OPTIONS is a shortcut for router.Handle("OPTIONS", path, handle).
PATCH is a shortcut for router.Handle("PATCH", path, handle).
POST
POST is a shortcut for router.Handle("POST", path, handle).
PUT is a shortcut for router.Handle("PUT", path, handle).
Run : The router is attached to a http.Server and starts listening and serving HTTP requests.
RunTLS : The router is attached to a http.Server and starts listening and serving HTTPS requests.
RunUnix : The router is attached to a http.Server and starts listening and serving HTTP requests through the specified unix socket (ie.
No description provided by the author
Static serves files from the given file system root.
No description provided by the author
No description provided by the author
Use attachs a global middleware to the router.