Documentation ¶
Index ¶
- type ClientController
- func (uc ClientController) CreateClient(w http.ResponseWriter, r *http.Request)
- func (uc ClientController) DeleteClient(w http.ResponseWriter, r *http.Request)
- func (uc ClientController) GetClient(w http.ResponseWriter, r *http.Request)
- func (uc ClientController) GetClients(w http.ResponseWriter, r *http.Request)
- func (uc ClientController) RegisterRoutes(r *http.ServeMux)
- type CreateClientDTO
- type IndexClientDTO
- type ShowClientDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientController ¶
type ClientController struct { }
func NewController ¶
func NewController() *ClientController
func (ClientController) CreateClient ¶
func (uc ClientController) CreateClient(w http.ResponseWriter, r *http.Request)
func (ClientController) DeleteClient ¶
func (uc ClientController) DeleteClient(w http.ResponseWriter, r *http.Request)
func (ClientController) GetClient ¶
func (uc ClientController) GetClient(w http.ResponseWriter, r *http.Request)
func (ClientController) GetClients ¶
func (uc ClientController) GetClients(w http.ResponseWriter, r *http.Request)
func (ClientController) RegisterRoutes ¶
func (uc ClientController) RegisterRoutes(r *http.ServeMux)
type CreateClientDTO ¶
type CreateClientDTO struct { ClientId string Username string SubscribeAcl string PublishAcl string InputPassword string InputPasswordConfirm string }
func (*CreateClientDTO) Validate ¶
func (a *CreateClientDTO) Validate() bool
type IndexClientDTO ¶
Click to show internal directories.
Click to hide internal directories.