HttpConfig

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServerConfig

type HttpServerConfig struct {
	// Bind Address
	Host string `config:"HTTP_BIND_ADDRESS" default:"0.0.0.0"`
	Port int    `config:"HTTP_BIND_PORT" default:"8080"`

	// CORS
	AllowedOrigins string `config:"HTTP_ALLOWED_ORIGINS" default:"*"`
}

Jump to

Keyboard shortcuts

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