A web interface to an NMDC hub https://code.ivysaur.me/nmdc-webfrontend/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Config.go 507B

1234567891011121314151617181920212223
  1. package main
  2. type Config struct {
  3. App struct {
  4. MotdHTML string `json:"motd"`
  5. ContentedServer string `json:"contented_server"`
  6. }
  7. Web struct {
  8. Port int `json:"port"`
  9. BindTo string `json:"bind_to"`
  10. Title string `json:"title"`
  11. CustomFavicon bool `json:"custom_favicon"`
  12. ExternalWebroot bool `json:"external_webroot,omitempty"`
  13. }
  14. Hub struct {
  15. Address string `json:"address"`
  16. Port int `json:"port,omitempty"`
  17. Tag string `json:"tag"`
  18. }
  19. }