Documentation ¶
Index ¶
- func Add(userName, phoneNumber, subID, category string, db *gorm.DB) (reply, frequency string, ok bool)
- func Help() string
- func Info(name string, db *gorm.DB) string
- func ListJobs() string
- func ListSubscriptions(db *gorm.DB) string
- func ListUsers(db *gorm.DB) string
- func Start(name string, db *gorm.DB) string
- func Stop(name string, db *gorm.DB) string
- func Update(userName, subID string, db *gorm.DB) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(userName, phoneNumber, subID, category string, db *gorm.DB) (reply, frequency string, ok bool)
Add will add a new user
func ListSubscriptions ¶
ListSubscriptions displays the name and ID of each available subscription type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.