redisema

package
v0.0.0-...-12da35d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2016 License: MIT Imports: 5 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL