worktime

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 19 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) DeleteWorkTime

func (svc *Service) DeleteWorkTime(ctx context.Context, req *connect.Request[rosterv1.DeleteWorkTimeRequest]) (*connect.Response[rosterv1.DeleteWorkTimeResponse], error)

func (*Service) GetVacationCreditsLeft

func (svc *Service) GetVacationCreditsLeft(ctx context.Context, req *connect.Request[rosterv1.GetVacationCreditsLeftRequest]) (*connect.Response[rosterv1.GetVacationCreditsLeftResponse], error)

func (*Service) GetWorkTime

func (svc *Service) GetWorkTime(ctx context.Context, req *connect.Request[rosterv1.GetWorkTimeRequest]) (*connect.Response[rosterv1.GetWorkTimeResponse], error)

func (*Service) SetWorkTime

func (svc *Service) SetWorkTime(ctx context.Context, req *connect.Request[rosterv1.SetWorkTimeRequest]) (*connect.Response[rosterv1.SetWorkTimeResponse], error)

func (*Service) UpdateWorkTime

func (svc *Service) UpdateWorkTime(ctx context.Context, req *connect.Request[rosterv1.UpdateWorkTimeRequest]) (*connect.Response[rosterv1.UpdateWorkTimeResponse], error)

Jump to

Keyboard shortcuts

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