Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Cors CorsConfig TaosConfigDir string Debug bool Port int LogLevel string SSl SSl Log Log Pool Pool }
var (
Conf *Config
)
type CorsConfig ¶
type CorsConfig struct { AllowAllOrigins bool AllowOrigins []string AllowHeaders []string ExposeHeaders []string AllowCredentials bool AllowWebSockets bool }
func (*CorsConfig) GetConfig ¶
func (conf *CorsConfig) GetConfig() cors.Config
Click to show internal directories.
Click to hide internal directories.