kikinteractive/gin-cors

Name: gin-cors

Owner: Kik Interactive

Description: CORS middleware for Gin.

Created: 2015-03-18 14:17:02.0

Updated: 2017-01-30 14:31:46.0

Pushed: 2015-08-25 07:45:51.0

Homepage:

Size: 92

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CORS middleware for gin.

DEPRECATED

This package is no longer maintained and will be removed in the future. Please use the CORS subpackage in rounds/go-gin-contrib instead.

Installation
 get github.com/tommy351/gin-cors
Use
rt (
"github.com/gin-gonic/gin"
"github.com/tommy351/gin-cors"


 main(){
g := gin.New()
g.Use(cors.Middleware(cors.Options{}))


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.