1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-20 02:00:49 +00:00
strimertul/modules/http/data.go
Ash Keel 0d3233ecbd
Big module refactor
Changing the HTTP config will now restart the server or, if possible, just hotpatch the configuration
2021-11-19 19:37:42 +01:00

10 lines
221 B
Go

package http
const ServerConfigKey = "http/config"
type ServerConfig struct {
Bind string `json:"bind"`
EnableStaticServer bool `json:"enable_static_server"`
Path string `json:"path"`
}