Documentation ¶
Index ¶
- Constants
- Variables
- func CheckUlimit(min int)
- func GetEventPath(evt interface{}) string
- func GetOriginError(err *errors.Err) error
- func NewTaskRunner(addr string, netTimeout int) (*taskRunner, error)
- func StringsContain(s []string, key string) bool
- func WriteMigrateKeyCmd(w io.Writer, addr string, timeoutMs int, key []byte) error
- type BufioDeadlineReadWriter
- type Conf
- type DeadlineReadWriter
- type MulOp
- type MultiOperator
- type OnSuicideFun
- type PipelineRequest
- type PipelineResponse
- type Server
- type Slot
Constants ¶
View Source
const ( HASHTAG_START = '{' HASHTAG_END = '}' )
Variables ¶
View Source
var (
OK_BYTES = []byte("+OK\r\n")
)
Functions ¶
func CheckUlimit ¶
func CheckUlimit(min int)
func GetEventPath ¶
func GetEventPath(evt interface{}) string
func GetOriginError ¶
func NewTaskRunner ¶
func StringsContain ¶
Types ¶
type BufioDeadlineReadWriter ¶
type BufioDeadlineReadWriter interface { DeadlineReadWriter BufioReader() *bufio.Reader }
type DeadlineReadWriter ¶
type MultiOperator ¶
type MultiOperator struct {
// contains filtered or unexported fields
}
func NewMultiOperator ¶
func NewMultiOperator(server string) *MultiOperator
type OnSuicideFun ¶
type OnSuicideFun func() error
type PipelineRequest ¶
type PipelineRequest struct {
// contains filtered or unexported fields
}
func (*PipelineRequest) String ¶
func (pr *PipelineRequest) String() string
type PipelineResponse ¶
type PipelineResponse struct {
// contains filtered or unexported fields
}
type Server ¶
type Server struct { OnSuicide OnSuicideFun // contains filtered or unexported fields }
func (*Server) OnGroupChange ¶
func (*Server) OnSlotRangeChange ¶
func (s *Server) OnSlotRangeChange(param *models.SlotMultiSetParam)
func (*Server) RegisterAndWait ¶
func (s *Server) RegisterAndWait()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.