Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server server.Config `yaml:"server,omitempty"` McClient mcclient.Config `yaml:"mcclient,omitempty"` Logger log.Logger // Add open CORS headers to easch response CorsAllowAll bool // Return an ETag based on the texture ID UseETags bool // Return a 302 redirect for Username requests to their related UUID RedirectUsername bool CacheControlTTL time.Duration }
func (*Config) RegisterFlags ¶
RegisterFlags registers flag.
Click to show internal directories.
Click to hide internal directories.