Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToGoogleCloudAPI ¶
func ConnectToGoogleCloudAPI() bool
ConnectToGoogleCloudAPI connects...
func HandleSlackMessageEvent ¶
func HandleSlackMessageEvent(ev slack.MessageEvent, rtm slack.RTM, slackAPI slack.Client, server *SlackServer)
HandleSlackMessageEvent is the entry point to messageEvent for message handling. From here, messages are evaluated as commands or a message of the type we can respond to
func SlackServerManager ¶
func SlackServerManager(slackAPI *slack.Client, server SlackServer, myID string, myTeamID string)
SlackServerManager is the entry point to the cslack lib
Types ¶
type SlackServer ¶
type SlackServer struct { Name string `json:"Name"` APIKey string `json:"APIKey"` CluebatBotChan string `json:"CluebatBotChan"` OwnerID string `json:"OwnerID"` LatencyCounter int LatencySlice []int64 Channels map[string]slack.Channel Users map[string]slack.User }
SlackServer a server config
Click to show internal directories.
Click to hide internal directories.