Documentation
¶
Index ¶
- type Controller
- type Sender
- type Service
- func (s *Service) Create(w http.ResponseWriter, req *http.Request)
- func (s *Service) Delete(w http.ResponseWriter, req *http.Request)
- func (s *Service) Get(w http.ResponseWriter, req *http.Request)
- func (s *Service) List(w http.ResponseWriter, req *http.Request)
- func (s *Service) Update(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Create(ctx context.Context, object model.PickPoint) (uint64, error) GetByID(ctx context.Context, id uint64) (model.PickPoint, error) List(ctx context.Context) ([]model.PickPoint, error) Update(ctx context.Context, object model.PickPoint) (uint64, error) Delete(ctx context.Context, id uint64) error }
type Sender ¶
type Sender interface {
SendMessage(message broker_io.RequestMessage)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.