Documentation ¶
Index ¶
- type Endpoints
- func (s *Endpoints) AddEndpoints(w http.ResponseWriter, r *http.Request)
- func (s *Endpoints) GetEndpoints(w http.ResponseWriter, r *http.Request)
- func (s *Endpoints) RemoveNodeEndpoints(w http.ResponseWriter, r *http.Request)
- func (s *Endpoints) RemoveServiceEndpoints(w http.ResponseWriter, r *http.Request)
- type Error
- type Routes
- type Server
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
func NewEndpoints ¶
func (*Endpoints) AddEndpoints ¶
func (s *Endpoints) AddEndpoints(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetEndpoints ¶
func (s *Endpoints) GetEndpoints(w http.ResponseWriter, r *http.Request)
func (*Endpoints) RemoveNodeEndpoints ¶
func (s *Endpoints) RemoveNodeEndpoints(w http.ResponseWriter, r *http.Request)
func (*Endpoints) RemoveServiceEndpoints ¶
func (s *Endpoints) RemoveServiceEndpoints(w http.ResponseWriter, r *http.Request)
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
func (*Routes) GetServices ¶
func (s *Routes) GetServices(w http.ResponseWriter, r *http.Request)
func (*Routes) RemoveService ¶
func (s *Routes) RemoveService(w http.ResponseWriter, r *http.Request)
func (*Routes) SetService ¶
func (s *Routes) SetService(w http.ResponseWriter, r *http.Request)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RegisterEndpoints ¶
func (s *Server) RegisterEndpoints(service api.Endpoints)
func (*Server) RegisterRoutes ¶
func (s *Server) RegisterRoutes(service api.Routes)
Click to show internal directories.
Click to hide internal directories.