Documentation
¶
Index ¶
- Variables
- type Filter
- type Prospect
- type Repository
- type Service
- func (s *Service) Create(ctx context.Context, prospect Prospect) (Prospect, error)
- func (s *Service) Delete(ctx context.Context, prospectId string) error
- func (s *Service) Get(ctx context.Context, prospectId string) (Prospect, error)
- func (s *Service) List(ctx context.Context, filters Filter) ([]Prospect, error)
- func (s *Service) Update(ctx context.Context, prospect Prospect) (Prospect, error)
- type Status
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Create(ctx context.Context, prospect Prospect) (Prospect, error) Get(ctx context.Context, id string) (Prospect, error) List(ctx context.Context, filter Filter) ([]Prospect, error) Update(ctx context.Context, prospect Prospect) (Prospect, error) Delete(ctx context.Context, id string) error }
Click to show internal directories.
Click to hide internal directories.