Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorCategoryParameter = ErrorCategory("PARAMETER_ERROR") ErrorCategoryResource = ErrorCategory("RESOURCE_ERROR") ErrorCategoryInternal = ErrorCategory("INTERNAL_ERROR") ErrorCategoryExternal = ErrorCategory("EXTERNAL_ERROR") ErrorCategoryUnknown = ErrorCategory("UNKNOWN_ERROR") )
Variables ¶
This section is empty.
Functions ¶
func CreateLineChannel ¶
func CreateLineChannel(app *app.Application) gin.HandlerFunc
func ReceiveWebhookFromLine ¶
func ReceiveWebhookFromLine(app *app.Application) gin.HandlerFunc
func RegisterHandlers ¶
func RegisterHandlers(router *gin.Engine, app *app.Application)
func RenderSlidePage ¶
func RenderSlidePage(app *app.Application) gin.HandlerFunc
Types ¶
type ErrorCategory ¶
type ErrorCategory string
type ErrorMessage ¶
type ErrorMessage struct { Category ErrorCategory `json:"category"` Message string `json:"message"` }
Click to show internal directories.
Click to hide internal directories.