server

package module
v0.0.0-...-8102a39 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandFunc

type CommandFunc func(c *Context)

type Context

type Context struct {
	Args [][]byte
	// contains filtered or unexported fields
}

func (*Context) AppendBulk

func (c *Context) AppendBulk(b []byte)

func (*Context) AppendBulkArray

func (c *Context) AppendBulkArray(bs [][]byte)

func (*Context) AppendError

func (c *Context) AppendError(s string)

func (*Context) AppendInt

func (c *Context) AppendInt(i int64)

func (*Context) AppendNull

func (c *Context) AppendNull()

func (*Context) AppendOK

func (c *Context) AppendOK()

func (*Context) ErrInvalidArgs

func (c *Context) ErrInvalidArgs()

func (*Context) ErrInvalidExp

func (c *Context) ErrInvalidExp()

func (*Context) ErrInvalidInt

func (c *Context) ErrInvalidInt()

func (*Context) ErrSyntax

func (c *Context) ErrSyntax()

func (*Context) ErrUnknown

func (c *Context) ErrUnknown(err error)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New() (*Server, error)

func (*Server) Cleanup

func (s *Server) Cleanup() error

func (*Server) Run

func (s *Server) Run() error

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

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