Documentation
¶
Index ¶
- type Service
- func (s *Service) Create(w http.ResponseWriter, r *http.Request)
- func (s *Service) Delete(w http.ResponseWriter, r *http.Request)
- func (s *Service) FullUpdate(w http.ResponseWriter, r *http.Request)
- func (s *Service) Get(w http.ResponseWriter, r *http.Request)
- func (s *Service) List(w http.ResponseWriter, _ *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the Authors Service Layer
func NewService ¶
NewService creates a new authors service
func (*Service) Create ¶
func (s *Service) Create(w http.ResponseWriter, r *http.Request)
Create creates a new author
func (*Service) Delete ¶
func (s *Service) Delete(w http.ResponseWriter, r *http.Request)
Delete deletes an author by id
func (*Service) FullUpdate ¶
func (s *Service) FullUpdate(w http.ResponseWriter, r *http.Request)
FullUpdate updates an author by id
Click to show internal directories.
Click to hide internal directories.