contact

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

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

Go to latest
Published: Dec 10, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewUser

func AddNewUser(number string)

func IsNewContact

func IsNewContact(c Contact) bool

func SendSMSToContact

func SendSMSToContact(message string, contact Contact)

func SetupNewUser

func SetupNewUser(c Contact)

Types

type Contact

type Contact struct {
	Phone   string
	Dir     string
	Station string
	Line    string
}

func FetchContact

func FetchContact(ph string) Contact

func (Contact) CheckForEmptyFields

func (c Contact) CheckForEmptyFields()

func (Contact) DeleteContact

func (c Contact) DeleteContact()

func (Contact) ProvideConfig

func (c Contact) ProvideConfig()

func (Contact) Save

func (c Contact) Save()

func (Contact) SendHelp

func (c Contact) SendHelp()

func (Contact) SendStations

func (c Contact) SendStations()

func (Contact) UpdateDir

func (c Contact) UpdateDir(d string)

func (Contact) UpdateLine

func (c Contact) UpdateLine(l string)

func (Contact) UpdateStation

func (c Contact) UpdateStation(s string)

Jump to

Keyboard shortcuts

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