Documentation ¶
Index ¶
- func CreateActionToTmplate(c *gin.Context)
- func CreateTemplate(c *gin.Context)
- func DeleteTemplate(c *gin.Context)
- func GetATemplate(c *gin.Context)
- func GetActionByID(c *gin.Context)
- func GetTemplates(c *gin.Context)
- func GetTemplatesSimple(c *gin.Context)
- func Routes(r *gin.Engine)
- func UpdateActionToTmplate(c *gin.Context)
- func UpdateTemplate(c *gin.Context)
- type APICreateActionToTmplateInput
- type APICreateTemplateInput
- type APIGetTemplatesOutput
- type APIUpdateActionToTmplateInput
- type APIUpdateTemplateInput
- type CTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateActionToTmplate ¶
func CreateTemplate ¶
func DeleteTemplate ¶
func GetATemplate ¶
func GetActionByID ¶
func GetTemplates ¶
func GetTemplatesSimple ¶
func UpdateActionToTmplate ¶
func UpdateTemplate ¶
Types ¶
type APICreateActionToTmplateInput ¶
type APICreateActionToTmplateInput struct { UIC string `json:"uic" binding:"exists"` URL string `json:"url" binding:"exists"` Callback int `json:"callback" binding:"exists"` BeforeCallbackSMS int `json:"before_callback_sms" binding:"exists"` AfterCallbackSMS int `json:"after_callback_sms" binding:"exists"` BeforeCallbackMail int `json:"before_callback_mail" binding:"exists"` AfterCallbackMail int `json:"after_callback_mail" binding:"exists"` TplId int64 `json:"tpl_id" binding:"required"` }
type APICreateTemplateInput ¶
type APIGetTemplatesOutput ¶
type APIGetTemplatesOutput struct {
Templates []CTemplate `json:"templates"`
}
type APIUpdateActionToTmplateInput ¶
type APIUpdateActionToTmplateInput struct { ID int64 `json:"id" binding:"required"` UIC string `json:"uic" binding:"exists"` URL string `json:"url" binding:"exists"` Callback int `json:"callback" binding:"exists"` BeforeCallbackSMS int `json:"before_callback_sms" binding:"exists"` AfterCallbackSMS int `json:"after_callback_sms" binding:"exists"` BeforeCallbackMail int `json:"before_callback_mail" binding:"exists"` AfterCallbackMail int `json:"after_callback_mail" binding:"exists"` }
type APIUpdateTemplateInput ¶
Click to show internal directories.
Click to hide internal directories.