Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Application ¶
Application is example application logic that uses query-port server
Types ¶
type RequestHandler ¶
RequestHandler shall interpret the request message from client and post response message(s) on `respch` channel, until `quitch` is closed. When there are no more response to post handler shall close `respch`.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles queryport connections.
func (*Server) Close ¶
Close queryport daemon. Close method only shuts down lister sockets Established connections will be only closed once client closes those connections.
func (*Server) Statistics ¶
func (s *Server) Statistics() ServerStats
type ServerStats ¶
type ServerStats struct {
Connections int64
}
Click to show internal directories.
Click to hide internal directories.