client

package
v0.0.0-...-9b264be Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccommodationClient

type AccommodationClient struct {
	// contains filtered or unexported fields
}

func InitAccommodationClient

func InitAccommodationClient(url string) *AccommodationClient

func (*AccommodationClient) DeleteAccommodationsByHost

func (c *AccommodationClient) DeleteAccommodationsByHost(ctx context.Context, hostId int64) error

type ReservationClient

type ReservationClient struct {
	// contains filtered or unexported fields
}

func InitReservationClient

func InitReservationClient(url string) *ReservationClient

func (*ReservationClient) IsEmptyGuestActiveReservations

func (c *ReservationClient) IsEmptyGuestActiveReservations(
	ctx context.Context,
	id int64,
) (bool, error)

Jump to

Keyboard shortcuts

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