Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
Server redis proxy server
func (*Server) DoCommand ¶
func (s *Server) DoCommand(header *headers.RequestHeader, commandName string, args ...interface{}) (interface{}, error)
DoCommand performs a redis command
func (*Server) DoCreateService ¶
DoCreateService creates a service
func (*Server) DoLuaScript ¶
func (s *Server) DoLuaScript(header *headers.RequestHeader, script string, keyCount int, keyAndArgs ...interface{}) (interface{}, error)
DoLuaScript run a lua script to perform multiple redis operations
Click to show internal directories.
Click to hide internal directories.