workshift

package
v1.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

func New

func New(p *config.Providers) *Service

func (*Service) CreateWorkShift

func (svc *Service) CreateWorkShift(ctx context.Context, req *connect.Request[rosterv1.CreateWorkShiftRequest]) (*connect.Response[rosterv1.CreateWorkShiftResponse], error)

func (*Service) DeleteWorkShift

func (svc *Service) DeleteWorkShift(ctx context.Context, req *connect.Request[rosterv1.DeleteWorkShiftRequest]) (*connect.Response[rosterv1.DeleteWorkShiftResponse], error)

func (*Service) ListWorkShifts

func (svc *Service) ListWorkShifts(ctx context.Context, req *connect.Request[rosterv1.ListWorkShiftsRequest]) (*connect.Response[rosterv1.ListWorkShiftsResponse], error)

func (*Service) UpdateWorkShift

func (svc *Service) UpdateWorkShift(ctx context.Context, req *connect.Request[rosterv1.UpdateWorkShiftRequest]) (*connect.Response[rosterv1.UpdateWorkShiftResponse], error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL