service

package
v0.0.0-...-bfc3bc0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

func (s *Server) DoCreateService(ctx context.Context)

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

Jump to

Keyboard shortcuts

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