Documentation ¶
Index ¶
- func CreateResponse(statusCode int) events.LambdaFunctionURLResponse
- func GetDynamodbData[T any](ctx context.Context, cfg aws.Config, tableName string) ([]T, error)
- func IsHoliday(t time.Time) bool
- func ParseBody(r events.LambdaFunctionURLRequest) (s slack.SlashCommand, err error)
- func SendMessage(url string, message slack.Message) error
- func ShouldRun(currentTime time.Time, targetTime string, timezone string) bool
- func VerifySecret(r events.LambdaFunctionURLRequest, secret string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResponse ¶
func CreateResponse(statusCode int) events.LambdaFunctionURLResponse
func GetDynamodbData ¶ added in v1.5.0
func ParseBody ¶
func ParseBody(r events.LambdaFunctionURLRequest) (s slack.SlashCommand, err error)
func VerifySecret ¶
func VerifySecret(r events.LambdaFunctionURLRequest, secret string) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.