Source File
state.go
Belonging Package
github.com/redis/go-redis/v9/maintnotifications
package maintnotifications// State represents the current state of a maintenance operationtype State intconst (// StateIdle indicates no upgrade is in progressStateIdle State = iota// StateHandoff indicates a connection handoff is in progressStateMoving)// String returns a string representation of the state.func ( State) () string {switch {case StateIdle:return "idle"case StateMoving:return "moving"default:return "unknown"}}
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |