Documentation
¶
Index ¶
- func New(configuration librepo.Configuration, customConfig config.CustomConfiguration, ...) controller.OwnerController
- type Impl
- func (c *Impl) CreateOwner(w http.ResponseWriter, r *http.Request)
- func (c *Impl) DeleteOwner(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetOwners(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetSingleOwner(w http.ResponseWriter, r *http.Request)
- func (c *Impl) IsOwnerController() bool
- func (c *Impl) PatchOwner(w http.ResponseWriter, r *http.Request)
- func (c *Impl) UpdateOwner(w http.ResponseWriter, r *http.Request)
- func (c *Impl) WireUp(_ context.Context, router chi.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( configuration librepo.Configuration, customConfig config.CustomConfiguration, logging librepo.Logging, timestamp librepo.Timestamp, owners service.Owners, ) controller.OwnerController
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Timestamp librepo.Timestamp Owners service.Owners }
func (*Impl) CreateOwner ¶
func (c *Impl) CreateOwner(w http.ResponseWriter, r *http.Request)
func (*Impl) DeleteOwner ¶
func (c *Impl) DeleteOwner(w http.ResponseWriter, r *http.Request)
func (*Impl) GetSingleOwner ¶
func (c *Impl) GetSingleOwner(w http.ResponseWriter, r *http.Request)
func (*Impl) IsOwnerController ¶
func (*Impl) PatchOwner ¶
func (c *Impl) PatchOwner(w http.ResponseWriter, r *http.Request)
func (*Impl) UpdateOwner ¶
func (c *Impl) UpdateOwner(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.