Back to godoc.org

Package corsutil

v0.0.0-...-67d514a
Latest Go to latest

The highest tagged major version is .

Published: Feb 6, 2020 | License: LGPL-3.0 | Module: github.com/GLYASAI/rainbond-operator

Index

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