Documentation
¶
Index ¶
- type State
- func (s *State) AllDown()
- func (s *State) AllUp()
- func (s *State) Change()
- func (s *State) Get() int
- func (s *State) HostDown()
- func (s *State) HostUp()
- func (s *State) Init() error
- func (s *State) IsDown() bool
- func (s *State) IsStateful() bool
- func (s *State) IsStateless() bool
- func (s *State) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
Client *redis.Client
}
State struct
func (*State) IsStateful ¶
IsStateful check if app runs on stateful mode
func (*State) IsStateless ¶
IsStateless check if app runs on stateless mode
Click to show internal directories.
Click to hide internal directories.