Documentation ¶
Index ¶
- Variables
- func DelayedForceRefreshAutojoin(codeID string, in time.Duration) error
- func ForceRefreshAutojoin(codeID string) error
- func GetOrForceExeIDExecution(exeid, tvsip string, timeoutSec int) (string, bool, error)
- func Init() (err error)
- func JoinOrCreateExecution(codeID, exeid, tvsip string, ...) (string, string, error)
- func LockTryOnce(key string, lockExpiration time.Duration) (bool, error)
- func Unlock(key string) error
- type Client
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNil = redis.Nil
Functions ¶
func DelayedForceRefreshAutojoin ¶
Same as ForceRefreshAutojoin, but with a delay in case of an error not to overwhelm a TVS
func ForceRefreshAutojoin ¶
Can be used for example after a code update to force new request to start a new updated toaster
func JoinOrCreateExecution ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.