1
0
Fork 0
Commit graph

17 Commits

Autor SHA1 Nachricht Datum
Sebastian Tobie 6d43861ffc some bigger changes
- The detection of unix and TCP sockets is much better;
- The configuration is now easier exachangable;
- middleware doesn't get lost;
- the defaults func is now supplying the config it needs into the defaults;
2021-11-07 18:51:39 +01:00
Sebastian Tobie aa0592bca9 restructured the server startup 2021-11-06 20:59:56 +01:00
Sebastian Tobie 8594622cae made an huge code cleanup.
go-toml is now not required. Its up to the implementation how it loads/dumps the config.
2021-11-06 13:42:07 +01:00
Sebastian Tobie 2fff12e6f4 created an methodd to stroe templates global and the server can now serve multiple addresses in parrallel. 2021-10-24 18:39:48 +02:00
Sebastian Tobie c3305139d4 changed the Config class to support the new interface to log objects 2021-02-27 00:35:00 +01:00
Sebastian Tobie dceb47069e httpserver is now better usable to handle multiple domains
BREAKING CHANGE:
Authentication is domain dependend and runs in the site registration.
2021-01-24 16:25:58 +01:00
Sebastian Tobie 2c798d6006 added debugging information about the demains 2021-01-23 12:00:51 +01:00
Sebastian Tobie 9973e186ee added support for domains 2021-01-23 11:14:33 +01:00
Sebastian Tobie 37e8ac835e The menus can now be accessed from the handlers 2021-01-20 00:12:54 +01:00
Sebastian Tobie a1b11a6adb added a menu modul.
this module make it easier to use templating.
2021-01-19 23:44:35 +01:00
Sebastian Tobie 5bf5ac8bb2 added an teardownfunction to stop goroutines from the sites. 2021-01-16 19:06:47 +01:00
Sebastian Tobie 63c518f729 forgot to remove the waiting. 2021-01-12 19:29:25 +01:00
Sebastian Tobie 979ae0fbad (*Server).Stop gets the context now from the calling function 2021-01-11 22:45:01 +01:00
Sebastian Tobie 97307bc3d8 added an function to graceful shut down the server. 2021-01-11 22:39:33 +01:00
Sebastian Tobie 3810b30d5d CreateServer uses the (*Server).Use function instead of the internal from the router. 2021-01-10 15:16:26 +01:00
Sebastian Tobie 9dd2e49954 removed useless Method Middleware from the site 2021-01-10 15:14:47 +01:00
Sebastian Tobie c22cb74864 first version of my httpserver 2021-01-09 21:39:05 +01:00