Documentation ¶
Index ¶
- func BaseSlackAttachment() *model.SlackAttachment
- func Decrypt(key []byte, text string) (string, error)
- func Encrypt(key []byte, text string) (string, error)
- func GetCircleciClient(authToken string) *circleci2.APIClient
- func GetKeyHash(key string) string
- func KVCompareAndSet(key string, oldData, newData []byte, ...) error
- func Min(a, b int) int
- func SendEphemeralCommandResponse(message string) (*model.CommandResponse, *model.AppError)
- func SplitArgs(s string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseSlackAttachment ¶
func BaseSlackAttachment() *model.SlackAttachment
func GetCircleciClient ¶
func GetKeyHash ¶
GetKeyHash can be used to create a hash from a string
func KVCompareAndSet ¶
func SendEphemeralCommandResponse ¶
func SendEphemeralCommandResponse(message string) (*model.CommandResponse, *model.AppError)
SendEphemeralCommandResponse can be used to return an ephemeral message as the response for a slash command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.