snippet

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() parser.IngressAnnotation

NewParser creates a new CORS annotation parser

Types

type Config

type Config struct {
	Frontend []string
	Backend  []string
}

Config has the snippet configurations. This struct is used in both frontend (locations) and backend structs.

func (*Config) Equal

func (c1 *Config) Equal(c2 *Config) bool

Equal tests equality between two Config structs

Jump to

Keyboard shortcuts

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