service

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	office_hoursv1connect.UnimplementedOfficeHourServiceHandler
	// contains filtered or unexported fields
}

func New

func New(providers *config.Providers) *Service

func (*Service) DeleteOfficeHour

func (svc *Service) DeleteOfficeHour(ctx context.Context, req *connect.Request[v1.DeleteOfficeHourRequest]) (*connect.Response[emptypb.Empty], error)

func (*Service) IsOpen

func (svc *Service) IsOpen(ctx context.Context, req *connect.Request[v1.IsOpenRequest]) (*connect.Response[v1.IsOpenResponse], error)

func (*Service) ListHours

func (svc *Service) ListHours(ctx context.Context, req *connect.Request[v1.ListHoursRequest]) (*connect.Response[v1.ListHoursResponse], error)

func (*Service) OfficeHourRanges

func (svc *Service) OfficeHourRanges(ctx context.Context, req *connect.Request[v1.OfficeHourRangesRequest]) (*connect.Response[v1.OfficeHourRangesResponse], error)

func (*Service) UpsertOfficeHour

func (svc *Service) UpsertOfficeHour(ctx context.Context, req *connect.Request[v1.OfficeHour]) (*connect.Response[v1.OfficeHour], error)

Jump to

Keyboard shortcuts

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