Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RediSemaphore ¶
type RediSemaphore struct {
// contains filtered or unexported fields
}
func NewResiSemaphore ¶
func NewResiSemaphore(name string) *RediSemaphore
func (*RediSemaphore) CheckInited ¶
func (r *RediSemaphore) CheckInited() (bool, error)
func (*RediSemaphore) Init ¶
func (r *RediSemaphore) Init(initNum int) error
func (*RediSemaphore) Remove ¶
func (r *RediSemaphore) Remove() error
func (*RediSemaphore) Signal ¶
func (r *RediSemaphore) Signal()
func (*RediSemaphore) Wait ¶
func (r *RediSemaphore) Wait()
Click to show internal directories.
Click to hide internal directories.