config

package
v0.0.0-...-ed56857 Latest Latest
Warning

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

Go to latest
Published: May 31, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringToSlice

func StringToSlice(in string) []string

StringToSlice return slice from "x,y,z"

Types

type Config

type Config struct {
	Verbosity int
	IP        string
	Port      string
	Secret    string

	CORSAllowedOrigins     []string
	CORSAllowedMethods     []string
	CORSAllowedHeaders     []string
	CORSExposedHeaders     []string
	CORSAllowCredentials   bool
	CORSMaxAge             int
	CORSOptionsPassThrough bool
	CORSDebug              bool
}

Config type

Jump to

Keyboard shortcuts

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