clients

package
v0.0.0-...-b91ad03 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookingClient

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

func NewBookingClient

func NewBookingClient(u string) (*BookingClient, error)

func (BookingClient) BookTimeSlot

func (w BookingClient) BookTimeSlot(timeSlot models.TimeSlot, dryRun bool) (bool, error)

func (BookingClient) GetCourseAvailability

func (w BookingClient) GetCourseAvailability(dateStr string) ([]models.TimeSlot, error)

func (BookingClient) Login

func (w BookingClient) Login(username string, password string) (bool, error)

type TwilioClient

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

func NewTwilioClient

func NewTwilioClient() *TwilioClient

func (TwilioClient) SendSms

func (t TwilioClient) SendSms(from string, to string, body string, dryRun bool) (*twilioApi.ApiV2010Message, error)

Jump to

Keyboard shortcuts

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