Add a NOT_READY return code

This commit is contained in:
Frank Denis 2021-01-03 18:09:03 +01:00
parent f9ec0a9c09
commit daa1f3d3b1
2 changed files with 7 additions and 1 deletions

View file

@ -46,6 +46,7 @@ const (
PluginsReturnCodeNetworkError
PluginsReturnCodeCloak
PluginsReturnCodeServerTimeout
PluginsReturnCodeNotReady
)
var PluginsReturnCodeToString = map[PluginsReturnCode]string{
@ -61,6 +62,7 @@ var PluginsReturnCodeToString = map[PluginsReturnCode]string{
PluginsReturnCodeNetworkError: "NETWORK_ERROR",
PluginsReturnCodeCloak: "CLOAK",
PluginsReturnCodeServerTimeout: "SERVER_TIMEOUT",
PluginsReturnCodeNotReady: "NOT_READY",
}
type PluginsState struct {