add built in docu

This commit is contained in:
2023-07-18 13:35:33 +02:00
parent a457a313b7
commit ab3954a6cb
7 changed files with 117 additions and 35 deletions

View File

@@ -17,3 +17,9 @@ func NewTrigger(config internal.KillSwitchConfig) (Trigger, error) {
return nil, fmt.Errorf("Error parsing config: Trigger with type %s does not exists", config.Type)
}
func GetDocumenters() []internal.Documenter {
return []internal.Documenter{
TimeOut{},
}
}