Open djthorpe opened 1 year ago
Additional methods:
Available() []File
- returns available configs as a set of unqiue strings (note we should also provide the state - so enabled or disabled)Enable(keyword string,vars ....any) error
- enable a configuration through a template, returns error if test was not successfulDisable(keyword string) error
- disable a configurationAdd(keyword string,data []byte) error
- add a configuration (does not enable it)Delete(keyword string) error
- delete a configuration, disables it if enabledPR's #40 #39
Implement an nginx service tasks:
The repository link is: https://github.com/mutablelogic/go-server/tree/v4/pkg/handler/nginx