Skip to content
This repository has been archived by the owner. It is now read-only.
Slack Slash Commands as a Service
Go Nginx
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugins
server-files
sscaas
.gitignore
README.md
main.go

README.md

Slack Slash Commands as a Service

Website: https://sscaas.eu/

## Example package

package example

import (
    "github.com/danielsamuels/sscaas/sscaas"
)

type Plugin struct {
    Writer http.ResponseWriter
    Request *http.Request
}

func (p Plugin) Run(http.ResponseWriter, *http.Request) (*sscaas.PluginResponse, error) {
    return &sscaas.PluginResponse{
        Username: "Example",
        Emoji: ":smile:",
        Text: "Hello world.",
    }, nil
}
You can’t perform that action at this time.