Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the TQMemory network server.
func New ¶
func New(cache tqmemory.CacheInterface, addr string) *Server
New creates a new Server instance.
func NewWithOptions ¶
func NewWithOptions(cache tqmemory.CacheInterface, addr string, maxConnections int) *Server
NewWithOptions creates a new Server with options.
func (*Server) CurrentConnections ¶
CurrentConnections returns the current number of connections.
Click to show internal directories.
Click to hide internal directories.