Documentation ¶
Index ¶
- Variables
- func ToSearchName(input string) string
- func ToVreemdeling(record *queries.BvvBackendVreemdeling) *api.Vreemdeling
- type Service
- func (service *Service) CreateSamenvoeging(ctx context.Context, leadingID, expiredID string) error
- func (service *Service) CreateVreemdeling(ctx context.Context, vreemdeling api.VreemdelingWithoutId) (*api.Vreemdeling, error)
- func (service *Service) DeleteVreemdelingByID(ctx context.Context, vreemdelingID api.VreemdelingId) error
- func (service *Service) FindVreemdeling(ctx context.Context, params api.FindVreemdelingParams) ([]api.Vreemdeling, error)
- func (service *Service) GetSamenvoegingen(ctx context.Context, vreemdelingID api.VreemdelingId) ([]api.VreemdelingId, error)
- func (service *Service) ReadVreemdelingByID(ctx context.Context, vreemdelingID api.VreemdelingId) (*api.Vreemdeling, error)
- func (service *Service) UpdateVreemdelingByID(ctx context.Context, vreemdelingID api.VreemdelingId, ...) (*api.Vreemdeling, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func ToSearchName ¶
func ToVreemdeling ¶
func ToVreemdeling(record *queries.BvvBackendVreemdeling) *api.Vreemdeling
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateSamenvoeging ¶
func (*Service) CreateVreemdeling ¶
func (service *Service) CreateVreemdeling(ctx context.Context, vreemdeling api.VreemdelingWithoutId) (*api.Vreemdeling, error)
func (*Service) DeleteVreemdelingByID ¶
func (*Service) FindVreemdeling ¶
func (service *Service) FindVreemdeling(ctx context.Context, params api.FindVreemdelingParams) ([]api.Vreemdeling, error)
func (*Service) GetSamenvoegingen ¶
func (service *Service) GetSamenvoegingen(ctx context.Context, vreemdelingID api.VreemdelingId) ([]api.VreemdelingId, error)
func (*Service) ReadVreemdelingByID ¶
func (service *Service) ReadVreemdelingByID(ctx context.Context, vreemdelingID api.VreemdelingId) (*api.Vreemdeling, error)
func (*Service) UpdateVreemdelingByID ¶
func (service *Service) UpdateVreemdelingByID(ctx context.Context, vreemdelingID api.VreemdelingId, vreemdeling api.Vreemdeling) (*api.Vreemdeling, error)
Click to show internal directories.
Click to hide internal directories.