Documentation ¶
Index ¶
- type Server
- func (s *Server) NSQ(w http.ResponseWriter, r *http.Request)
- func (s *Server) Ping(w http.ResponseWriter, r *http.Request)
- func (s *Server) Postgres(w http.ResponseWriter, r *http.Request)
- func (s *Server) Redis(w http.ResponseWriter, r *http.Request)
- func (s *Server) Run() error
- func (s *Server) Shutdown(ctx context.Context) error
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 struct
func (*Server) NSQ ¶
func (s *Server) NSQ(w http.ResponseWriter, r *http.Request)
NSQ test NSQ connection
func (*Server) Postgres ¶
func (s *Server) Postgres(w http.ResponseWriter, r *http.Request)
Postgres test postgresql db connection
Click to show internal directories.
Click to hide internal directories.