corscfg

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	Prefix string
}

func (Flags) AddFlags

func (c Flags) AddFlags(flags *flag.FlagSet)

func (Flags) InitFromViper

func (c Flags) InitFromViper(v *viper.Viper) Options

type Options

type Options struct {
	AllowedOrigins []string
	AllowedHeaders []string
}

Jump to

Keyboard shortcuts

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