Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = errors.New("not implemented") ErrInvalidCommand = errors.New("invalid command") ErrUnknownCommand = errors.New("unknown command") )
Generic memcached errors
Functions ¶
func ListenAndServe ¶
ListenAndServe starts a memcache server on the
Types ¶
type Logger ¶
type Logger interface {
Error(v ...interface{})
Errorf(format string, v ...interface{})
Errorln(v ...interface{})
Info(v ...interface{})
Infof(format string, v ...interface{})
Infoln(v ...interface{})
Warning(v ...interface{})
Warningf(format string, v ...interface{})
Warningln(v ...interface{})
Fatal(v ...interface{})
Fatalf(format string, v ...interface{})
Fatalln(v ...interface{})
}
type Server ¶
Server defines parameters for running a memcache server.
func (*Server) ListenAndServe ¶
ListenAndServe listens on the configured network address and then calls Serve to handle memcache requests
Click to show internal directories.
Click to hide internal directories.