Documentation ¶
Index ¶
- type Api
- type Controller
- func (c *Controller) CreateHosting(w http.ResponseWriter, r *http.Request)
- func (c *Controller) GetHostings(w http.ResponseWriter, r *http.Request)
- func (c *Controller) Health(w http.ResponseWriter, r *http.Request)
- func (c *Controller) RemoveHosting(w http.ResponseWriter, r *http.Request)
- func (c *Controller) UpdateHosting(w http.ResponseWriter, r *http.Request)
- type CreateHostingRq
- type CreateHostingRs
- type GetHostingsRs
- type HealthRs
- type RemoveHostingRs
- type ServerService
- type UpdateHostingRq
- type UpdateHostingRs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(serverService ServerService, log *logrus.Logger) *Controller
func (*Controller) CreateHosting ¶
func (c *Controller) CreateHosting(w http.ResponseWriter, r *http.Request)
func (*Controller) GetHostings ¶
func (c *Controller) GetHostings(w http.ResponseWriter, r *http.Request)
func (*Controller) Health ¶
func (c *Controller) Health(w http.ResponseWriter, r *http.Request)
func (*Controller) RemoveHosting ¶
func (c *Controller) RemoveHosting(w http.ResponseWriter, r *http.Request)
func (*Controller) UpdateHosting ¶
func (c *Controller) UpdateHosting(w http.ResponseWriter, r *http.Request)
type CreateHostingRq ¶
type CreateHostingRs ¶
type GetHostingsRs ¶
type RemoveHostingRs ¶
type ServerService ¶
type UpdateHostingRq ¶
type UpdateHostingRs ¶
Click to show internal directories.
Click to hide internal directories.