domain

package
v0.0.0-...-6c4e51f Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MemberSetupInProgress = "IN PROGRESS"
	MemberSetupComplete   = "COMPLETE"
	MemberSignUpStepOne   = 1
	MemberSignUpStepTwo   = 2
	MemberSignUpStepThree = 3
	MemberSignUpStepFinal = 99
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockedPhones

type BlockedPhones struct {
	Phones []string
}

func (*BlockedPhones) AddPhone

func (b *BlockedPhones) AddPhone(phone string)

func (*BlockedPhones) RemovePhone

func (b *BlockedPhones) RemovePhone(phone string)

type IntercessorPhones

type IntercessorPhones struct {
	Phones []string
}

func (*IntercessorPhones) AddPhone

func (i *IntercessorPhones) AddPhone(phone string)

func (*IntercessorPhones) GenRandPhones

func (i *IntercessorPhones) GenRandPhones(intercessorsPerPrayer int) []string

func (*IntercessorPhones) RemovePhone

func (i *IntercessorPhones) RemovePhone(phone string)

type Member

type Member struct {
	Administrator     bool
	Intercessor       bool
	Name              string
	Phone             string
	PrayerCount       int
	SetupStage        int
	SetupStatus       string
	WeeklyPrayerDate  string
	WeeklyPrayerLimit int
}

type Prayer

type Prayer struct {
	Intercessor       Member
	IntercessorPhone  string
	QueueID           string
	ReminderCount     int
	ReminderDate      string
	Request           string
	RequestorNotified bool
	Requestor         Member
}

type TextMessage

type TextMessage struct {
	Body  string `json:"messageBody"`
	Phone string `json:"originationNumber"`
}

Jump to

Keyboard shortcuts

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