Back to

Package corsutil

Latest Go to latest

The highest tagged major version is .

Published: Feb 6, 2020 | License: LGPL-3.0 | Module:


func GetDomain

func GetDomain(ctx *gin.Context) string

GetDomain get host domain

func SetCORS

func SetCORS(ctx *gin.Context)

SetCORS Enables cross-site script calls.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier