~nromdotcom/gemif

ref: 73f32fca6ddc83433128bd62edc6e2dff4e6716d gemif/pkg/gemserver/serverconfig.go -rw-r--r-- 430 bytes
73f32fcaNorm MacLennan Make homepage customizable in config.toml 1 year, 10 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package gemserver

// ServerConfig contains basic server config settings.
type ServerConfig struct {
	Domain   string
	Port     int64
	CertFile string
	KeyFile  string
	Version  string
	HomePage IndexConfig
}

// IndexConfig contains configuration info for the homepage.
type IndexConfig struct {
	DisplayProjectInfo bool
	DisplayPoweredBy   bool
	ContactEmail       string
	Title              string
	PageBody           string
}