Documentation ¶
Index ¶
Constants ¶
View Source
const ( EMAIL_CHAR_SET = "UTF-8" WHITELIST_IP_SLASH_COMMAND = "/whitelist_ip" STAGING_WHITELIST_IP_SLASH_COMMAND = "/staging_whitelist_ip" DEFAULT_EXPIRATION_DURATION = time.Hour * 24 DURATION_DOC = "FoxsecBot uses Go's time.ParseDuration internally " + "with some custom checks. Examples: '72h' or '2h45m'. " + "Valid time units are 'm' and 'h'. If you omit a duration, " + "the default (24 hours) is used. If your duration is under 5 minutes, it is increased to 5 minutes." )
Variables ¶
Functions ¶
func FoxsecSlackBot ¶
func FoxsecSlackBot(w http.ResponseWriter, r *http.Request)
func InitConfig ¶
func InitConfig()
func InteractionCallbackParse ¶
func InteractionCallbackParse(reqBody []byte) (*slack.InteractionCallback, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.