Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(cfg config.Server, logger *log.Logger, slackClient *client.Slack, allowedUsers map[string]string) *Server
NewServer is used to receive slack interactions
func (*Server) StartServer ¶
func (s *Server) StartServer()
StartServer to receive slack interactions or events via event-api https://api.slack.com/messaging/interactivity https://api.slack.com/events-api
Click to show internal directories.
Click to hide internal directories.