endpoint

package
v0.0.0-...-bfb259f Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCheckAvailabilityEndpoint

func MakeCheckAvailabilityEndpoint(svc service.Service) kitendpoint.Endpoint

Types

type CheckAvailabilityRequest

type CheckAvailabilityRequest struct {
	Capacity int64
	Start    time.Time
	End      time.Time
}

type CheckAvailabilityResponse

type CheckAvailabilityResponse struct {
	Rooms []*roomtypes.Room
}

type Endpoints

type Endpoints struct {
	CheckAvailabilityEndpoint kitendpoint.Endpoint
}

func New

func New(svc service.Service) Endpoints

Jump to

Keyboard shortcuts

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