Documentation ¶
Index ¶
- type Server
- func (s *Server) Close() error
- func (s *Server) Deregister(w http.ResponseWriter, r *http.Request)
- func (s *Server) ListenAndServe(ctx context.Context) error
- func (s *Server) RegisterNew(w http.ResponseWriter, r *http.Request)
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (s *Server) StartHealthChecks(ctx context.Context)
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
}
func (*Server) Deregister ¶
func (s *Server) Deregister(w http.ResponseWriter, r *http.Request)
func (*Server) RegisterNew ¶
func (s *Server) RegisterNew(w http.ResponseWriter, r *http.Request)
func (*Server) ServeHTTP ¶
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP is Round Robin handler for loadbalancing
func (*Server) StartHealthChecks ¶
Click to show internal directories.
Click to hide internal directories.